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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9185/0.9185, allocations: 177.2 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.395/2.395, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.422e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.1471/0.1471, allocations: 162.6 MB / 0.9974 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0142/0.1613, allocations: 8.592 MB / 1.006 GB, free: 2.379 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001903/0.1632, allocations: 115.1 kB / 1.006 GB, free: 2.266 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.1644, allocations: 0.7524 MB / 1.007 GB, free: 1.508 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.00428/0.1687, allocations: 3.282 MB / 1.01 GB, free: 14.2 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002556/0.1712, allocations: 1.91 MB / 1.012 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.006193/0.1774, allocations: 9.209 MB / 1.021 GB, free: 3.047 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002504/0.1799, allocations: 2.529 MB / 1.023 GB, free: 492 kB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004507/0.1844, allocations: 4.628 MB / 1.028 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002533/0.187, allocations: 2.891 MB / 1.03 GB, free: 9.016 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004028/0.1874, allocations: 404 kB / 1.031 GB, free: 8.621 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.1886, allocations: 0.8425 MB / 1.032 GB, free: 7.777 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0009914/0.1896, allocations: 1.792 MB / 1.033 GB, free: 5.98 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.191, allocations: 1.672 MB / 1.035 GB, free: 4.305 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002854/0.1938, allocations: 3.976 MB / 1.039 GB, free: 324 kB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1938, allocations: 0 / 1.039 GB, free: 324 kB / 0.9948 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1938, allocations: 0 / 1.039 GB, free: 324 kB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.638e-05/0.1939, allocations: 0 / 1.039 GB, free: 324 kB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.004935/0.1988, allocations: 4.33 MB / 1.043 GB, free: 11.93 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.1988, allocations: 8.922 kB / 1.043 GB, free: 11.93 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007839/0.2067, allocations: 2.548 MB / 1.046 GB, free: 9.371 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/0.2094, allocations: 1.585 MB / 1.047 GB, free: 7.734 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.2096, allocations: 258.5 kB / 1.047 GB, free: 7.48 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006388/0.2102, allocations: 339.9 kB / 1.048 GB, free: 7.148 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003647/0.2139, allocations: 3.493 MB / 1.051 GB, free: 3.469 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.398e-05/0.2139, allocations: 11.92 kB / 1.051 GB, free: 3.457 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002779/0.2142, allocations: 132 kB / 1.051 GB, free: 3.328 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001373/0.2144, allocations: 202.7 kB / 1.052 GB, free: 3.129 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002688/0.217, allocations: 2.034 MB / 1.054 GB, free: 1.078 MB / 1.01 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.401/0.6181, allocations: 7.854 MB / 1.061 GB, free: 82.09 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003366/0.6214, allocations: 3.066 MB / 1.064 GB, free: 81.9 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.6229, allocations: 1.052 MB / 1.065 GB, free: 81.86 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/0.6231, allocations: 97.36 kB / 1.065 GB, free: 81.86 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.6231, allocations: 81.39 kB / 1.065 GB, free: 81.82 MB / 1.01 GB Notification: Performance of pre-optimization done (n=392): time 6.833e-06/0.6231, allocations: 1.422 kB / 1.065 GB, free: 81.82 MB / 1.01 GB Notification: Performance of matching and sorting (n=392): time 0.004041/0.6272, allocations: 2.253 MB / 1.068 GB, free: 81.7 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.6272, allocations: 95.45 kB / 1.068 GB, free: 81.63 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.6283, allocations: 1.337 MB / 1.069 GB, free: 81.39 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002052/0.6285, allocations: 92.45 kB / 1.069 GB, free: 81.36 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004442/0.629, allocations: 1.056 MB / 1.07 GB, free: 80.9 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007003/0.6297, allocations: 1.387 MB / 1.071 GB, free: 80.15 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008873/0.6306, allocations: 0.6164 MB / 1.072 GB, free: 80.11 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 2.667e-05/0.6306, allocations: 302.8 kB / 1.072 GB, free: 79.82 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.6317, allocations: 0.6269 MB / 1.073 GB, free: 79.8 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.6329, allocations: 1.155 MB / 1.074 GB, free: 79.34 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002688/0.6356, allocations: 2.12 MB / 1.076 GB, free: 78.89 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/0.6356, allocations: 3.656 kB / 1.076 GB, free: 78.89 MB / 1.01 GB Notification: Performance of matching and sorting (n=496) (initialization): time 0.003364/0.639, allocations: 2.184 MB / 1.078 GB, free: 78.78 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.639, allocations: 11.52 kB / 1.078 GB, free: 78.78 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.639, allocations: 10.66 kB / 1.078 GB, free: 78.78 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.663e-05/0.6391, allocations: 27.22 kB / 1.078 GB, free: 78.78 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002989/0.642, allocations: 0.9785 MB / 1.079 GB, free: 78.78 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.235e-05/0.6421, allocations: 32.67 kB / 1.079 GB, free: 78.78 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.644, allocations: 427.7 kB / 1.08 GB, free: 78.68 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/0.6443, allocations: 110.8 kB / 1.08 GB, free: 78.68 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (496): * Single equations (assignments): 496 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000727/0.645, allocations: 320.3 kB / 1.08 GB, free: 78.56 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005352/0.6455, allocations: 315.2 kB / 1.08 GB, free: 78.56 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003963/0.6459, allocations: 444.1 kB / 1.081 GB, free: 78.52 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.6459, allocations: 36.19 kB / 1.081 GB, free: 78.52 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.41e-05/0.646, allocations: 8 kB / 1.081 GB, free: 78.52 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001974/0.648, allocations: 1.534 MB / 1.082 GB, free: 78.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005784/0.6537, allocations: 4.202 MB / 1.087 GB, free: 77.66 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.6538, allocations: 0 / 1.087 GB, free: 77.66 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002889/0.6566, allocations: 0.9666 MB / 1.087 GB, free: 77.66 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/0.6567, allocations: 18.03 kB / 1.087 GB, free: 77.66 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002366/0.6569, allocations: 85.91 kB / 1.088 GB, free: 77.66 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.111e-05/0.6569, allocations: 15.58 kB / 1.088 GB, free: 77.66 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.6569, allocations: 6.844 kB / 1.088 GB, free: 77.66 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00393/0.6608, allocations: 3.003 MB / 1.091 GB, free: 77.17 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008755/0.6617, allocations: 0.5306 MB / 1.091 GB, free: 77.02 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003478/0.6621, allocations: 79.84 kB / 1.091 GB, free: 77.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.6635, allocations: 191.4 kB / 1.091 GB, free: 77.02 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003933/0.6639, allocations: 244.3 kB / 1.092 GB, free: 77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002001/0.6641, allocations: 90.86 kB / 1.092 GB, free: 77 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004954/0.6646, allocations: 0.6615 MB / 1.092 GB, free: 76.92 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6646, allocations: 0 / 1.092 GB, free: 76.92 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001824/0.6664, allocations: 1.347 MB / 1.094 GB, free: 76.85 MB / 1.01 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004164/0.6668, allocations: 230.1 kB / 1.094 GB, free: 76.77 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002436/0.6693, allocations: 2.021 MB / 1.096 GB, free: 76.68 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.823e-05/0.6693, allocations: 27.06 kB / 1.096 GB, free: 76.68 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.6706, allocations: 1.112 MB / 1.097 GB, free: 76.64 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003177/0.6737, allocations: 1.595 MB / 1.098 GB, free: 76.46 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0068/0.6805, allocations: 6.129 MB / 1.104 GB, free: 74.16 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.681, allocations: 0.7464 MB / 1.105 GB, free: 74.01 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002462/0.6835, allocations: 0.6734 MB / 1.106 GB, free: 73.93 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00289/0.6864, allocations: 1.084 MB / 1.107 GB, free: 73.84 MB / 1.01 GB Notification: Performance of SimCode: time 1.162e-06/0.6864, allocations: 4 kB / 1.107 GB, free: 73.83 MB / 1.01 GB Notification: Performance of Templates: time 0.06626/0.7527, allocations: 76.52 MB / 1.182 GB, free: 19.57 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile [Timeout 300] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.530703943222761]