Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [: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 7.0.3-maint.7.0.x/package.mo): time 1.316/1.316, allocations: 249.4 MB / 256.7 MB, free: 15.77 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 183.8 kB / 316 MB, free: 7.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.1 MB / 0.5667 GB, free: 23.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 90.14 kB / 0.671 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 9.498e-06/9.528e-06, allocations: 4 kB / 0.7807 GB, free: 348 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6113/0.6113, allocations: 106.3 MB / 0.8845 GB, free: 76.25 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.984/6.595, allocations: 2.205 GB / 3.09 GB, free: 302.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/6.596, allocations: 91.94 kB / 3.09 GB, free: 302.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 6.35/12.95, allocations: 1.684 GB / 4.774 GB, free: 94.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002874/12.95, allocations: 75.48 kB / 4.774 GB, free: 94.8 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 677 * Number of variables: 677 Notification: Performance of Generate backend data structure: time 0.01642/12.96, allocations: 3.597 MB / 4.777 GB, free: 93.84 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/12.96, allocations: 7.719 kB / 4.777 GB, free: 93.84 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008529/12.97, allocations: 0.9767 MB / 4.778 GB, free: 93.67 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006248/12.98, allocations: 1.96 MB / 4.78 GB, free: 93.33 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/12.98, allocations: 84.09 kB / 4.78 GB, free: 93.33 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007745/12.98, allocations: 159.1 kB / 4.78 GB, free: 93.33 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006408/12.99, allocations: 3.102 MB / 4.783 GB, free: 93.32 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005573/12.99, allocations: 2.969 MB / 4.786 GB, free: 93.01 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.297e-05/12.99, allocations: 11.38 kB / 4.786 GB, free: 93.01 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002755/12.99, allocations: 5.562 kB / 4.786 GB, free: 93.01 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/12.99, allocations: 126.4 kB / 4.786 GB, free: 93 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01937/13.01, allocations: 12.83 MB / 4.799 GB, free: 86.61 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004081/13.01, allocations: 2.689 MB / 4.801 GB, free: 86.55 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002621/13.02, allocations: 1.827 MB / 4.803 GB, free: 86.51 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001362/13.02, allocations: 1.502 MB / 4.805 GB, free: 84.91 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.922e-05/13.02, allocations: 74.08 kB / 4.805 GB, free: 84.87 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=278): time 5.25e-06/13.02, allocations: 0 / 4.805 GB, free: 84.87 MB / 0.9323 GB Notification: Performance of matching and sorting (n=278): time 0.008183/13.03, allocations: 3.164 MB / 4.808 GB, free: 84.64 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/13.03, allocations: 79.03 kB / 4.808 GB, free: 84.58 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/13.03, allocations: 1.036 MB / 4.809 GB, free: 84.43 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002869/13.03, allocations: 29.5 kB / 4.809 GB, free: 84.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004954/13.03, allocations: 0.7177 MB / 4.81 GB, free: 84.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001058/13.03, allocations: 0.9081 MB / 4.811 GB, free: 83.53 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/13.03, allocations: 0 / 4.811 GB, free: 83.53 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001707/13.03, allocations: 405.6 kB / 4.811 GB, free: 83.22 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/13.03, allocations: 1.132 MB / 4.812 GB, free: 83.21 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/13.03, allocations: 1.445 MB / 4.813 GB, free: 82.94 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003378/13.04, allocations: 1.551 MB / 4.815 GB, free: 82.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/13.04, allocations: 1.406 kB / 4.815 GB, free: 82.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.006088/13.04, allocations: 3.203 MB / 4.818 GB, free: 82.68 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/13.04, allocations: 3.75 kB / 4.818 GB, free: 82.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/13.04, allocations: 5.531 kB / 4.818 GB, free: 82.68 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.021e-05/13.04, allocations: 16.53 kB / 4.818 GB, free: 82.68 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002563/13.05, allocations: 0.5296 MB / 4.819 GB, free: 82.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.679e-05/13.05, allocations: 18.5 kB / 4.819 GB, free: 82.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003686/13.05, allocations: 287.3 kB / 4.819 GB, free: 82.58 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002174/13.05, allocations: 92.38 kB / 4.819 GB, free: 82.58 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * 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.0004754/13.05, allocations: 146.3 kB / 4.819 GB, free: 82.47 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005864/13.05, allocations: 221.9 kB / 4.819 GB, free: 82.36 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006438/13.06, allocations: 3.322 MB / 4.823 GB, free: 82.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/13.06, allocations: 29.34 kB / 4.823 GB, free: 82.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/13.06, allocations: 0 / 4.823 GB, free: 82.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004421/13.06, allocations: 2.836 MB / 4.825 GB, free: 81.96 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0117/13.07, allocations: 6.283 MB / 4.832 GB, free: 81.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/13.07, allocations: 0 / 4.832 GB, free: 81.43 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002926/13.08, allocations: 0.5751 MB / 4.832 GB, free: 81.43 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.557e-05/13.08, allocations: 11.75 kB / 4.832 GB, free: 81.43 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002024/13.08, allocations: 36.83 kB / 4.832 GB, free: 81.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.124e-05/13.08, allocations: 11.47 kB / 4.832 GB, free: 81.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/13.08, allocations: 0 / 4.832 GB, free: 81.43 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007709/13.09, allocations: 5.096 MB / 4.837 GB, free: 81.05 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002279/13.09, allocations: 0.6442 MB / 4.838 GB, free: 80.81 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005043/13.09, allocations: 6.719 kB / 4.838 GB, free: 80.81 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002464/13.09, allocations: 192.6 kB / 4.838 GB, free: 80.79 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/13.09, allocations: 136.2 kB / 4.838 GB, free: 80.79 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/13.09, allocations: 90.23 kB / 4.838 GB, free: 80.79 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001226/13.09, allocations: 0.7936 MB / 4.839 GB, free: 80.68 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004025/13.1, allocations: 1.201 MB / 4.84 GB, free: 80.56 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * 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 Backend phase and start with SimCode phase: time 0.007654/13.1, allocations: 4.712 MB / 4.845 GB, free: 78.57 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005618/13.11, allocations: 2.834 MB / 4.848 GB, free: 78.52 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/13.11, allocations: 2.406 kB / 4.848 GB, free: 78.52 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002276/13.11, allocations: 1.527 MB / 4.849 GB, free: 78.51 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006459/13.12, allocations: 1.084 MB / 4.85 GB, free: 78.48 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/13.13, allocations: 5.268 MB / 4.855 GB, free: 77.53 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002824/13.13, allocations: 2.242 MB / 4.857 GB, free: 76.77 MB / 0.9323 GB Notification: Performance of SimCode: time 1.173e-06/13.13, allocations: 0 / 4.857 GB, free: 76.77 MB / 0.9323 GB Notification: Performance of Templates: time 0.118/13.25, allocations: 71.33 MB / 4.927 GB, free: 73.69 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches