Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.787/1.787, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.0008933/0.0008934, allocations: 185.2 kB / 490.8 MB, free: 1.918 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.178/1.178, allocations: 221.3 MB / 0.7863 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008094/0.0008095, allocations: 101.3 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.781e-06/5.801e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1947, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.001/3.196, allocations: 1.931 GB / 3.142 GB, free: 406 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/3.196, allocations: 87.83 kB / 3.142 GB, free: 406 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.529/5.725, allocations: 1.078 GB / 4.221 GB, free: 164.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001485/5.725, allocations: 47.67 kB / 4.221 GB, free: 164.4 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.005518/5.731, allocations: 2.168 MB / 4.223 GB, free: 162.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/5.731, allocations: 8.031 kB / 4.223 GB, free: 162.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003517/5.735, allocations: 0.565 MB / 4.223 GB, free: 161.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002426/5.737, allocations: 1.302 MB / 4.225 GB, free: 160.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/5.737, allocations: 44 kB / 4.225 GB, free: 160.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/5.737, allocations: 82.66 kB / 4.225 GB, free: 160.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00187/5.739, allocations: 1.259 MB / 4.226 GB, free: 158.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/5.741, allocations: 1.469 MB / 4.227 GB, free: 157.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/5.741, allocations: 3.938 kB / 4.227 GB, free: 157.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/5.741, allocations: 7.938 kB / 4.227 GB, free: 157.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.486e-05/5.741, allocations: 62.58 kB / 4.227 GB, free: 157.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006947/5.748, allocations: 7.645 MB / 4.235 GB, free: 149.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/5.75, allocations: 1.029 MB / 4.236 GB, free: 148.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006446/5.75, allocations: 0.6038 MB / 4.236 GB, free: 147.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005831/5.751, allocations: 0.8664 MB / 4.237 GB, free: 146.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007284/5.752, allocations: 0.6318 MB / 4.238 GB, free: 146.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=110): time 2.686e-06/5.752, allocations: 4 kB / 4.238 GB, free: 146.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=110): time 0.002661/5.754, allocations: 1.246 MB / 4.239 GB, free: 144.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/5.754, allocations: 94.09 kB / 4.239 GB, free: 144.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008199/5.755, allocations: 0.8254 MB / 4.24 GB, free: 143.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.478e-05/5.755, allocations: 25.7 kB / 4.24 GB, free: 143.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/5.755, allocations: 496.5 kB / 4.241 GB, free: 143.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/5.756, allocations: 370.5 kB / 4.241 GB, free: 143 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/5.756, allocations: 0 / 4.241 GB, free: 143 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.521e-05/5.756, allocations: 345.9 kB / 4.241 GB, free: 142.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005243/5.756, allocations: 433.2 kB / 4.242 GB, free: 142.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005713/5.757, allocations: 0.5895 MB / 4.242 GB, free: 141.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008375/5.758, allocations: 0.536 MB / 4.243 GB, free: 141.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/5.758, allocations: 4 kB / 4.243 GB, free: 141.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001684/5.759, allocations: 1.235 MB / 4.244 GB, free: 139.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001284/5.76, allocations: 0.9708 MB / 4.245 GB, free: 138.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/5.76, allocations: 0 / 4.245 GB, free: 138.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/5.76, allocations: 8 kB / 4.245 GB, free: 138.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/5.761, allocations: 235.7 kB / 4.245 GB, free: 138.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/5.761, allocations: 11.94 kB / 4.245 GB, free: 138.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/5.762, allocations: 155.1 kB / 4.245 GB, free: 138.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.299e-05/5.762, allocations: 39.98 kB / 4.245 GB, free: 138.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.611e-06/5.762, allocations: 4.938 kB / 4.245 GB, free: 138.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001529/5.764, allocations: 1.076 MB / 4.246 GB, free: 137.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/5.764, allocations: 3.984 kB / 4.246 GB, free: 137.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/5.764, allocations: 8 kB / 4.246 GB, free: 137.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009928/5.765, allocations: 227.6 kB / 4.247 GB, free: 137.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/5.765, allocations: 18.58 kB / 4.247 GB, free: 137.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/5.766, allocations: 143.5 kB / 4.247 GB, free: 136.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.088e-05/5.766, allocations: 39.98 kB / 4.247 GB, free: 136.9 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.0001711/5.766, allocations: 128.7 kB / 4.247 GB, free: 136.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/5.766, allocations: 142.4 kB / 4.247 GB, free: 136.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/5.768, allocations: 1.259 MB / 4.248 GB, free: 135.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/5.768, allocations: 16 kB / 4.248 GB, free: 135.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/5.768, allocations: 0 / 4.248 GB, free: 135.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001355/5.77, allocations: 1.036 MB / 4.249 GB, free: 134.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003817/5.773, allocations: 3.037 MB / 4.252 GB, free: 131.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/5.773, allocations: 8 kB / 4.252 GB, free: 131.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/5.775, allocations: 240 kB / 4.253 GB, free: 130.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/5.775, allocations: 11.98 kB / 4.253 GB, free: 130.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.347e-05/5.775, allocations: 27.92 kB / 4.253 GB, free: 130.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/5.775, allocations: 4 kB / 4.253 GB, free: 130.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/5.775, allocations: 6.953 kB / 4.253 GB, free: 130.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002176/5.777, allocations: 2.046 MB / 4.255 GB, free: 128.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004666/5.777, allocations: 371 kB / 4.255 GB, free: 128.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/5.778, allocations: 4 kB / 4.255 GB, free: 128.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/5.779, allocations: 99.73 kB / 4.255 GB, free: 128.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/5.779, allocations: 64.83 kB / 4.255 GB, free: 128.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.772e-05/5.779, allocations: 39.97 kB / 4.255 GB, free: 128.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005979/5.779, allocations: 0.6344 MB / 4.256 GB, free: 127.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001854/5.781, allocations: 1.021 MB / 4.257 GB, free: 126.5 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.002896/5.784, allocations: 3.087 MB / 4.26 GB, free: 123.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001843/5.786, allocations: 1.702 MB / 4.261 GB, free: 121.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/5.786, allocations: 0 / 4.261 GB, free: 121.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005774/5.787, allocations: 0.5677 MB / 4.262 GB, free: 121.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/5.789, allocations: 0.6712 MB / 4.263 GB, free: 120.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003832/5.793, allocations: 2.782 MB / 4.265 GB, free: 117.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/5.794, allocations: 1.544 MB / 4.267 GB, free: 116.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.6e-07/5.794, allocations: 0 / 4.267 GB, free: 116.2 MB / 1.151 GB Notification: Performance of Templates: time 0.05527/5.849, allocations: 47.26 MB / 4.313 GB, free: 69.3 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches