Error Opening OSM file [closed]
I have edidted an .osm with notepad, in order to quickly change the lines:
No, !- Account for Dedicated Outdoor Air System
NeutralSupplyAir, !- Dedicated Outdoor Air System Control Strategy
into
Yes, !- Account for Dedicated Outdoor Air System
ColdSupplyAir, !- Dedicated Outdoor Air System Control Strategy
for all the thermal zones. The problem is that, when I try to open the file with OS, it fails and prompt this error message:
**Model with Version 1.11.0 IDD is not valid to draft strictness level.
The collection is INVALID at strictness level 'Draft', because of the errors:
Object level data error of type NoIdd .
Error pertains to an object of type 'Catchall', named ''.
Additional information about the error type: input data definition is missing or empty.
Field level data error of type DataType .
Error is in an object of type 'OS:ConvergenceLimits', 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:HeatBalanceAlgorithm', 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:RunPeriod', named '{17c33f47-c9b9-463a-84bc-12596f349148}', in field 2.
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: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:SimulationControl', 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:SurfaceConvectionAlgorithm:Inside', 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:SurfaceConvectionAlgorithm:Outside', 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:Timestep', 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:YearDescription', 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:ZoneAirContaminantBalance', 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:ZoneAirHeatBalanceAlgorithm', 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 ...
can you post a link to the .osm file somewhere? My initial guess is that you changed a , into a ; on accident, or missed a !- for comments.
You could try changing it back in text editor and seeing if you still get the error. If you do, you probably messed up a , or ; or !- somewhere.
what @mdahlhausen said. also have you done a file diff between the old and new files?
Unfortunately I have not a diff file between the two. As soon as I get back to office I will post the osm file, in the mean while is there any script and or trick to check if all the punctuation and comments are correctly written? Because I have made a quick check by hand but I was not able to identify if anything went wrong.
Here is the link to the .osm file. I feel so dumb not to have updated the backup copy. If you can fix this issue you will save me like 2 days of work!
Since I cannot find what is wrong with the osm file I have decided to carry on a little test. I have taken a working idf file, exported into OS and created a .osm working file. At this point I have copied the .osm just created and then, using notepad, I edited one of the two .osm grabbing 10 lines of the first .osm and pasting them into the second, without making any change. Result: the modified .osm stopped and the same error as before popped up. Update: also simply adding and removing a space from a working file will result into an opening failure of the file itself.