Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.000895/0.000895, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009093/0.0009093, allocations: 181 kB / 23.36 MB, free: 1.133 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.8808/0.8808, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.236/2.236, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 178] 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.ReverseBuoyancy3Zones,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|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,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|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.29e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.1292/0.1293, allocations: 160.2 MB / 0.995 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01097/0.1402, allocations: 7.798 MB / 1.003 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.1414, allocations: 107.2 kB / 1.003 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.1425, allocations: 0.6632 MB / 1.003 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.00377/0.1462, allocations: 2.972 MB / 1.006 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.1484, allocations: 1.688 MB / 1.008 GB, free: 120 kB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.005298/0.1536, allocations: 7.82 MB / 1.016 GB, free: 8.273 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/0.1553, allocations: 2.086 MB / 1.018 GB, free: 6.117 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004009/0.1593, allocations: 4.006 MB / 1.022 GB, free: 2.172 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002005/0.1614, allocations: 2.4 MB / 1.024 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003003/0.1617, allocations: 328 kB / 1.024 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.1627, allocations: 0.7099 MB / 1.025 GB, free: 14.73 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0008617/0.1636, allocations: 1.445 MB / 1.026 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.1649, allocations: 1.361 MB / 1.028 GB, free: 11.92 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.1672, allocations: 3.212 MB / 1.031 GB, free: 8.699 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1672, allocations: 4 kB / 1.031 GB, free: 8.695 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1672, allocations: 0 / 1.031 GB, free: 8.695 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.633e-05/0.1673, allocations: 0 / 1.031 GB, free: 8.695 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 690 * Number of variables: 690 Notification: Performance of Generate backend data structure: time 0.004017/0.1713, allocations: 3.547 MB / 1.034 GB, free: 5.102 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.1713, allocations: 8.625 kB / 1.034 GB, free: 5.094 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00521/0.1765, allocations: 1.98 MB / 1.036 GB, free: 3.109 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.1782, allocations: 1.368 MB / 1.038 GB, free: 1.688 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002262/0.1784, allocations: 205.1 kB / 1.038 GB, free: 1.484 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003215/0.1787, allocations: 263.9 kB / 1.038 GB, free: 1.227 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002538/0.1813, allocations: 2.749 MB / 1.041 GB, free: 14.27 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.372e-05/0.1813, allocations: 0 / 1.041 GB, free: 14.27 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002039/0.1815, allocations: 108 kB / 1.041 GB, free: 14.17 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.1816, allocations: 153.1 kB / 1.041 GB, free: 14.02 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.1836, allocations: 1.337 MB / 1.042 GB, free: 12.65 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.007044/0.1907, allocations: 6.447 MB / 1.048 GB, free: 6.078 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/0.1927, allocations: 2.032 MB / 1.05 GB, free: 4.031 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.1937, allocations: 0.8654 MB / 1.051 GB, free: 3.156 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.1939, allocations: 58.17 kB / 1.051 GB, free: 3.098 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.1939, allocations: 64.75 kB / 1.051 GB, free: 3.023 MB / 1.01 GB Notification: Performance of pre-optimization done (n=278): time 4.057e-06/0.1939, allocations: 0 / 1.051 GB, free: 3.023 MB / 1.01 GB Notification: Performance of matching and sorting (n=278): time 0.00232/0.1962, allocations: 1.599 MB / 1.053 GB, free: 1.391 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.1963, allocations: 89.52 kB / 1.053 GB, free: 1.289 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007326/0.197, allocations: 1.149 MB / 1.054 GB, free: 136 kB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001501/0.1971, allocations: 73.7 kB / 1.054 GB, free: 56 kB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.3592/0.5564, allocations: 0.8756 MB / 1.055 GB, free: 85.05 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008344/0.5572, allocations: 0.997 MB / 1.056 GB, free: 84.52 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006076/0.5578, allocations: 463.9 kB / 1.057 GB, free: 84.49 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 2.602e-05/0.5578, allocations: 303 kB / 1.057 GB, free: 84.19 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007012/0.5585, allocations: 426 kB / 1.057 GB, free: 84.18 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007931/0.5593, allocations: 0.8102 MB / 1.058 GB, free: 83.81 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.561, allocations: 1.501 MB / 1.06 GB, free: 83.39 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.561, allocations: 8.875 kB / 1.06 GB, free: 83.39 MB / 1.01 GB Notification: Performance of matching and sorting (n=356) (initialization): time 0.002242/0.5633, allocations: 1.557 MB / 1.061 GB, free: 83.29 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.5633, allocations: 11.62 kB / 1.061 GB, free: 83.29 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.5633, allocations: 10.09 kB / 1.061 GB, free: 83.29 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.077e-05/0.5633, allocations: 21.88 kB / 1.061 GB, free: 83.29 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.5651, allocations: 0.6534 MB / 1.062 GB, free: 83.29 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-05/0.5651, allocations: 28.75 kB / 1.062 GB, free: 83.29 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.5664, allocations: 295.1 kB / 1.062 GB, free: 83.22 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.5666, allocations: 75.23 kB / 1.062 GB, free: 83.22 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (356): * Single equations (assignments): 356 * 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.000553/0.5671, allocations: 268.5 kB / 1.062 GB, free: 83.1 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003677/0.5675, allocations: 244.3 kB / 1.063 GB, free: 83.1 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.5678, allocations: 330.7 kB / 1.063 GB, free: 83.06 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.5678, allocations: 25.84 kB / 1.063 GB, free: 83.06 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.5678, allocations: 1.031 kB / 1.063 GB, free: 83.06 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0014/0.5692, allocations: 1.056 MB / 1.064 GB, free: 82.84 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004144/0.5733, allocations: 2.994 MB / 1.067 GB, free: 82.46 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.5733, allocations: 0.9375 kB / 1.067 GB, free: 82.46 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/0.5751, allocations: 0.6096 MB / 1.067 GB, free: 82.46 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.69e-05/0.5751, allocations: 9.562 kB / 1.067 GB, free: 82.46 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/0.5752, allocations: 57.33 kB / 1.068 GB, free: 82.46 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/0.5753, allocations: 10.41 kB / 1.068 GB, free: 82.46 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5753, allocations: 0.9375 kB / 1.068 GB, free: 82.46 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00292/0.5782, allocations: 2.089 MB / 1.07 GB, free: 82.15 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006403/0.5788, allocations: 397.2 kB / 1.07 GB, free: 82.03 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/0.5791, allocations: 52.47 kB / 1.07 GB, free: 82.03 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.5801, allocations: 136.2 kB / 1.07 GB, free: 82.03 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002652/0.5804, allocations: 165.1 kB / 1.07 GB, free: 82.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/0.5805, allocations: 64.55 kB / 1.07 GB, free: 82.02 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004914/0.581, allocations: 0.5758 MB / 1.071 GB, free: 81.98 MB / 1.01 GB Notification: Performance of sort global known variables: time 9.1e-08/0.581, allocations: 0 / 1.071 GB, free: 81.98 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001449/0.5824, allocations: 1.04 MB / 1.072 GB, free: 81.91 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (278): * Single equations (assignments): 278 * 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.0002871/0.5827, allocations: 165.4 kB / 1.072 GB, free: 81.85 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001788/0.5845, allocations: 1.407 MB / 1.073 GB, free: 81.76 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.337e-05/0.5845, allocations: 22.25 kB / 1.073 GB, free: 81.76 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009324/0.5855, allocations: 0.7736 MB / 1.074 GB, free: 81.73 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/0.5884, allocations: 1.379 MB / 1.076 GB, free: 81.61 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005549/0.594, allocations: 4.749 MB / 1.08 GB, free: 79.78 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.5944, allocations: 0.5935 MB / 1.081 GB, free: 79.66 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001667/0.5961, allocations: 0.4959 MB / 1.081 GB, free: 79.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002112/0.5982, allocations: 0.9068 MB / 1.082 GB, free: 79.52 MB / 1.01 GB Notification: Performance of SimCode: time 9.62e-07/0.5982, allocations: 1.734 kB / 1.082 GB, free: 79.52 MB / 1.01 GB Notification: Performance of Templates: time 0.05266/0.6508, allocations: 59.9 MB / 1.141 GB, free: 57.94 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.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: 6.714901386760175]