Maybe try reading the generated EPW file with tools like this and make sure there are no errors?
Also noticed that you’re taking weather data from 1974~1979 - not sure how meaningful the future EPW file will be if you’re working with such outdated file to begin with.