Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") [: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.831/1.831, 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.00101/0.00101, allocations: 184.4 kB / 487 MB, free: 5.324 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.208/1.208, allocations: 221.3 MB / 0.7819 GB, free: 1.359 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.0009179/0.0009179, allocations: 92.14 kB / 0.9213 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.711e-06/5.721e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.208, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.267/3.475, allocations: 1.937 GB / 3.142 GB, free: 367.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001766/3.475, allocations: 91.83 kB / 3.142 GB, free: 367.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 5.02/8.495, allocations: 1.976 GB / 5.119 GB, free: 130.3 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0002142/8.496, allocations: 91.16 kB / 5.119 GB, free: 130.3 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01427/8.51, allocations: 4.332 MB / 5.123 GB, free: 127.5 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/8.51, allocations: 12.19 kB / 5.123 GB, free: 127.5 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007769/8.518, allocations: 1.074 MB / 5.124 GB, free: 127 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005335/8.523, allocations: 2.29 MB / 5.126 GB, free: 125.5 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.786e-05/8.523, allocations: 104.5 kB / 5.126 GB, free: 125.5 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004299/8.524, allocations: 195.3 kB / 5.127 GB, free: 125.5 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006815/8.53, allocations: 4.246 MB / 5.131 GB, free: 123.7 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006135/8.537, allocations: 3.737 MB / 5.134 GB, free: 121.7 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.543e-05/8.537, allocations: 11.45 kB / 5.134 GB, free: 121.7 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002824/8.537, allocations: 3.125 kB / 5.134 GB, free: 121.7 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001648/8.537, allocations: 160.2 kB / 5.135 GB, free: 121.6 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01796/8.555, allocations: 16.21 MB / 5.15 GB, free: 105.5 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00455/8.56, allocations: 3.948 MB / 5.154 GB, free: 101.6 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002629/8.562, allocations: 2.421 MB / 5.157 GB, free: 99.18 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/8.564, allocations: 1.612 MB / 5.158 GB, free: 97.26 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/8.564, allocations: 81.62 kB / 5.158 GB, free: 97.17 MB / 1.198 GB Notification: Performance of pre-optimization done (n=392): time 6.021e-06/8.564, allocations: 3.156 kB / 5.158 GB, free: 97.17 MB / 1.198 GB Notification: Performance of matching and sorting (n=392): time 0.008496/8.572, allocations: 4.375 MB / 5.163 GB, free: 92.78 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/8.572, allocations: 90.48 kB / 5.163 GB, free: 92.68 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/8.574, allocations: 1.21 MB / 5.164 GB, free: 91.47 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002056/8.574, allocations: 29.7 kB / 5.164 GB, free: 91.44 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/8.574, allocations: 0.8141 MB / 5.165 GB, free: 90.61 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008113/8.575, allocations: 1.272 MB / 5.166 GB, free: 89.32 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/8.575, allocations: 0 / 5.166 GB, free: 89.32 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001421/8.575, allocations: 437.1 kB / 5.166 GB, free: 88.89 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/8.577, allocations: 1.572 MB / 5.168 GB, free: 87.31 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002018/8.579, allocations: 1.936 MB / 5.17 GB, free: 85.29 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00396/8.583, allocations: 2.205 MB / 5.172 GB, free: 83.09 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/8.583, allocations: 0 / 5.172 GB, free: 83.09 MB / 1.198 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006855/8.59, allocations: 4.441 MB / 5.176 GB, free: 78.63 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/8.59, allocations: 8 kB / 5.176 GB, free: 78.62 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/8.59, allocations: 6.625 kB / 5.176 GB, free: 78.62 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.367e-05/8.59, allocations: 20 kB / 5.176 GB, free: 78.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002962/8.593, allocations: 0.7177 MB / 5.177 GB, free: 77.88 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/8.593, allocations: 16 kB / 5.177 GB, free: 77.87 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003218/8.596, allocations: 394.8 kB / 5.177 GB, free: 77.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002613/8.597, allocations: 128 kB / 5.177 GB, free: 77.38 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.0004195/8.597, allocations: 154.3 kB / 5.178 GB, free: 77.22 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004013/8.598, allocations: 280.6 kB / 5.178 GB, free: 76.95 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0075/8.605, allocations: 4.714 MB / 5.183 GB, free: 72.22 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/8.605, allocations: 36 kB / 5.183 GB, free: 72.19 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/8.605, allocations: 0 / 5.183 GB, free: 72.19 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005715/8.611, allocations: 4.081 MB / 5.187 GB, free: 68.04 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01238/8.623, allocations: 8.678 MB / 5.195 GB, free: 59.33 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/8.623, allocations: 8 kB / 5.195 GB, free: 59.32 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003261/8.626, allocations: 0.7404 MB / 5.196 GB, free: 58.59 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.146e-05/8.627, allocations: 16 kB / 5.196 GB, free: 58.57 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002195/8.627, allocations: 51.94 kB / 5.196 GB, free: 58.52 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.175e-05/8.627, allocations: 12 kB / 5.196 GB, free: 58.51 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/8.627, allocations: 4 kB / 5.196 GB, free: 58.5 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008502/8.635, allocations: 6.994 MB / 5.203 GB, free: 51.38 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/8.637, allocations: 0.8045 MB / 5.203 GB, free: 50.55 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004672/8.637, allocations: 12 kB / 5.203 GB, free: 50.54 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002385/8.64, allocations: 206.3 kB / 5.204 GB, free: 50.36 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002868/8.64, allocations: 190.7 kB / 5.204 GB, free: 50.17 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002387/8.64, allocations: 127.9 kB / 5.204 GB, free: 50.05 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.0009913/8.641, allocations: 0.9331 MB / 5.205 GB, free: 49.12 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.002899/8.644, allocations: 1.448 MB / 5.206 GB, free: 47.68 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (392): * Single equations (assignments): 392 * 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.005423/8.65, allocations: 5.546 MB / 5.212 GB, free: 42.5 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.004413/8.654, allocations: 3.937 MB / 5.216 GB, free: 38.55 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/8.654, allocations: 4.25 kB / 5.216 GB, free: 38.55 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002091/8.656, allocations: 2.135 MB / 5.218 GB, free: 36.41 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004946/8.661, allocations: 1.225 MB / 5.219 GB, free: 35.23 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009385/8.67, allocations: 6.726 MB / 5.225 GB, free: 28.51 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002547/8.673, allocations: 2.617 MB / 5.228 GB, free: 25.86 MB / 1.198 GB Notification: Performance of SimCode: time 4.41e-07/8.673, allocations: 0 / 5.228 GB, free: 25.86 MB / 1.198 GB Notification: Performance of Templates: time 0.5517/9.225, allocations: 85.5 MB / 5.311 GB, free: 266.5 MB / 1.229 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches