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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.51/2.51, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001351/0.001351, allocations: 173.1 kB / 498.1 MB, free: 5.719 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.758/1.758, allocations: 223.2 MB / 0.7948 GB, free: 17.85 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.0009402/0.0009399, allocations: 104 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004277/0.0004276, allocations: 10 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3713, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.329/5.7, allocations: 1.938 GB / 3.161 GB, free: 49.83 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/5.7, allocations: 96.55 kB / 3.161 GB, free: 49.78 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 8.166/13.87, allocations: 1.976 GB / 5.136 GB, free: 147.4 MB / 1.214 GB Notification: Performance of FrontEnd: time 5.561e-06/13.87, allocations: 0 / 5.136 GB, free: 147.4 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0007635/13.87, allocations: 89.42 kB / 5.137 GB, free: 147.4 MB / 1.214 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.02441/13.89, allocations: 4.777 MB / 5.141 GB, free: 145.9 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/13.89, allocations: 6.719 kB / 5.141 GB, free: 145.9 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009482/13.9, allocations: 1.005 MB / 5.142 GB, free: 145.7 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009338/13.91, allocations: 2.245 MB / 5.144 GB, free: 145.2 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004191/13.91, allocations: 248.2 kB / 5.145 GB, free: 145.2 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002019/13.91, allocations: 337.8 kB / 5.145 GB, free: 145.2 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01533/13.93, allocations: 4.138 MB / 5.149 GB, free: 144.9 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003111/13.93, allocations: 5.094 kB / 5.149 GB, free: 144.9 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001516/13.93, allocations: 136.3 kB / 5.149 GB, free: 144.9 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002202/13.93, allocations: 153.5 kB / 5.149 GB, free: 144.9 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/13.94, allocations: 4.646 MB / 5.154 GB, free: 144.9 MB / 1.214 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03222/13.97, allocations: 14.71 MB / 5.168 GB, free: 138.1 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008384/13.98, allocations: 4.355 MB / 5.172 GB, free: 138 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001907/13.98, allocations: 1.609 MB / 5.174 GB, free: 136.3 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/13.98, allocations: 87.86 kB / 5.174 GB, free: 136.3 MB / 1.214 GB Notification: Performance of pre-optimization done (n=392): time 1.253e-05/13.98, allocations: 2.906 kB / 5.174 GB, free: 136.3 MB / 1.214 GB Notification: Performance of matching and sorting (n=392): time 0.01504/14, allocations: 5.493 MB / 5.179 GB, free: 136 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/14, allocations: 93.02 kB / 5.18 GB, free: 135.9 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003737/14, allocations: 1.465 MB / 5.181 GB, free: 135.7 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0008301/14, allocations: 94.77 kB / 5.181 GB, free: 135.7 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.001102/14.01, allocations: 1.149 MB / 5.182 GB, free: 135.3 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.002094/14.01, allocations: 1.322 MB / 5.183 GB, free: 134.4 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000643/14.01, allocations: 66.28 kB / 5.184 GB, free: 134.4 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0004488/14.01, allocations: 444.5 kB / 5.184 GB, free: 134.1 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003325/14.01, allocations: 1.542 MB / 5.185 GB, free: 134.1 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003653/14.02, allocations: 1.94 MB / 5.187 GB, free: 133.8 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003834/14.02, allocations: 1.831 MB / 5.189 GB, free: 133.8 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/14.02, allocations: 0 / 5.189 GB, free: 133.8 MB / 1.214 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009242/14.03, allocations: 4.143 MB / 5.193 GB, free: 133.5 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/14.03, allocations: 7.625 kB / 5.193 GB, free: 133.5 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/14.03, allocations: 5.688 kB / 5.193 GB, free: 133.5 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.707e-05/14.03, allocations: 17.69 kB / 5.193 GB, free: 133.5 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003518/14.03, allocations: 0.7021 MB / 5.194 GB, free: 133.5 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.475e-05/14.03, allocations: 18.78 kB / 5.194 GB, free: 133.5 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004852/14.04, allocations: 485.1 kB / 5.194 GB, free: 133.4 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006551/14.04, allocations: 118.3 kB / 5.195 GB, free: 133.4 MB / 1.214 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 () * Number of clocked 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.002843/14.04, allocations: 0.8061 MB / 5.195 GB, free: 133.2 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001392/14.04, allocations: 291.1 kB / 5.196 GB, free: 133.1 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009742/14.05, allocations: 4.421 MB / 5.2 GB, free: 132.9 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.261e-05/14.05, allocations: 36.59 kB / 5.2 GB, free: 132.9 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.202e-05/14.05, allocations: 0 / 5.2 GB, free: 132.9 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006452/14.06, allocations: 3.771 MB / 5.204 GB, free: 132.6 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02052/14.08, allocations: 8.615 MB / 5.212 GB, free: 131.8 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/14.08, allocations: 3.969 kB / 5.212 GB, free: 131.8 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004019/14.08, allocations: 0.7305 MB / 5.213 GB, free: 131.8 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.403e-05/14.08, allocations: 14.94 kB / 5.213 GB, free: 131.8 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006913/14.08, allocations: 89.89 kB / 5.213 GB, free: 131.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.812e-05/14.08, allocations: 14.94 kB / 5.213 GB, free: 131.8 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/14.08, allocations: 4.688 kB / 5.213 GB, free: 131.8 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/14.1, allocations: 6.683 MB / 5.219 GB, free: 131 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004442/14.1, allocations: 0.8031 MB / 5.22 GB, free: 130.7 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001877/14.1, allocations: 75.17 kB / 5.22 GB, free: 130.7 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004568/14.11, allocations: 266.7 kB / 5.221 GB, free: 130.7 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008489/14.11, allocations: 230.2 kB / 5.221 GB, free: 130.7 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006676/14.11, allocations: 115 kB / 5.221 GB, free: 130.7 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.002758/14.11, allocations: 1.142 MB / 5.222 GB, free: 130.5 MB / 1.214 GB Notification: Performance of sort global known variables: time 5.31e-07/14.11, allocations: 0 / 5.222 GB, free: 130.5 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.007331/14.12, allocations: 1.671 MB / 5.224 GB, free: 130.4 MB / 1.214 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 () * Number of clocked 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.009268/14.13, allocations: 5.112 MB / 5.229 GB, free: 127.9 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.009742/14.14, allocations: 3.898 MB / 5.232 GB, free: 127.8 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/14.14, allocations: 1.875 kB / 5.232 GB, free: 127.8 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.004826/14.14, allocations: 2.093 MB / 5.234 GB, free: 127.8 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009462/14.15, allocations: 1.476 MB / 5.236 GB, free: 127.8 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02129/14.17, allocations: 9.198 MB / 5.245 GB, free: 124.5 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003848/14.18, allocations: 2.264 MB / 5.247 GB, free: 123.7 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.007304/14.19, allocations: 1.218 MB / 5.248 GB, free: 123.7 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002294/14.19, allocations: 271.9 kB / 5.249 GB, free: 123.7 MB / 1.214 GB Notification: Performance of SimCode: time 1.853e-06/14.19, allocations: 5.094 kB / 5.249 GB, free: 123.7 MB / 1.214 GB Notification: Performance of Templates: time 0.1688/14.36, allocations: 104.8 MB / 5.351 GB, free: 82.93 MB / 1.214 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