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.383/2.383, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001252/0.001252, allocations: 188.8 kB / 487.4 MB, free: 5.051 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.805/1.805, allocations: 221.5 MB / 0.7824 GB, free: 0.9102 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.001049/0.001049, allocations: 110.1 kB / 0.9219 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.289e-05/2.291e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3626, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.067/6.43, allocations: 1.937 GB / 3.143 GB, free: 414.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/6.43, allocations: 85.02 kB / 3.143 GB, free: 414.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.092/13.52, allocations: 1.954 GB / 5.097 GB, free: 130.6 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.352e-06/13.52, allocations: 0 / 5.097 GB, free: 130.6 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0002295/13.52, allocations: 85.98 kB / 5.097 GB, free: 130.6 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.01497/13.54, allocations: 4.29 MB / 5.101 GB, free: 129 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/13.54, allocations: 7.531 kB / 5.101 GB, free: 129 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007758/13.54, allocations: 0.9978 MB / 5.102 GB, free: 128.8 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006224/13.55, allocations: 2.228 MB / 5.104 GB, free: 128.3 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/13.55, allocations: 104.4 kB / 5.104 GB, free: 128.3 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/13.55, allocations: 194.3 kB / 5.104 GB, free: 128.3 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008239/13.56, allocations: 4.153 MB / 5.108 GB, free: 128.3 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006797/13.57, allocations: 3.614 MB / 5.112 GB, free: 128 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.882e-05/13.57, allocations: 1.5 kB / 5.112 GB, free: 128 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003227/13.57, allocations: 9.094 kB / 5.112 GB, free: 128 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000149/13.57, allocations: 155.2 kB / 5.112 GB, free: 127.9 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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.02301/13.59, allocations: 14.35 MB / 5.126 GB, free: 121.3 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006531/13.6, allocations: 5.101 MB / 5.131 GB, free: 120.3 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003467/13.6, allocations: 2.294 MB / 5.133 GB, free: 120.3 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00148/13.6, allocations: 1.618 MB / 5.135 GB, free: 118.6 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.695e-05/13.6, allocations: 78.59 kB / 5.135 GB, free: 118.5 MB / 1.198 GB Notification: Performance of pre-optimization done (n=392): time 7.173e-06/13.6, allocations: 1.969 kB / 5.135 GB, free: 118.5 MB / 1.198 GB Notification: Performance of matching and sorting (n=392): time 0.008736/13.61, allocations: 4.018 MB / 5.139 GB, free: 118.3 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/13.61, allocations: 92.2 kB / 5.139 GB, free: 118.2 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/13.61, allocations: 1.204 MB / 5.14 GB, free: 118.1 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0003794/13.61, allocations: 29.52 kB / 5.14 GB, free: 118 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008359/13.62, allocations: 1.136 MB / 5.141 GB, free: 117.6 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001245/13.62, allocations: 1.269 MB / 5.143 GB, free: 116.7 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/13.62, allocations: 0 / 5.143 GB, free: 116.7 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001935/13.62, allocations: 446.5 kB / 5.143 GB, free: 116.4 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/13.62, allocations: 1.486 MB / 5.144 GB, free: 116.4 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002325/13.62, allocations: 1.853 MB / 5.146 GB, free: 116.1 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004231/13.63, allocations: 2.058 MB / 5.148 GB, free: 116.1 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/13.63, allocations: 3.812 kB / 5.148 GB, free: 116.1 MB / 1.198 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008133/13.63, allocations: 4.187 MB / 5.152 GB, free: 115.8 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/13.63, allocations: 7.531 kB / 5.152 GB, free: 115.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/13.63, allocations: 7.594 kB / 5.152 GB, free: 115.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.848e-05/13.63, allocations: 22.33 kB / 5.152 GB, free: 115.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003149/13.64, allocations: 0.7189 MB / 5.153 GB, free: 115.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.8e-05/13.64, allocations: 24.56 kB / 5.153 GB, free: 115.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004298/13.64, allocations: 400.9 kB / 5.154 GB, free: 115.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004674/13.64, allocations: 125.5 kB / 5.154 GB, free: 115.6 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.0007203/13.64, allocations: 158.4 kB / 5.154 GB, free: 115.5 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009517/13.64, allocations: 275.5 kB / 5.154 GB, free: 115.4 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00835/13.65, allocations: 4.398 MB / 5.158 GB, free: 115.2 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/13.65, allocations: 37.41 kB / 5.158 GB, free: 115.2 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/13.65, allocations: 0 / 5.158 GB, free: 115.2 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006381/13.66, allocations: 3.846 MB / 5.162 GB, free: 114.6 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.02189/13.68, allocations: 8.724 MB / 5.171 GB, free: 111 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.26e-05/13.68, allocations: 3.688 kB / 5.171 GB, free: 111 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004296/13.68, allocations: 0.7478 MB / 5.171 GB, free: 110.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/13.68, allocations: 23.05 kB / 5.171 GB, free: 110.9 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009147/13.69, allocations: 40.7 kB / 5.171 GB, free: 110.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.102e-05/13.69, allocations: 17.27 kB / 5.171 GB, free: 110.9 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/13.69, allocations: 6.094 kB / 5.171 GB, free: 110.9 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01347/13.7, allocations: 6.625 MB / 5.178 GB, free: 108.1 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002949/13.7, allocations: 0.7938 MB / 5.179 GB, free: 107.7 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001194/13.7, allocations: 11.3 kB / 5.179 GB, free: 107.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004156/13.71, allocations: 205.3 kB / 5.179 GB, free: 107.7 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006374/13.71, allocations: 232.3 kB / 5.179 GB, free: 107.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005331/13.71, allocations: 124.1 kB / 5.179 GB, free: 107.6 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.002169/13.71, allocations: 0.9228 MB / 5.18 GB, free: 107.2 MB / 1.198 GB Notification: Performance of sort global known variables: time 6.11e-07/13.71, allocations: 0 / 5.18 GB, free: 107.2 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.00584/13.72, allocations: 1.435 MB / 5.182 GB, free: 106.8 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.009482/13.73, allocations: 5.52 MB / 5.187 GB, free: 104.2 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.008794/13.74, allocations: 3.736 MB / 5.191 GB, free: 102.3 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/13.74, allocations: 5.625 kB / 5.191 GB, free: 102.3 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.004235/13.74, allocations: 2.026 MB / 5.193 GB, free: 100.5 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008767/13.75, allocations: 1.287 MB / 5.194 GB, free: 99.62 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/13.76, allocations: 6.511 MB / 5.2 GB, free: 94.31 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002999/13.77, allocations: 2.27 MB / 5.202 GB, free: 92.54 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.00634/13.77, allocations: 1.2 MB / 5.204 GB, free: 91.69 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001964/13.78, allocations: 285.8 kB / 5.204 GB, free: 91.43 MB / 1.198 GB Notification: Performance of SimCode: time 1.483e-06/13.78, allocations: 0 / 5.204 GB, free: 91.43 MB / 1.198 GB Notification: Performance of Templates: time 0.1194/13.9, allocations: 75.7 MB / 5.278 GB, free: 25.68 MB / 1.198 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