Skip to content

2019 02 26_meeting

Michael Wetter edited this page Feb 27, 2019 · 6 revisions

SOEP Coordination meeting

Date: February 27, 2019, 8:15am-9am Pacific Times

The purpose of this meeting is to coordinate the Modelica integration for SOEP.

Meeting information

Join from PC, Mac, Linux, iOS or Android: https://lbnl.zoom.us/my/mwetter

Or iPhone one-tap (US Toll): +14086380968,6614042296# or +16465588656,6614042296#

Or Telephone:
Dial: +1 408 638 0968 (US Toll) or +1 646 558 8656 (US Toll) Meeting ID: 661 404 2296 International numbers available: https://lbnl.zoom.us/zoomconference?m=_h5BuJ686mPy3rWEyKf4NROxLaeOV5J8

Agenda

  1. Previous action items.
  2. Kyle, Michael: Refactoring room air heat and mass balance.
  3. Michael: Specification for FMI-QSS.
  4. Stuart: FMI-QSS.
  5. Antoine: CI testing (funnel)
  6. Michael: CI testing with JModelica
  7. Kyle, Michael: Optimica license protection.
  8. Michael: JSON representation for OS front-end to Modelica
  9. Other items

Participants

Kyle Benne
Yanfei Li
Jianjun Hu
Bo Shen
Stuart Mentzer
Michael Wetter

Minutes

Refactoring room air balance

See https://github.com/lbl-srg/modelica-buildings/issues/1129#issuecomment-393285857 for open tasks.

Fixed temporary directory.

Valgrind output.

Problem with dassl in Dymola

simulateModel("Buildings.Experimental.EnergyPlus.Validation.OneZone", stopTime=86400, method="dassl", tolerance=1e-06, resultFile="OneZone");
   = false
simulateModel("Buildings.Experimental.EnergyPlus.Validation.OneZone", stopTime=86400, method="Lsodar", tolerance=1e-06, resultFile="OneZone");
   = false
simulateModel("Buildings.Experimental.EnergyPlus.Validation.OneZone", stopTime=86400, method="radau", tolerance=1e-06, resultFile="OneZone");
   = true

Compiled with

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-27ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04)

Both seem to run to the end (dslog.txt and .mat file look OK).

Need to see how to link to ModelicaMessage, and if needed contact [email protected] Maybe create static vs dynamic library for interface, or simply provide uncompiled C code. Compile times:

[ 14%] Building C object CMakeFiles/ModelicaBuildingsEnergyPlus.dir/Buildings/Resources/src/EnergyPlus/FMUEnergyPlusStructure.c.o
Elapsed time: 0 s. (time), 0.000659 s. (clock)
[ 28%] Building C object CMakeFiles/ModelicaBuildingsEnergyPlus.dir/Buildings/Resources/src/EnergyPlus/FMUZoneExchange.c.o
Elapsed time: 0 s. (time), 0.000758 s. (clock)
[ 42%] Building C object CMakeFiles/ModelicaBuildingsEnergyPlus.dir/Buildings/Resources/src/EnergyPlus/FMUZoneFree.c.o
Elapsed time: 0 s. (time), 0.00063 s. (clock)
[ 57%] Building C object CMakeFiles/ModelicaBuildingsEnergyPlus.dir/Buildings/Resources/src/EnergyPlus/FMUZoneInit.c.o
Elapsed time: 1 s. (time), 0.000585 s. (clock)
[ 71%] Building C object CMakeFiles/ModelicaBuildingsEnergyPlus.dir/Buildings/Resources/src/EnergyPlus/FMUZoneInstantiate.c.o
Elapsed time: 0 s. (time), 0.000628 s. (clock)
[ 85%] Building C object CMakeFiles/ModelicaBuildingsEnergyPlus.dir/Buildings/Resources/src/EnergyPlus/EnergyPlusModelicaUtilities.c.o
Elapsed time: 0 s. (time), 0.000616 s. (clock)

Next, work on

  • moving C from dll to code that is compiled (hence we can use ModelicaMessage and ModelicaError without problem, and avoid loading directly a dll from Modelica which we have not yet done in other models as they all use C as an interface to a dll),
  • inspect and decide whether to fix the 30 occurances of "Conditional jump or move depends on uninitialised value(s)" in libepfmi-9.0.1.so, and
  • have a permanent link to download the built binaries (once the other bug is fixed).

EnergyPlus I/O variables

Michael to merge https://github.com/lbl-srg/soep/issues/43 when approve problem is solved.

FMI-QSS

Subcontract is finalized.

Next is Objexx and Modelon to implement new specification from https://lbl-srg.github.io/soep/softwareArchitecture.html#jmodelica-integration

CI testing (funnel)

Antoine now working on integration in BuildingsPy.

Optimica license protection

Kyle to set up calls with Modelon.

Potential paths: Check diff to frozen library. Allow n models to be changed. Upgrade path to full OCT version (with access to cloud version in an integrated way).

JSON representation for OS front-end to Modelica

Jianjun to work on modelica-json parsing in Modelica rather than CDL mode.

Other items

None.

New action items

None.

Previous action items

Michael to move C code on the Modelica side from dll back to C that is compiled with the Modelica model to see if this solves the problem.

Jianjun to work on JSON representation for Modelica HVAC that could become the basis for a schema-driven editor.

Michael/Hubertus to finalize subcontracts.

Clone this wiki locally