Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.498/2.498, allocations: 393.5 MB / 408.4 MB, free: 11 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.001409/0.001409, allocations: 184 kB / 0.4902 GB, free: 2.238 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.881/1.881, allocations: 223.2 MB / 0.7992 GB, free: 14.73 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.001117/0.001117, allocations: 108.1 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.0004387, allocations: 10.22 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3961, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.891/5.287, allocations: 1.939 GB / 3.168 GB, free: 48.04 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/5.287, allocations: 88.61 kB / 3.168 GB, free: 47.96 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 8.543/13.83, allocations: 1.976 GB / 5.144 GB, free: 155.1 MB / 1.229 GB Notification: Performance of FrontEnd: time 1.813e-06/13.83, allocations: 2.516 kB / 5.144 GB, free: 155.1 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.0004797/13.83, allocations: 94.3 kB / 5.144 GB, free: 155.1 MB / 1.229 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.02195/13.85, allocations: 4.772 MB / 5.148 GB, free: 153.6 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/13.85, allocations: 10.52 kB / 5.148 GB, free: 153.6 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008715/13.86, allocations: 1.003 MB / 5.149 GB, free: 153.4 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008444/13.87, allocations: 2.244 MB / 5.152 GB, free: 152.9 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004197/13.87, allocations: 247 kB / 5.152 GB, free: 152.9 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002057/13.87, allocations: 328.8 kB / 5.152 GB, free: 152.9 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01545/13.89, allocations: 4.148 MB / 5.156 GB, free: 152.6 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002569/13.89, allocations: 7.875 kB / 5.156 GB, free: 152.6 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001328/13.89, allocations: 134.3 kB / 5.156 GB, free: 152.6 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002386/13.89, allocations: 150.1 kB / 5.156 GB, free: 152.6 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/13.9, allocations: 4.643 MB / 5.161 GB, free: 152.6 MB / 1.229 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.03576/13.94, allocations: 14.73 MB / 5.175 GB, free: 145.8 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008452/13.95, allocations: 4.349 MB / 5.18 GB, free: 145.7 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001923/13.95, allocations: 1.615 MB / 5.181 GB, free: 144 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/13.95, allocations: 78.36 kB / 5.181 GB, free: 144 MB / 1.229 GB Notification: Performance of pre-optimization done (n=392): time 7.464e-06/13.95, allocations: 6.469 kB / 5.181 GB, free: 144 MB / 1.229 GB Notification: Performance of matching and sorting (n=392): time 0.01502/13.96, allocations: 5.496 MB / 5.187 GB, free: 143.7 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/13.96, allocations: 89.42 kB / 5.187 GB, free: 143.6 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004308/13.97, allocations: 1.467 MB / 5.188 GB, free: 143.4 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.0007129/13.97, allocations: 95.67 kB / 5.188 GB, free: 143.4 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009301/13.97, allocations: 1.139 MB / 5.189 GB, free: 143 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.001576/13.97, allocations: 1.317 MB / 5.191 GB, free: 142.1 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/13.97, allocations: 67.28 kB / 5.191 GB, free: 142.1 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0002332/13.97, allocations: 446.2 kB / 5.191 GB, free: 141.8 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002617/13.97, allocations: 1.546 MB / 5.193 GB, free: 141.8 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002695/13.98, allocations: 1.939 MB / 5.194 GB, free: 141.5 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002669/13.98, allocations: 1.826 MB / 5.196 GB, free: 141.5 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/13.98, allocations: 3.625 kB / 5.196 GB, free: 141.5 MB / 1.229 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00698/13.99, allocations: 4.146 MB / 5.2 GB, free: 141.2 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/13.99, allocations: 9.156 kB / 5.2 GB, free: 141.2 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/13.99, allocations: 10.16 kB / 5.2 GB, free: 141.2 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.922e-05/13.99, allocations: 19.12 kB / 5.2 GB, free: 141.2 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00299/13.99, allocations: 0.6981 MB / 5.201 GB, free: 141.2 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.69e-05/13.99, allocations: 21 kB / 5.201 GB, free: 141.2 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004446/13.99, allocations: 488.7 kB / 5.202 GB, free: 141.1 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002872/13.99, allocations: 118.9 kB / 5.202 GB, free: 141.1 MB / 1.229 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.002215/14, allocations: 0.8013 MB / 5.202 GB, free: 140.9 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009318/14, allocations: 290 kB / 5.203 GB, free: 140.8 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007023/14, allocations: 4.417 MB / 5.207 GB, free: 140.6 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/14, allocations: 37.44 kB / 5.207 GB, free: 140.6 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/14, allocations: 0 / 5.207 GB, free: 140.6 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004922/14.01, allocations: 3.773 MB / 5.211 GB, free: 140.3 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/14.02, allocations: 8.617 MB / 5.219 GB, free: 139.5 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/14.02, allocations: 4.875 kB / 5.219 GB, free: 139.5 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003272/14.03, allocations: 0.7337 MB / 5.22 GB, free: 139.5 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.113e-05/14.03, allocations: 15.81 kB / 5.22 GB, free: 139.5 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002416/14.03, allocations: 85.06 kB / 5.22 GB, free: 139.5 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.831e-05/14.03, allocations: 20.08 kB / 5.22 GB, free: 139.5 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/14.03, allocations: 3.5 kB / 5.22 GB, free: 139.5 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009362/14.04, allocations: 6.691 MB / 5.227 GB, free: 138.7 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002669/14.04, allocations: 0.7973 MB / 5.227 GB, free: 138.4 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005563/14.04, allocations: 71.25 kB / 5.227 GB, free: 138.4 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00278/14.04, allocations: 266 kB / 5.228 GB, free: 138.4 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003653/14.04, allocations: 231 kB / 5.228 GB, free: 138.4 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002408/14.04, allocations: 114.7 kB / 5.228 GB, free: 138.4 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.001769/14.05, allocations: 1.142 MB / 5.229 GB, free: 138.2 MB / 1.229 GB Notification: Performance of sort global known variables: time 5.61e-07/14.05, allocations: 0 / 5.229 GB, free: 138.2 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.005535/14.05, allocations: 1.681 MB / 5.231 GB, free: 138.1 MB / 1.229 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.008492/14.06, allocations: 5.106 MB / 5.236 GB, free: 135.6 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.007253/14.07, allocations: 3.898 MB / 5.24 GB, free: 135.5 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/14.07, allocations: 3.5 kB / 5.24 GB, free: 135.5 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.003294/14.07, allocations: 2.088 MB / 5.242 GB, free: 135.5 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007907/14.08, allocations: 1.472 MB / 5.243 GB, free: 135.5 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/14.09, allocations: 9.194 MB / 5.252 GB, free: 132.2 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001874/14.09, allocations: 2.267 MB / 5.254 GB, free: 131.4 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.005508/14.1, allocations: 1.215 MB / 5.255 GB, free: 131.4 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/14.1, allocations: 282.2 kB / 5.256 GB, free: 131.4 MB / 1.229 GB Notification: Performance of SimCode: time 2.224e-06/14.1, allocations: 0 / 5.256 GB, free: 131.4 MB / 1.229 GB Notification: Performance of Templates: time 0.1616/14.26, allocations: 104.8 MB / 5.358 GB, free: 101.8 MB / 1.229 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches