NatLabRockies / NatLabRockies/OpenStudio
OpenStudio 3.7.0 model failing in OpenStudio 3.10.0 with E+ error std::bad_alloc
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 646
- Forks
- 237
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 10
Description
Issue overview
A model which works in both OpenStudio 3.7.0 and OpenStudio 3.9.0 fails in OpenStudio 3.10.0. Attached are the following:
output_310.txt (an OSM file generated using openstudio-standards with OpenStudio 3.10.0 in Ubuntu):
output_370.txt (an OSM file generated using opensutdio-standards with OpenStudio 3.7.0 in Ubuntu using the same code and parameters as those used to create ouptput_310.txt):
eplusout.txt (the EnergyPlus eplusout.err file generated when the output_310.osm was run with OpenStudio 3.10.0 in using Windows. The same error happens in Ubuntu and when running the output_370.osm with OpenStudio 3.10.0):
Weather information (link to weather files used in this example):
https://climate.onebuilding.org/WMO_Region_4_North_and_Central_America/CAN_Canada/QC_Quebec/CAN_QC_Montreal-Trudeau.Intl.AP.716270_CWEC2016.zip
Current Behavior
OpenStudio 3.10.0 fails with the attached eplusout.err message when run in either Windows or Ubuntu when attempting to simulate output_310.osm or output_370.osm.
Expected Behavior
Some warnings in the eplusout.err but successful simulation completion.
Steps to Reproduce
- Download either output_370.txt or output_310.txt and change the extension to .osm
- Download the weather files and associate them with the OpenStudio files.
- Run output_370.osm using OpenStudio 3.7.0, OpenStudio 3.9.0, and OpenStudio 3.10.0
- The simulation should complete successfully using OpenStudio 3.7.0 and OpenStudio 3.9.0 but fail with OpenStudio 3.10.04.
- Try output_310.osm with OpenStudio 3.10.0 and you should get the same error.
Possible Solution
Details
Environment
Some additional details about your environment for this issue (if relevant):
- Platform (Operating system, version):
Edition Windows 11 Pro
Version 24H2
OS build 26100.4652
Experience Windows Feature Experience Pack 1000.26100.128.0
and:
Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy
- Version of OpenStudio (if using an intermediate build, include SHA):
OpenStudio 3.10.0
Used:
OpenStudio-3.10.0+86d7e215a1-Windows.exe for Windows installation
OpenStudio-3.10.0+86d7e215a1-Ubuntu-22.04-x86_64.deb for Ubuntu installation
Context
Would like to move to using OpenStudio 3.10.0 in openstudio-standards for NRCan NECB work. However, this issue is preventing that (and use of OpenStudio 3.10.0 in general) as it happens for several models generated using openstudio-standards and OpenStudio 3.10.0.
I am not sure if this is an EnergyPlus issue or an OpenStudio issue. I experienced it using OpenStudio 3.10.0 which is why I am reporting it here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with output_310.txt, output_370.txt, and the attached eplusout.txt, then reproduce the failure with the linked Montreal weather files under OpenStudio 3.7.0, 3.9.0, and 3.10.0 on the listed platforms. Compare the successful and failing runs to determine whether the regression is in OpenStudio or EnergyPlus; done means the model completes successfully under OpenStudio 3.10.0.
Written by the indexing model from the issue text.
Assessment
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100