Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|sha.vol.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|sha.vol.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.791/1.791, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009707/0.0009706, allocations: 185.2 kB / 487 MB, free: 5.371 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.157/1.157, allocations: 221.3 MB / 0.7819 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008412/0.0008412, allocations: 97.81 kB / 0.9213 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.622e-06/6.642e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2108, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.058/3.269, allocations: 1.93 GB / 3.135 GB, free: 396.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/3.27, allocations: 91.83 kB / 3.135 GB, free: 396.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.566/5.836, allocations: 1.078 GB / 4.213 GB, free: 161.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001086/5.836, allocations: 47.94 kB / 4.213 GB, free: 161.8 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004515/5.84, allocations: 2.167 MB / 4.216 GB, free: 159.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/5.84, allocations: 13.03 kB / 4.216 GB, free: 159.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003053/5.843, allocations: 0.5509 MB / 4.216 GB, free: 159.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/5.845, allocations: 1.316 MB / 4.217 GB, free: 157.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/5.845, allocations: 40 kB / 4.217 GB, free: 157.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/5.846, allocations: 84 kB / 4.218 GB, free: 157.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001769/5.847, allocations: 1.255 MB / 4.219 GB, free: 156.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/5.849, allocations: 1.481 MB / 4.22 GB, free: 154.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/5.849, allocations: 0 / 4.22 GB, free: 154.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/5.849, allocations: 4 kB / 4.22 GB, free: 154.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.537e-05/5.85, allocations: 58.58 kB / 4.22 GB, free: 154.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006831/5.856, allocations: 7.646 MB / 4.228 GB, free: 146.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/5.858, allocations: 1.034 MB / 4.229 GB, free: 145.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006576/5.858, allocations: 0.6027 MB / 4.229 GB, free: 145.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005903/5.859, allocations: 0.8616 MB / 4.23 GB, free: 144.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007247/5.86, allocations: 0.6344 MB / 4.231 GB, free: 143.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=110): time 2.484e-06/5.86, allocations: 0 / 4.231 GB, free: 143.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=110): time 0.002607/5.862, allocations: 1.254 MB / 4.232 GB, free: 142.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/5.862, allocations: 94.09 kB / 4.232 GB, free: 142.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007845/5.863, allocations: 0.8226 MB / 4.233 GB, free: 141.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.239e-05/5.863, allocations: 33.06 kB / 4.233 GB, free: 141.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/5.864, allocations: 488.7 kB / 4.233 GB, free: 140.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/5.864, allocations: 370.5 kB / 4.234 GB, free: 140.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/5.864, allocations: 0 / 4.234 GB, free: 140.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.724e-05/5.864, allocations: 349.8 kB / 4.234 GB, free: 140.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005237/5.864, allocations: 429.9 kB / 4.235 GB, free: 139.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005735/5.865, allocations: 0.5854 MB / 4.235 GB, free: 139.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008298/5.866, allocations: 0.5327 MB / 4.236 GB, free: 138.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/5.866, allocations: 96 / 4.236 GB, free: 138.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001676/5.867, allocations: 1.241 MB / 4.237 GB, free: 137.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001324/5.868, allocations: 0.9821 MB / 4.238 GB, free: 136.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/5.868, allocations: 3.5 kB / 4.238 GB, free: 136.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/5.868, allocations: 8 kB / 4.238 GB, free: 136.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/5.869, allocations: 234.5 kB / 4.238 GB, free: 136 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/5.869, allocations: 7.984 kB / 4.238 GB, free: 136 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/5.87, allocations: 155.6 kB / 4.238 GB, free: 135.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.181e-05/5.87, allocations: 39.98 kB / 4.238 GB, free: 135.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-06/5.87, allocations: 4 kB / 4.238 GB, free: 135.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001538/5.872, allocations: 1.079 MB / 4.239 GB, free: 134.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/5.872, allocations: 4 kB / 4.239 GB, free: 134.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.555e-06/5.872, allocations: 11.91 kB / 4.239 GB, free: 134.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009764/5.873, allocations: 228.6 kB / 4.24 GB, free: 134.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/5.873, allocations: 8 kB / 4.24 GB, free: 134.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/5.874, allocations: 141.7 kB / 4.24 GB, free: 134.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.277e-05/5.874, allocations: 43.98 kB / 4.24 GB, free: 134.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000168/5.874, allocations: 124.8 kB / 4.24 GB, free: 134.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/5.874, allocations: 138.3 kB / 4.24 GB, free: 134.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/5.876, allocations: 1.263 MB / 4.241 GB, free: 132.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/5.876, allocations: 12 kB / 4.241 GB, free: 132.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/5.876, allocations: 0 / 4.241 GB, free: 132.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001346/5.878, allocations: 1.036 MB / 4.242 GB, free: 131.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003828/5.881, allocations: 3.037 MB / 4.245 GB, free: 128.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/5.881, allocations: 4 kB / 4.245 GB, free: 128.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/5.883, allocations: 248.6 kB / 4.245 GB, free: 128.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/5.883, allocations: 8 kB / 4.245 GB, free: 128.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.619e-05/5.883, allocations: 15.98 kB / 4.245 GB, free: 128.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/5.883, allocations: 8 kB / 4.245 GB, free: 128.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/5.883, allocations: 12 kB / 4.245 GB, free: 128.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002169/5.885, allocations: 2.038 MB / 4.247 GB, free: 126.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004832/5.885, allocations: 367 kB / 4.248 GB, free: 125.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/5.886, allocations: 12 kB / 4.248 GB, free: 125.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/5.887, allocations: 99.73 kB / 4.248 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/5.887, allocations: 57.48 kB / 4.248 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.034e-05/5.887, allocations: 43.97 kB / 4.248 GB, free: 125.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005842/5.887, allocations: 0.6344 MB / 4.249 GB, free: 125 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001877/5.889, allocations: 1.021 MB / 4.25 GB, free: 124 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00292/5.892, allocations: 3.103 MB / 4.253 GB, free: 121 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001995/5.894, allocations: 1.698 MB / 4.254 GB, free: 119.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/5.894, allocations: 5.109 kB / 4.254 GB, free: 119.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006201/5.895, allocations: 0.5664 MB / 4.255 GB, free: 118.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/5.898, allocations: 0.6531 MB / 4.255 GB, free: 118.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004296/5.902, allocations: 2.784 MB / 4.258 GB, free: 115.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/5.903, allocations: 1.544 MB / 4.26 GB, free: 113.7 MB / 1.151 GB Notification: Performance of SimCode: time 3.8e-07/5.903, allocations: 0 / 4.26 GB, free: 113.7 MB / 1.151 GB Notification: Performance of Templates: time 0.0549/5.958, allocations: 47.26 MB / 4.306 GB, free: 66.71 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches