NatLabRockies / NatLabRockies/OpenStudio

OpenStudio 3.7.0 model failing in OpenStudio 3.10.0 with E+ error std::bad_alloc

Open
#5,456 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Triage
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_310.txt

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):

output_370.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):

eplusout.txt

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

  1. Download either output_370.txt or output_310.txt and change the extension to .osm
  2. Download the weather files and associate them with the OpenStudio files.
  3. Run output_370.osm using OpenStudio 3.7.0, OpenStudio 3.9.0, and OpenStudio 3.10.0
  4. The simulation should complete successfully using OpenStudio 3.7.0 and OpenStudio 3.9.0 but fail with OpenStudio 3.10.04.
  5. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.