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.384/2.384, allocations: 390.3 MB / 402.8 MB, free: 6.719 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.001094/0.001094, allocations: 180.8 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.797/1.797, allocations: 221.3 MB / 0.7915 GB, free: 5.469 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.001683/0.001683, allocations: 87.91 kB / 0.9317 GB, free: 5.781 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.328e-05/4.332e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3599, allocations: 143 MB / 1.219 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.895/6.255, allocations: 1.939 GB / 3.157 GB, free: 262.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/6.256, allocations: 87.2 kB / 3.157 GB, free: 262.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.706/13.96, allocations: 1.974 GB / 5.131 GB, free: 106.7 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.453e-06/13.96, allocations: 0 / 5.131 GB, free: 106.7 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0004554/13.96, allocations: 95.86 kB / 5.132 GB, free: 106.6 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.01909/13.98, allocations: 4.287 MB / 5.136 GB, free: 102.3 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/13.98, allocations: 12.03 kB / 5.136 GB, free: 102.3 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0087/13.99, allocations: 0.9905 MB / 5.137 GB, free: 101.3 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008353/14, allocations: 2.237 MB / 5.139 GB, free: 99 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003468/14, allocations: 242.5 kB / 5.139 GB, free: 98.76 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001781/14, allocations: 335.9 kB / 5.139 GB, free: 98.43 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/14.01, allocations: 4.08 MB / 5.143 GB, free: 94.25 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.812e-05/14.01, allocations: 3.906 kB / 5.143 GB, free: 94.25 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000379/14.01, allocations: 132 kB / 5.144 GB, free: 94.12 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001465/14.01, allocations: 150.4 kB / 5.144 GB, free: 93.97 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007592/14.02, allocations: 4.538 MB / 5.148 GB, free: 89.43 MB / 1.214 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.0218/14.04, allocations: 14.71 MB / 5.163 GB, free: 73.77 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00553/14.05, allocations: 4.308 MB / 5.167 GB, free: 69.5 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003762/14.05, allocations: 2.396 MB / 5.169 GB, free: 67.11 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001803/14.05, allocations: 1.608 MB / 5.171 GB, free: 65.17 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.267e-05/14.05, allocations: 77.64 kB / 5.171 GB, free: 65.09 MB / 1.214 GB Notification: Performance of pre-optimization done (n=392): time 5.921e-06/14.05, allocations: 0 / 5.171 GB, free: 65.09 MB / 1.214 GB Notification: Performance of matching and sorting (n=392): time 0.008599/14.06, allocations: 3.859 MB / 5.174 GB, free: 61.2 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/14.06, allocations: 94.48 kB / 5.175 GB, free: 61.09 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/14.06, allocations: 1.441 MB / 5.176 GB, free: 59.61 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0004841/14.06, allocations: 97.7 kB / 5.176 GB, free: 59.51 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007104/14.07, allocations: 1.136 MB / 5.177 GB, free: 58.36 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.001321/14.07, allocations: 1.32 MB / 5.178 GB, free: 57.02 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/14.07, allocations: 68 kB / 5.179 GB, free: 56.95 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001759/14.07, allocations: 445 kB / 5.179 GB, free: 56.51 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/14.07, allocations: 1.514 MB / 5.18 GB, free: 55 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/14.07, allocations: 1.901 MB / 5.182 GB, free: 53 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002528/14.07, allocations: 1.802 MB / 5.184 GB, free: 51.19 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/14.07, allocations: 7.938 kB / 5.184 GB, free: 51.18 MB / 1.214 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006319/14.08, allocations: 4.072 MB / 5.188 GB, free: 47.08 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/14.08, allocations: 8 kB / 5.188 GB, free: 47.07 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/14.08, allocations: 4 kB / 5.188 GB, free: 47.07 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.332e-05/14.08, allocations: 20.66 kB / 5.188 GB, free: 47.05 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003024/14.08, allocations: 0.706 MB / 5.189 GB, free: 46.34 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.915e-05/14.08, allocations: 19.98 kB / 5.189 GB, free: 46.32 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004461/14.09, allocations: 480.8 kB / 5.189 GB, free: 45.85 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003932/14.09, allocations: 124 kB / 5.189 GB, free: 45.73 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 () * 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.0007188/14.09, allocations: 292.2 kB / 5.19 GB, free: 45.44 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008622/14.09, allocations: 300.4 kB / 5.19 GB, free: 45.14 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006998/14.1, allocations: 4.351 MB / 5.194 GB, free: 40.75 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-05/14.1, allocations: 40 kB / 5.194 GB, free: 40.71 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/14.1, allocations: 0 / 5.194 GB, free: 40.71 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004758/14.1, allocations: 3.712 MB / 5.198 GB, free: 36.94 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01385/14.12, allocations: 8.555 MB / 5.206 GB, free: 28.22 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/14.12, allocations: 4 kB / 5.206 GB, free: 28.21 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003233/14.12, allocations: 0.7299 MB / 5.207 GB, free: 27.48 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.911e-05/14.12, allocations: 16 kB / 5.207 GB, free: 27.47 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002486/14.12, allocations: 87.97 kB / 5.207 GB, free: 27.38 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.534e-05/14.12, allocations: 19.94 kB / 5.207 GB, free: 27.36 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/14.12, allocations: 4 kB / 5.207 GB, free: 27.36 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00829/14.13, allocations: 6.591 MB / 5.213 GB, free: 20.59 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002372/14.13, allocations: 0.805 MB / 5.214 GB, free: 19.76 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006749/14.13, allocations: 72 kB / 5.214 GB, free: 19.69 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003266/14.13, allocations: 263.5 kB / 5.215 GB, free: 19.43 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003397/14.14, allocations: 222.8 kB / 5.215 GB, free: 19.21 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002326/14.14, allocations: 123.9 kB / 5.215 GB, free: 19.09 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.001607/14.14, allocations: 1.119 MB / 5.216 GB, free: 17.94 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.7e-07/14.14, allocations: 4 kB / 5.216 GB, free: 17.94 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.00552/14.14, allocations: 1.669 MB / 5.218 GB, free: 16.27 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 () * 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.008916/14.15, allocations: 5.119 MB / 5.223 GB, free: 10.76 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.00667/14.16, allocations: 3.824 MB / 5.226 GB, free: 6.922 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/14.16, allocations: 8.125 kB / 5.226 GB, free: 6.914 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.002615/14.16, allocations: 2.059 MB / 5.228 GB, free: 4.855 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007617/14.17, allocations: 1.481 MB / 5.23 GB, free: 3.414 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/14.18, allocations: 6.667 MB / 5.236 GB, free: 12.74 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002241/14.18, allocations: 2.268 MB / 5.239 GB, free: 10.44 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.005311/14.19, allocations: 1.214 MB / 5.24 GB, free: 9.258 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/14.19, allocations: 275.4 kB / 5.24 GB, free: 8.992 MB / 1.229 GB Notification: Performance of SimCode: time 1.202e-06/14.19, allocations: 0 / 5.24 GB, free: 8.992 MB / 1.229 GB Notification: Performance of Templates: time 1.108/15.3, allocations: 115.3 MB / 5.353 GB, free: 147.1 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