Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008078/0.0008078, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009057/0.0009057, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9265/0.9265, allocations: 177.1 MB / 204.6 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.776/1.776, allocations: 377.8 MB / 0.6239 GB, free: 8.594 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8115 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.161e-05, allocations: 14.19 kB / 0.8115 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6043/0.6043, allocations: 295.9 MB / 1.1 GB, free: 48.32 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0192/0.6235, allocations: 17.5 MB / 1.118 GB, free: 48.17 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002948/0.6264, allocations: 107 kB / 1.118 GB, free: 48.17 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.004192/0.6306, allocations: 1.817 MB / 1.119 GB, free: 48.12 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.01393/0.6446, allocations: 6.895 MB / 1.126 GB, free: 47.09 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.006278/0.6508, allocations: 3.068 MB / 1.129 GB, free: 46.83 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.008639/0.6595, allocations: 7.965 MB / 1.137 GB, free: 45.41 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002781/0.6623, allocations: 2.043 MB / 1.139 GB, free: 45.18 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006702/0.669, allocations: 4.105 MB / 1.143 GB, free: 44.84 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00405/0.673, allocations: 2.571 MB / 1.145 GB, free: 44.59 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0007278/0.6737, allocations: 327.3 kB / 1.146 GB, free: 44.59 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009511/0.6832, allocations: 5.129 MB / 1.151 GB, free: 44.02 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001994/0.6852, allocations: 1.452 MB / 1.152 GB, free: 43.84 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.002697/0.6879, allocations: 1.368 MB / 1.154 GB, free: 43.71 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01532/0.7033, allocations: 5.481 MB / 1.159 GB, free: 42.86 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.7033, allocations: 3.25 kB / 1.159 GB, free: 42.86 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7033, allocations: 0 / 1.159 GB, free: 42.86 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001403/0.7034, allocations: 0 / 1.159 GB, free: 42.86 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.006483/0.7099, allocations: 4.158 MB / 1.163 GB, free: 40.53 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.7099, allocations: 11.84 kB / 1.163 GB, free: 40.53 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003926/0.7139, allocations: 1.256 MB / 1.164 GB, free: 40.11 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002694/0.7165, allocations: 1.791 MB / 1.166 GB, free: 39.27 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.7166, allocations: 192.6 kB / 1.166 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003401/0.717, allocations: 269.8 kB / 1.166 GB, free: 39.09 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003026/0.72, allocations: 2.645 MB / 1.169 GB, free: 37.74 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.508e-05/0.7201, allocations: 5.672 kB / 1.169 GB, free: 37.74 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/0.7202, allocations: 111.1 kB / 1.169 GB, free: 37.66 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.7204, allocations: 152.3 kB / 1.169 GB, free: 37.65 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/0.7229, allocations: 1.688 MB / 1.171 GB, free: 37.37 MB / 0.9948 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.008276/0.7312, allocations: 7.923 MB / 1.179 GB, free: 32.7 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/0.7335, allocations: 2.162 MB / 1.181 GB, free: 31.99 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.7348, allocations: 1.004 MB / 1.182 GB, free: 31.78 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005615/0.7354, allocations: 241.3 kB / 1.182 GB, free: 31.75 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.7354, allocations: 67.83 kB / 1.182 GB, free: 31.69 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=278): time 4.559e-06/0.7354, allocations: 0 / 1.182 GB, free: 31.69 MB / 0.9948 GB Notification: Performance of matching and sorting (n=278): time 0.00331/0.7387, allocations: 2.214 MB / 1.184 GB, free: 31.07 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.7388, allocations: 80.53 kB / 1.184 GB, free: 31 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.7399, allocations: 1.222 MB / 1.185 GB, free: 30.5 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.7401, allocations: 75.64 kB / 1.186 GB, free: 30.43 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004699/0.7405, allocations: 1.115 MB / 1.187 GB, free: 29.56 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006021/0.7411, allocations: 0.9988 MB / 1.188 GB, free: 28.77 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004664/0.7416, allocations: 448.7 kB / 1.188 GB, free: 28.55 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.485e-05/0.7416, allocations: 478.5 kB / 1.188 GB, free: 28.08 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007988/0.7424, allocations: 490.9 kB / 1.189 GB, free: 28.01 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009116/0.7433, allocations: 0.8267 MB / 1.19 GB, free: 27.63 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.7451, allocations: 1.468 MB / 1.191 GB, free: 26.96 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.7451, allocations: 3.938 kB / 1.191 GB, free: 26.96 MB / 0.9948 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.002807/0.748, allocations: 1.925 MB / 1.193 GB, free: 26.36 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.748, allocations: 6.562 kB / 1.193 GB, free: 26.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.748, allocations: 5.531 kB / 1.193 GB, free: 26.36 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/0.748, allocations: 16.5 kB / 1.193 GB, free: 26.36 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.7494, allocations: 0.5411 MB / 1.194 GB, free: 26.34 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-05/0.7494, allocations: 19.14 kB / 1.194 GB, free: 26.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.7507, allocations: 197.8 kB / 1.194 GB, free: 26.19 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.7508, allocations: 95.56 kB / 1.194 GB, free: 26.16 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (332): * Single equations (assignments): 332 * 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.0006128/0.7514, allocations: 295 kB / 1.194 GB, free: 25.92 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003841/0.7518, allocations: 313.3 kB / 1.194 GB, free: 25.77 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.7542, allocations: 1.926 MB / 1.196 GB, free: 25.06 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.7542, allocations: 24.75 kB / 1.196 GB, free: 25.06 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.7542, allocations: 4.031 kB / 1.196 GB, free: 25.06 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001786/0.756, allocations: 1.481 MB / 1.198 GB, free: 24.55 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005168/0.7612, allocations: 3.949 MB / 1.202 GB, free: 22.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.7612, allocations: 6.375 kB / 1.202 GB, free: 22.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/0.7626, allocations: 0.5361 MB / 1.202 GB, free: 22.88 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-05/0.7626, allocations: 13.41 kB / 1.202 GB, free: 22.88 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.7627, allocations: 63.91 kB / 1.202 GB, free: 22.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/0.7627, allocations: 9 kB / 1.202 GB, free: 22.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.7627, allocations: 2.531 kB / 1.202 GB, free: 22.84 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003237/0.766, allocations: 2.58 MB / 1.205 GB, free: 21.92 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008612/0.7668, allocations: 0.5219 MB / 1.205 GB, free: 21.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000229/0.7671, allocations: 54.83 kB / 1.205 GB, free: 21.58 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008299/0.7679, allocations: 59.25 kB / 1.205 GB, free: 21.55 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/0.7681, allocations: 173.5 kB / 1.206 GB, free: 21.52 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.7682, allocations: 89.28 kB / 1.206 GB, free: 21.5 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006919/0.7689, allocations: 0.733 MB / 1.206 GB, free: 21.23 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.7689, allocations: 0 / 1.206 GB, free: 21.23 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001674/0.7706, allocations: 1.021 MB / 1.207 GB, free: 21.02 MB / 0.9948 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.0005546/0.7711, allocations: 389 kB / 1.208 GB, free: 20.82 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002098/0.7732, allocations: 1.565 MB / 1.209 GB, free: 20.55 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.7733, allocations: 2.406 kB / 1.209 GB, free: 20.55 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009446/0.7742, allocations: 0.898 MB / 1.21 GB, free: 20.42 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003177/0.7774, allocations: 1.293 MB / 1.211 GB, free: 20.01 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005732/0.7831, allocations: 4.946 MB / 1.216 GB, free: 17.38 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.7835, allocations: 0.6076 MB / 1.217 GB, free: 17.2 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.00195/0.7854, allocations: 0.7281 MB / 1.218 GB, free: 17.04 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005422/0.786, allocations: 206.2 kB / 1.218 GB, free: 17.02 MB / 0.9948 GB Notification: Performance of SimCode: time 2.004e-06/0.786, allocations: 0 / 1.218 GB, free: 17.02 MB / 0.9948 GB Notification: Performance of Templates: time 0.05155/0.8375, allocations: 49.54 MB / 1.266 GB, free: 6.156 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.470104604959488]