Calibration Measure in OpenStudio fail to run simulation with exit code 1
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
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.
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.
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!