Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

Unable to use ComStock 2024_R1 measures with OS_SDK 3.7

Hi All,

I have had some success using workflows to create and run .osm files using measures from the ComStock 2023_R2 workflow with OS_SDK 3.6.1.

I recently tried updating to ComStock 2024_R1 and OS_SDK 3.7, and when I run the exact same workflow the simulation fails. Here is a sample of the error message I get in the run.log

[15:23:56.089989 ERROR] [openstudio.measure.OSRunner] SWIG director type mismatch in output value of type 'bool'
[15:23:56.090507 ERROR] [openstudio.workflow.OSWorkflow] Found error in state 'OpenStudioMeasures' with message: 'Runner error: Measure '/... /measures/set_exterior_lighting_template/measure.rb' reported an error with [SWIG director type mismatch in output value of type 'bool']'

I tried downgrading back to OS_SDK 3.6.1 and the workflow works again. It seems odd because the ComStock 2024_R1 release notes say it is compatible with OS_SDK 3.7.

Can anyone offer some advice about how I can try to troubleshoot? I don't know if this is a problem with the ComStock Measures, the OpenStudio-Standards measures (0.4.0 vs 0.5.0), or OS_SDK 3.7.