Calibration Measure in OpenStudio fail to run simulation with exit code 1

asked 2024-09-06 15:38:23 -0500

Chloe's avatar

updated 2024-09-09 10:02:51 -0500

Hello, I ran a different model and did not get the same issue. I also deleted the BCL folder on my computer and redownloaded the measures.. the simulation still failed. Any guidance is greatly appreciated.

SWIG director method error. Errno::ENOENT: No such file or directory @ rb_sysopen - C:/Users/NAME/AppData/Local/Temp/osmodel-cd9a-62e5-a692-df16-1725653291-0/resources/measures/CalibrationReports/report.html.in

Found error in state 'ReportingMeasures' with message: 'Runner error: Measure 'C:/Users/NAME/AppData/Local/Temp/osmodel-cd9a-62e5-a692-df16-1725653291-0/resources/measures/CalibrationReports/measure.rb' reported an error with [SWIG director method error. Errno::ENOENT: No such file or directory @ rb_sysopen - C:/Users/NAME/AppData/Local/Temp/osmodel-cd9a-62e5-a692-df16-1725653291-0/resources/measures/CalibrationReports/report.html.in

stderr: Failed to run workflow. Last Error:
stderr: Found error in state 'ReportingMeasures' with message: 'Runner error: Measure 'C:/Users/NAME/AppData/Local/Temp/osmodel-cd9a-62e5-a692-df16-1725653291-0/resources/measures/CalibrationReports/measure.rb' reported an error with [SWIG director method error. Errno::ENOENT: No such file or directory @ rb_sysopen - C:/Users/NAME/AppData/Local/Temp/osmodel-cd9a-62e5-a692-df16-1725653291-0/resources/measures/CalibrationReports/report.html.in
stderr: Traceback (most recent call last):
stderr: eval:448:in `initialize'
stderr: eval:448:in `open'
stderr: eval:448:in `open'
stderr: C:/Users/NAME/AppData/Local/Temp/osmodel-cd9a-62e5-a692-df16-1725653291-0/resources/measures/CalibrationReports/measure.rb:476:in `run']'
Simulation failed to run, with exit code 1

Thank you

edit retag flag offensive close merge delete

Comments

The simulation works fine without the calibration measure, however, the OpenStudio App closed abruptly when I try to see my geometry. I don't know if that issue is related or helps in any way.

Chloe's avatar Chloe  ( 2024-09-09 08:34:40 -0500 )edit

If the OpenStudioApplication suddenly crashes right after clicking on the Geometry tab, there's likely an undiagnosed geometry issue that needs fixing. You should check for geometry-related errors/warnings in the run/eplusout.err file (before adding the Calibration Measure). The crash is likely unrelated to the measure itself, but maybe best to first resolve the crash before moving forward.

BTW, it is unfortunately possible to have EnergyPlus not report a geometry issue, while still having the App crash when clicking on the Geometry tab.

Denis Bourgeois's avatar Denis Bourgeois  ( 2024-09-09 13:35:18 -0500 )edit
1

Hi Denis! Thank you so much for responding. It turned out to be issues with my geometry and not the measure itself. Took a while to fix it but I have a running model now!

Chloe's avatar Chloe  ( 2024-09-11 09:55:58 -0500 )edit