Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002274/0.002274, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002518/0.002518, allocations: 161.7 kB / 23.55 MB, free: 0.8789 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 1.885/1.885, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.895/2.895, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.1.",fileNamePrefix="Buildings_11_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.1.",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.603e-05, allocations: 5.125 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.8144/0.8144, allocations: 295.5 MB / 1.075 GB, free: 48.66 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.02163/0.8361, allocations: 17.5 MB / 1.092 GB, free: 48.61 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003222/0.8393, allocations: 106.6 kB / 1.092 GB, free: 48.61 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.00435/0.8436, allocations: 1.811 MB / 1.094 GB, free: 48.57 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.01605/0.8597, allocations: 6.889 MB / 1.101 GB, free: 48 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.008081/0.8678, allocations: 3.065 MB / 1.104 GB, free: 47.74 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.01142/0.8792, allocations: 7.958 MB / 1.111 GB, free: 46.33 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004639/0.8838, allocations: 2.049 MB / 1.113 GB, free: 46.11 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009781/0.8936, allocations: 3.853 MB / 1.117 GB, free: 45.78 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006007/0.8996, allocations: 2.605 MB / 1.12 GB, free: 45.53 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.00103/0.9007, allocations: 332 kB / 1.12 GB, free: 45.52 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01133/0.912, allocations: 5.156 MB / 1.125 GB, free: 44.95 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001857/0.9138, allocations: 1.465 MB / 1.127 GB, free: 44.78 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.002621/0.9165, allocations: 1.378 MB / 1.128 GB, free: 44.64 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.9285, allocations: 7.014 MB / 1.135 GB, free: 44.06 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.9285, allocations: 0.9062 kB / 1.135 GB, free: 44.06 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9285, allocations: 0 / 1.135 GB, free: 44.06 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.000104/0.9286, allocations: 0 / 1.135 GB, free: 44.06 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.009473/0.9381, allocations: 4.401 MB / 1.139 GB, free: 42.29 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.9381, allocations: 9.938 kB / 1.139 GB, free: 42.29 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006141/0.9443, allocations: 1.249 MB / 1.14 GB, free: 42.02 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003577/0.9478, allocations: 1.854 MB / 1.142 GB, free: 41.54 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.948, allocations: 199.1 kB / 1.142 GB, free: 41.53 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004048/0.9484, allocations: 276.7 kB / 1.143 GB, free: 41.52 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004509/0.9529, allocations: 3.178 MB / 1.146 GB, free: 40.66 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.955e-05/0.9529, allocations: 8.203 kB / 1.146 GB, free: 40.66 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002514/0.9532, allocations: 110 kB / 1.146 GB, free: 40.66 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001171/0.9533, allocations: 140.5 kB / 1.146 GB, free: 40.65 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00421/0.9575, allocations: 2.369 MB / 1.148 GB, free: 40.62 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.01333/0.9709, allocations: 9.015 MB / 1.157 GB, free: 37.56 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003194/0.974, allocations: 2.257 MB / 1.159 GB, free: 37.08 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00205/0.9761, allocations: 1.242 MB / 1.16 GB, free: 36.74 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009519/0.9771, allocations: 244 kB / 1.161 GB, free: 36.71 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.9771, allocations: 71.8 kB / 1.161 GB, free: 36.64 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=278): time 4.93e-06/0.9771, allocations: 0 / 1.161 GB, free: 36.64 MB / 0.9948 GB Notification: Performance of matching and sorting (n=278): time 0.00493/0.982, allocations: 2.741 MB / 1.163 GB, free: 35.75 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.9821, allocations: 83.66 kB / 1.163 GB, free: 35.68 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.9838, allocations: 1.527 MB / 1.165 GB, free: 35.02 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000185/0.984, allocations: 77.36 kB / 1.165 GB, free: 34.95 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000569/0.9845, allocations: 1.129 MB / 1.166 GB, free: 34.08 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007093/0.9852, allocations: 1.054 MB / 1.167 GB, free: 33.25 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006544/0.9859, allocations: 481.5 kB / 1.168 GB, free: 33.02 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.986, allocations: 478.7 kB / 1.168 GB, free: 32.55 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.9872, allocations: 0.6518 MB / 1.169 GB, free: 32.38 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.9886, allocations: 1.051 MB / 1.17 GB, free: 31.87 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002806/0.9914, allocations: 1.97 MB / 1.172 GB, free: 30.96 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.9914, allocations: 0 / 1.172 GB, free: 30.96 MB / 0.9948 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.003801/0.9952, allocations: 2.218 MB / 1.174 GB, free: 30.18 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.9952, allocations: 10.66 kB / 1.174 GB, free: 30.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.9952, allocations: 5.344 kB / 1.174 GB, free: 30.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.245e-05/0.9953, allocations: 12.94 kB / 1.174 GB, free: 30.18 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/0.9974, allocations: 0.5109 MB / 1.174 GB, free: 30.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-05/0.9975, allocations: 19.45 kB / 1.174 GB, free: 30.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.9995, allocations: 179 kB / 1.175 GB, free: 30.02 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/0.9997, allocations: 82.45 kB / 1.175 GB, free: 30 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 (311): * Single equations (assignments): 311 * 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.001058/1.001, allocations: 474.2 kB / 1.175 GB, free: 29.67 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006373/1.001, allocations: 325 kB / 1.175 GB, free: 29.51 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004022/1.005, allocations: 2.269 MB / 1.178 GB, free: 28.62 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/1.005, allocations: 29.7 kB / 1.178 GB, free: 28.62 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/1.005, allocations: 0 / 1.178 GB, free: 28.62 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002722/1.008, allocations: 1.828 MB / 1.179 GB, free: 27.93 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008154/1.016, allocations: 4.813 MB / 1.184 GB, free: 25.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/1.016, allocations: 0 / 1.184 GB, free: 25.85 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002434/1.019, allocations: 0.5404 MB / 1.185 GB, free: 25.83 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.444e-05/1.019, allocations: 9.531 kB / 1.185 GB, free: 25.83 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/1.019, allocations: 62.08 kB / 1.185 GB, free: 25.79 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-05/1.019, allocations: 13.47 kB / 1.185 GB, free: 25.79 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.019, allocations: 0 / 1.185 GB, free: 25.79 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004955/1.024, allocations: 3.318 MB / 1.188 GB, free: 24.47 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/1.025, allocations: 0.5168 MB / 1.188 GB, free: 24.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003206/1.026, allocations: 54.83 kB / 1.189 GB, free: 24.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/1.027, allocations: 60.45 kB / 1.189 GB, free: 24.11 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003177/1.028, allocations: 175.5 kB / 1.189 GB, free: 24.08 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/1.028, allocations: 78.61 kB / 1.189 GB, free: 24.06 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001071/1.029, allocations: 0.9294 MB / 1.19 GB, free: 23.68 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/1.029, allocations: 0 / 1.19 GB, free: 23.68 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001958/1.031, allocations: 1.003 MB / 1.191 GB, free: 23.47 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.0005699/1.031, allocations: 376.1 kB / 1.191 GB, free: 23.29 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00302/1.034, allocations: 1.938 MB / 1.193 GB, free: 22.8 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.034, allocations: 4.469 kB / 1.193 GB, free: 22.8 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001482/1.036, allocations: 1.111 MB / 1.194 GB, free: 22.54 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005216/1.041, allocations: 1.301 MB / 1.195 GB, free: 22.14 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006834/1.048, allocations: 5.198 MB / 1.2 GB, free: 19.36 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/1.049, allocations: 1.282 MB / 1.202 GB, free: 19.05 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0024/1.051, allocations: 0.6943 MB / 1.202 GB, free: 18.89 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00068/1.052, allocations: 207.3 kB / 1.203 GB, free: 18.88 MB / 0.9948 GB Notification: Performance of SimCode: time 1.312e-06/1.052, allocations: 3.312 kB / 1.203 GB, free: 18.88 MB / 0.9948 GB Notification: Performance of Templates: time 0.07499/1.127, allocations: 49.43 MB / 1.251 GB, free: 14.13 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.946296654059552]