2019 02 26_meeting - lbl-srg/soep GitHub Wiki
Date: February 27, 2019, 8:15am-9am Pacific Times
The purpose of this meeting is to coordinate the Modelica integration for SOEP.
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
- Previous action items.
- Kyle, Michael: Refactoring room air heat and mass balance.
- Michael: Specification for FMI-QSS.
- Stuart: FMI-QSS.
- Antoine: CI testing (funnel)
- Michael: CI testing with JModelica
- Kyle, Michael: Optimica license protection.
- Michael: JSON representation for OS front-end to Modelica
- Other items
See https://github.com/lbl-srg/modelica-buildings/issues/1129#issuecomment-393285857 for open tasks.
Fixed temporary directory.
Valgrind output.
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).
Michael to merge https://github.com/lbl-srg/soep/issues/43 when approve problem is solved.
Subcontract is finalized.
Next is Objexx and Modelon to implement new specification from https://lbl-srg.github.io/soep/softwareArchitecture.html#jmodelica-integration
Antoine now working on integration in BuildingsPy.
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).
Jianjun to work on modelica-json parsing in Modelica rather than CDL mode.
None.
None.
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.