Comprehensive comparison of models for spectral energy distributions from 0.1 μm to 1 mm of nearby star-forming galaxies