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.001014/0.001014, allocations: 92.22 kB / 19.65 MB, free: 280 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.001474/0.001474, allocations: 169 kB / 23.02 MB, free: 1.551 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.8956/0.8956, allocations: 177.1 MB / 203.4 MB, free: 5.633 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 1.924/1.924, allocations: 429.5 MB / 0.6732 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 178] 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.694e-06/1.694e-06, allocations: 4.594 kB / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.153e-05, allocations: 4.703 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.126/0.1261, allocations: 161.1 MB / 1.035 GB, free: 4.715 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01002/0.1361, allocations: 7.621 MB / 1.043 GB, free: 13.09 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.1374, allocations: 107.2 kB / 1.043 GB, free: 12.98 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.1385, allocations: 0.6555 MB / 1.044 GB, free: 12.32 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003698/0.1422, allocations: 2.976 MB / 1.047 GB, free: 9.332 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002198/0.1444, allocations: 1.672 MB / 1.048 GB, free: 7.656 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.3709/0.5153, allocations: 7.863 MB / 1.056 GB, free: 51.34 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002703/0.518, allocations: 2.045 MB / 1.058 GB, free: 51.17 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004825/0.5228, allocations: 4.039 MB / 1.062 GB, free: 51.16 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002584/0.5254, allocations: 2.533 MB / 1.064 GB, free: 51.16 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003703/0.5257, allocations: 324.6 kB / 1.065 GB, free: 51.16 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.5269, allocations: 0.7221 MB / 1.065 GB, free: 51.16 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0007707/0.5277, allocations: 1.442 MB / 1.067 GB, free: 51.16 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.5288, allocations: 1.366 MB / 1.068 GB, free: 51.16 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002184/0.5309, allocations: 3.211 MB / 1.071 GB, free: 50.93 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5309, allocations: 0 / 1.071 GB, free: 50.93 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5309, allocations: 0.5312 kB / 1.071 GB, free: 50.93 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.974e-05/0.531, allocations: 0.7812 kB / 1.071 GB, free: 50.93 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.003947/0.5349, allocations: 3.776 MB / 1.075 GB, free: 49.39 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.535, allocations: 9.031 kB / 1.075 GB, free: 49.39 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00515/0.5401, allocations: 1.968 MB / 1.077 GB, free: 49.03 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.5418, allocations: 1.789 MB / 1.079 GB, free: 48.57 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.944e-05/0.5419, allocations: 203.7 kB / 1.079 GB, free: 48.55 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/0.5421, allocations: 268.9 kB / 1.079 GB, free: 48.55 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/0.5451, allocations: 2.975 MB / 1.082 GB, free: 47.68 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.409e-05/0.5451, allocations: 6.281 kB / 1.082 GB, free: 47.68 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001981/0.5453, allocations: 107.6 kB / 1.082 GB, free: 47.68 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.27e-05/0.5454, allocations: 149.9 kB / 1.082 GB, free: 47.67 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002913/0.5483, allocations: 1.974 MB / 1.084 GB, free: 47.62 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.007388/0.5557, allocations: 8.423 MB / 1.092 GB, free: 44.61 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002815/0.5585, allocations: 2.382 MB / 1.095 GB, free: 44.48 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.56, allocations: 1.115 MB / 1.096 GB, free: 44.45 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.5601, allocations: 66.42 kB / 1.096 GB, free: 44.45 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.5602, allocations: 78.36 kB / 1.096 GB, free: 44.39 MB / 1.01 GB Notification: Performance of pre-optimization done (n=278): time 3.778e-06/0.5602, allocations: 0.9375 kB / 1.096 GB, free: 44.39 MB / 1.01 GB Notification: Performance of matching and sorting (n=278): time 0.003817/0.564, allocations: 2.509 MB / 1.098 GB, free: 44.12 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.564, allocations: 81.66 kB / 1.098 GB, free: 44.06 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.5651, allocations: 1.315 MB / 1.1 GB, free: 43.79 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.5653, allocations: 75.89 kB / 1.1 GB, free: 43.76 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004574/0.5657, allocations: 1.166 MB / 1.101 GB, free: 43.2 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004732/0.5662, allocations: 1.008 MB / 1.102 GB, free: 42.54 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006188/0.5668, allocations: 493.8 kB / 1.102 GB, free: 42.5 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.022e-05/0.5669, allocations: 478.9 kB / 1.103 GB, free: 42.03 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.5679, allocations: 0.6396 MB / 1.103 GB, free: 42.02 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.5692, allocations: 1.202 MB / 1.105 GB, free: 41.48 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/0.5717, allocations: 1.989 MB / 1.107 GB, free: 40.9 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.5717, allocations: 2.156 kB / 1.107 GB, free: 40.9 MB / 1.01 GB Notification: Performance of matching and sorting (n=356) (initialization): time 0.003537/0.5752, allocations: 2.379 MB / 1.109 GB, free: 40.65 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.5753, allocations: 9.125 kB / 1.109 GB, free: 40.65 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.5753, allocations: 11.64 kB / 1.109 GB, free: 40.65 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.739e-05/0.5753, allocations: 22.03 kB / 1.109 GB, free: 40.65 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002308/0.5776, allocations: 0.663 MB / 1.11 GB, free: 40.65 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-05/0.5777, allocations: 32.06 kB / 1.11 GB, free: 40.65 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/0.5796, allocations: 301.5 kB / 1.11 GB, free: 40.52 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002184/0.5798, allocations: 102.8 kB / 1.11 GB, free: 40.52 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.0007673/0.5806, allocations: 308.1 kB / 1.11 GB, free: 40.36 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005417/0.5811, allocations: 340.9 kB / 1.111 GB, free: 40.23 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.5815, allocations: 328.6 kB / 1.111 GB, free: 40.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.5815, allocations: 25.72 kB / 1.111 GB, free: 40.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.093e-05/0.5815, allocations: 1.406 kB / 1.111 GB, free: 40.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002579/0.5841, allocations: 1.668 MB / 1.113 GB, free: 39.95 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006787/0.5909, allocations: 4.359 MB / 1.117 GB, free: 39.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.5909, allocations: 0 / 1.117 GB, free: 39.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/0.593, allocations: 0.6186 MB / 1.117 GB, free: 39.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.737e-05/0.593, allocations: 10 kB / 1.117 GB, free: 39.41 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000205/0.5932, allocations: 67.58 kB / 1.117 GB, free: 39.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.124e-05/0.5932, allocations: 10.88 kB / 1.117 GB, free: 39.41 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5932, allocations: 0 / 1.117 GB, free: 39.41 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004828/0.598, allocations: 2.921 MB / 1.12 GB, free: 38.93 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.5992, allocations: 0.5654 MB / 1.121 GB, free: 38.77 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003283/0.5995, allocations: 50.41 kB / 1.121 GB, free: 38.77 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.6008, allocations: 138.3 kB / 1.121 GB, free: 38.77 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/0.6011, allocations: 170.7 kB / 1.121 GB, free: 38.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/0.6013, allocations: 85.91 kB / 1.121 GB, free: 38.77 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0008712/0.6022, allocations: 0.7662 MB / 1.122 GB, free: 38.62 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6022, allocations: 0 / 1.122 GB, free: 38.62 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001708/0.6039, allocations: 1.043 MB / 1.123 GB, free: 38.51 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.0003422/0.6042, allocations: 185.5 kB / 1.123 GB, free: 38.42 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002846/0.6071, allocations: 1.903 MB / 1.125 GB, free: 38.32 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6071, allocations: 0.9062 kB / 1.125 GB, free: 38.32 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.6083, allocations: 1.017 MB / 1.126 GB, free: 38.29 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003494/0.6118, allocations: 1.343 MB / 1.127 GB, free: 38.13 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006769/0.6186, allocations: 5.217 MB / 1.133 GB, free: 36 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/0.6191, allocations: 0.6076 MB / 1.133 GB, free: 35.87 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002818/0.6219, allocations: 0.8101 MB / 1.134 GB, free: 35.64 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008584/0.6228, allocations: 220.6 kB / 1.134 GB, free: 35.63 MB / 1.01 GB Notification: Performance of SimCode: time 1.713e-06/0.6228, allocations: 0 / 1.134 GB, free: 35.63 MB / 1.01 GB Notification: Performance of Templates: time 0.06156/0.6844, allocations: 58.1 MB / 1.191 GB, free: 17.16 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.765075429808348]