Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors") [: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.799/1.799, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001064/0.001065, allocations: 185.2 kB / 487 MB, free: 5.375 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.146/1.146, allocations: 221.3 MB / 0.7819 GB, free: 1.402 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.0008978/0.0008978, allocations: 113.9 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.219e-06/5.249e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2002, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.616/6.816, allocations: 4.438 GB / 5.643 GB, free: 87.12 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/6.816, allocations: 91.92 kB / 5.643 GB, free: 87.04 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.796/9.612, allocations: 0.9889 GB / 6.632 GB, free: 197.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000123/9.613, allocations: 74.83 kB / 6.632 GB, free: 197.2 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.007125/9.62, allocations: 3.328 MB / 6.635 GB, free: 196.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/9.62, allocations: 17.36 kB / 6.635 GB, free: 196.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003331/9.623, allocations: 0.7115 MB / 6.636 GB, free: 196.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003183/9.626, allocations: 2.022 MB / 6.638 GB, free: 196 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.117e-05/9.626, allocations: 90.12 kB / 6.638 GB, free: 196 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000306/9.627, allocations: 160.1 kB / 6.638 GB, free: 196 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005173/9.632, allocations: 4.154 MB / 6.642 GB, free: 196 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003866/9.636, allocations: 2.793 MB / 6.645 GB, free: 195.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.224e-05/9.636, allocations: 10.16 kB / 6.645 GB, free: 195.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002367/9.636, allocations: 3.875 kB / 6.645 GB, free: 195.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.796e-05/9.636, allocations: 123.2 kB / 6.645 GB, free: 195.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01234/9.648, allocations: 11.53 MB / 6.656 GB, free: 191.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004424/9.653, allocations: 4.189 MB / 6.661 GB, free: 191.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00249/9.655, allocations: 2.42 MB / 6.663 GB, free: 191.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007922/9.656, allocations: 0.8582 MB / 6.664 GB, free: 190.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/9.656, allocations: 78.36 kB / 6.664 GB, free: 190.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=399): time 4.678e-06/9.656, allocations: 0 / 6.664 GB, free: 190.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=399): time 0.008252/9.665, allocations: 4.442 MB / 6.668 GB, free: 189.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/9.665, allocations: 94.08 kB / 6.668 GB, free: 189.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/9.666, allocations: 1.034 MB / 6.669 GB, free: 189.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001606/9.666, allocations: 28.64 kB / 6.669 GB, free: 189.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/9.666, allocations: 0.5888 MB / 6.67 GB, free: 189.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007467/9.667, allocations: 1.278 MB / 6.671 GB, free: 188.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/9.667, allocations: 0 / 6.671 GB, free: 188.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001307/9.667, allocations: 442.8 kB / 6.672 GB, free: 188.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001833/9.669, allocations: 1.535 MB / 6.673 GB, free: 188.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/9.671, allocations: 1.803 MB / 6.675 GB, free: 188.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004258/9.675, allocations: 2.248 MB / 6.677 GB, free: 188.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/9.675, allocations: 3.938 kB / 6.677 GB, free: 188.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006771/9.682, allocations: 4.383 MB / 6.681 GB, free: 188 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/9.682, allocations: 6.938 kB / 6.681 GB, free: 188 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/9.682, allocations: 7.641 kB / 6.681 GB, free: 188 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/9.682, allocations: 17.56 kB / 6.681 GB, free: 188 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002633/9.685, allocations: 0.6769 MB / 6.682 GB, free: 188 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.735e-05/9.685, allocations: 28.75 kB / 6.682 GB, free: 188 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002569/9.688, allocations: 326.2 kB / 6.682 GB, free: 187.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002641/9.688, allocations: 113.7 kB / 6.682 GB, free: 187.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * 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.0004528/9.688, allocations: 157.4 kB / 6.683 GB, free: 187.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004175/9.689, allocations: 240 kB / 6.683 GB, free: 187.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008181/9.697, allocations: 4.831 MB / 6.688 GB, free: 187.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/9.697, allocations: 37.69 kB / 6.688 GB, free: 187.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/9.697, allocations: 0 / 6.688 GB, free: 187.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006519/9.703, allocations: 4.178 MB / 6.692 GB, free: 187.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/9.717, allocations: 8.198 MB / 6.7 GB, free: 186.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/9.717, allocations: 0 / 6.7 GB, free: 186.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00283/9.719, allocations: 0.6591 MB / 6.7 GB, free: 186.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004243/9.72, allocations: 140.5 kB / 6.7 GB, free: 186.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002582/9.72, allocations: 33.38 kB / 6.7 GB, free: 186.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003048/9.723, allocations: 4.335 MB / 6.705 GB, free: 182.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/9.723, allocations: 0 / 6.705 GB, free: 182.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009946/9.733, allocations: 7.025 MB / 6.712 GB, free: 182.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/9.735, allocations: 0.7758 MB / 6.712 GB, free: 182.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005866/9.735, allocations: 3.906 kB / 6.712 GB, free: 182.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/9.738, allocations: 144.4 kB / 6.712 GB, free: 182.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000331/9.738, allocations: 197.1 kB / 6.713 GB, free: 182.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000253/9.738, allocations: 111 kB / 6.713 GB, free: 182.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001111/9.739, allocations: 0.8075 MB / 6.714 GB, free: 182 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003745/9.743, allocations: 1.138 MB / 6.715 GB, free: 181.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002828/9.746, allocations: 2.535 MB / 6.717 GB, free: 181.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004559/9.751, allocations: 3.895 MB / 6.721 GB, free: 181.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/9.751, allocations: 6.359 kB / 6.721 GB, free: 181.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002619/9.753, allocations: 2.451 MB / 6.723 GB, free: 180.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003786/9.757, allocations: 0.8605 MB / 6.724 GB, free: 180.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008606/9.766, allocations: 5.777 MB / 6.73 GB, free: 179.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002475/9.768, allocations: 2.298 MB / 6.732 GB, free: 179.1 MB / 1.151 GB Notification: Performance of SimCode: time 4.81e-07/9.768, allocations: 0 / 6.732 GB, free: 179.1 MB / 1.151 GB Notification: Performance of Templates: time 0.08443/9.853, allocations: 63.56 MB / 6.794 GB, free: 178.1 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches