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.00091/0.00091, allocations: 93.16 kB / 19.65 MB, free: 288 kB / 13.93 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.0009355/0.0009355, allocations: 168.9 kB / 23.01 MB, free: 1.562 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.9148/0.9148, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.037/2.037, allocations: 429.5 MB / 0.6732 GB, free: 4.062 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.563e-06/1.563e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.757e-05, allocations: 3.188 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.1384/0.1384, allocations: 161.1 MB / 1.035 GB, free: 4.691 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01372/0.1522, allocations: 7.615 MB / 1.043 GB, free: 13.07 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002852/0.155, allocations: 107.2 kB / 1.043 GB, free: 12.96 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.1571, allocations: 0.6593 MB / 1.044 GB, free: 12.3 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.005854/0.163, allocations: 2.964 MB / 1.047 GB, free: 9.32 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002973/0.1659, allocations: 1.68 MB / 1.048 GB, free: 7.637 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.4068/0.5728, allocations: 7.848 MB / 1.056 GB, free: 51.32 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003193/0.576, allocations: 2.051 MB / 1.058 GB, free: 51.15 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006692/0.5827, allocations: 3.502 MB / 1.061 GB, free: 51.15 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005/0.5877, allocations: 2.595 MB / 1.064 GB, free: 51.15 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.001179/0.5888, allocations: 331.9 kB / 1.064 GB, free: 51.15 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.5916, allocations: 0.8302 MB / 1.065 GB, free: 51.15 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.001397/0.593, allocations: 1.46 MB / 1.066 GB, free: 51.15 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.002441/0.5955, allocations: 1.382 MB / 1.068 GB, free: 51.15 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004706/0.6002, allocations: 3.275 MB / 1.071 GB, free: 50.92 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.6002, allocations: 1.25 kB / 1.071 GB, free: 50.92 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6002, allocations: 0 / 1.071 GB, free: 50.92 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.596e-05/0.6003, allocations: 0 / 1.071 GB, free: 50.92 MB / 1.01 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.0054/0.6057, allocations: 3.821 MB / 1.075 GB, free: 49.37 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.6057, allocations: 11.66 kB / 1.075 GB, free: 49.37 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006342/0.612, allocations: 2.053 MB / 1.077 GB, free: 49.01 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003375/0.6154, allocations: 1.851 MB / 1.078 GB, free: 48.53 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.6156, allocations: 205.3 kB / 1.079 GB, free: 48.52 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000565/0.6161, allocations: 268.1 kB / 1.079 GB, free: 48.52 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004365/0.6205, allocations: 2.974 MB / 1.082 GB, free: 47.64 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.318e-05/0.6205, allocations: 9.766 kB / 1.082 GB, free: 47.64 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/0.6208, allocations: 106.2 kB / 1.082 GB, free: 47.64 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/0.6209, allocations: 156.4 kB / 1.082 GB, free: 47.63 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003746/0.6246, allocations: 1.976 MB / 1.084 GB, free: 47.59 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.01189/0.6365, allocations: 8.447 MB / 1.092 GB, free: 44.57 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003466/0.64, allocations: 2.379 MB / 1.095 GB, free: 44.45 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001827/0.6418, allocations: 1.125 MB / 1.096 GB, free: 44.41 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/0.642, allocations: 65.52 kB / 1.096 GB, free: 44.41 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/0.642, allocations: 73.33 kB / 1.096 GB, free: 44.36 MB / 1.01 GB Notification: Performance of pre-optimization done (n=278): time 6.302e-06/0.642, allocations: 0 / 1.096 GB, free: 44.36 MB / 1.01 GB Notification: Performance of matching and sorting (n=278): time 0.00467/0.6467, allocations: 2.5 MB / 1.098 GB, free: 44.09 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.6468, allocations: 82.89 kB / 1.098 GB, free: 44.03 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.6483, allocations: 1.239 MB / 1.1 GB, free: 43.77 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002704/0.6486, allocations: 76.83 kB / 1.1 GB, free: 43.74 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005701/0.6492, allocations: 1.115 MB / 1.101 GB, free: 43.22 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007981/0.65, allocations: 1.003 MB / 1.102 GB, free: 42.56 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007448/0.6507, allocations: 458.5 kB / 1.102 GB, free: 42.52 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.098e-05/0.6508, allocations: 478.5 kB / 1.103 GB, free: 42.05 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.652, allocations: 0.6232 MB / 1.103 GB, free: 42.04 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.6534, allocations: 0.9737 MB / 1.104 GB, free: 41.79 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002924/0.6563, allocations: 1.719 MB / 1.106 GB, free: 41.48 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.771e-05/0.6563, allocations: 6.562 kB / 1.106 GB, free: 41.48 MB / 1.01 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004295/0.6606, allocations: 2.213 MB / 1.108 GB, free: 41.24 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.6607, allocations: 7.031 kB / 1.108 GB, free: 41.24 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.6607, allocations: 4.844 kB / 1.108 GB, free: 41.24 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.937e-05/0.6607, allocations: 15.78 kB / 1.108 GB, free: 41.24 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/0.6627, allocations: 0.6221 MB / 1.109 GB, free: 41.24 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.677e-05/0.6628, allocations: 16.95 kB / 1.109 GB, free: 41.24 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.6647, allocations: 274.3 kB / 1.109 GB, free: 41.13 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/0.6648, allocations: 92.08 kB / 1.109 GB, free: 41.13 MB / 1.01 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.0008443/0.6657, allocations: 293.3 kB / 1.109 GB, free: 40.97 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005944/0.6663, allocations: 324 kB / 1.11 GB, free: 40.85 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/0.6666, allocations: 323.3 kB / 1.11 GB, free: 40.81 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.6666, allocations: 26.78 kB / 1.11 GB, free: 40.81 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-05/0.6667, allocations: 0 / 1.11 GB, free: 40.81 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002923/0.6696, allocations: 1.675 MB / 1.112 GB, free: 40.57 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008163/0.6778, allocations: 4.372 MB / 1.116 GB, free: 40.01 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/0.6778, allocations: 1.156 kB / 1.116 GB, free: 40.01 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002207/0.68, allocations: 0.6231 MB / 1.116 GB, free: 40.01 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.5e-05/0.68, allocations: 9.781 kB / 1.116 GB, free: 40.01 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002359/0.6802, allocations: 65.12 kB / 1.116 GB, free: 40.01 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.328e-05/0.6802, allocations: 8.688 kB / 1.116 GB, free: 40.01 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6803, allocations: 4.719 kB / 1.116 GB, free: 40.01 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005597/0.6858, allocations: 2.911 MB / 1.119 GB, free: 39.53 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/0.6875, allocations: 0.5665 MB / 1.12 GB, free: 39.38 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005169/0.688, allocations: 51.47 kB / 1.12 GB, free: 39.38 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/0.6896, allocations: 135.3 kB / 1.12 GB, free: 39.38 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003544/0.6899, allocations: 169.6 kB / 1.12 GB, free: 39.37 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/0.6901, allocations: 86.17 kB / 1.12 GB, free: 39.37 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0009842/0.6911, allocations: 0.7444 MB / 1.121 GB, free: 39.22 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6911, allocations: 0 / 1.121 GB, free: 39.22 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002247/0.6933, allocations: 1.033 MB / 1.122 GB, free: 39.11 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.0003623/0.6937, allocations: 188.4 kB / 1.122 GB, free: 39.01 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003083/0.6968, allocations: 1.838 MB / 1.124 GB, free: 38.92 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.6968, allocations: 0 / 1.124 GB, free: 38.92 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001496/0.6983, allocations: 1.013 MB / 1.125 GB, free: 38.88 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003935/0.7022, allocations: 1.355 MB / 1.126 GB, free: 38.71 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007708/0.7099, allocations: 5.223 MB / 1.131 GB, free: 36.6 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006179/0.7105, allocations: 0.6067 MB / 1.132 GB, free: 36.47 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.003095/0.7136, allocations: 0.7924 MB / 1.133 GB, free: 36.25 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008903/0.7145, allocations: 215.2 kB / 1.133 GB, free: 36.24 MB / 1.01 GB Notification: Performance of SimCode: time 1.994e-06/0.7145, allocations: 2.406 kB / 1.133 GB, free: 36.24 MB / 1.01 GB Notification: Performance of Templates: time 0.05506/0.7696, allocations: 54.96 MB / 1.187 GB, free: 20.91 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: 7.221820242702961]