OpenStudio 1.0.0 - File Version Update Unhandled Exception

asked 2020-05-14 14:36:44 -0600

Patrick's avatar

updated 2020-05-16 09:40:03 -0600

I just updated to OpenStudio 1.0.0 and when I try to open an existing .osm file which was saved in 1.0.0-pre, I receive this Unhandled Exception message.

"C:\Users\jenkins\git\OpenStudio\src\osversion\VersionTranslator.cpp@612: Unable to retrieve OpenStudio Version 3.0.0-rc1 IDD from the IddFactory.

edit retag flag offensive close merge delete


@Patrick can you try this for me. Make a new model in the OpenStudio Application and save. Now make a copy of. your 1.0.0-pre OSM and open it with a text editor. Copy in the version object from the freshly made OSM into this file, then save and close it. Now Open that modified copy through the OpenStudio Application. Let me know if you still get that same error. If you do then send me the pre-modified file to and we can take a look at it.

David Goldwasser's avatar David Goldwasser  ( 2020-05-14 16:41:30 -0600 )edit

After copying and pasting the OS Version object from a new file it still did not open, but I got a different error:

Model with Version 3.0.0 IDD is not valid to draft strictness level.

The collection is INVALID at strictness level 'Draft', because of the errors: Field level data error of type DataType . Error is in an object of type 'OS:ShadowCalculation', named '', in field 1. Additional information about the error type: field-level data is of an incorrect type. Field level data error of type DataType . Error is in an object of type 'OS:ClimateZones', named '', i

Patrick's avatar Patrick  ( 2020-05-14 16:57:53 -0600 )edit

@Patrick, try to remove the OS:ShadowCalculation object with a text editor and try again. You may have to repeat this a few times with different objects.

David Goldwasser's avatar David Goldwasser  ( 2020-05-15 11:38:53 -0600 )edit

I discovered that I currently have EnergyPlus 8.9 running. It looks like it did not update to 9.3 when I installed OpenStudioApplication 1.0.0. I am going to manually update to E+ 9.3 and see if that resolves my issue.

Patrick's avatar Patrick  ( 2020-05-18 17:34:34 -0600 )edit

The OpenStudio CLI, which is included with the OpenStudio Application includes EnergyPlus 9.3. It should be fine to have other versions of EnergyPlus on your computer. I'd be interested to have you make a new model with the final 1.0.0 application release, and then close and re-open that. I think it will be fine. I think the issue is that you have a model from a pre-release and there may have been model object changes that prevent it from opening in the final release.

David Goldwasser's avatar David Goldwasser  ( 2020-05-19 10:19:16 -0600 )edit