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.001793/0.001793, allocations: 81.5 kB / 19.44 MB, free: 340 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.001986/0.001986, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.532/1.532, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 3.36/3.36, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] 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.1.",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.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.882e-05, allocations: 3.906 kB / 0.8774 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7652/0.7652, allocations: 295.7 MB / 1.166 GB, free: 41.18 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.02352/0.7887, allocations: 17.67 MB / 1.183 GB, free: 30.37 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00425/0.793, allocations: 106.2 kB / 1.184 GB, free: 30.37 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.004661/0.7976, allocations: 1.808 MB / 1.185 GB, free: 29.78 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.01589/0.8135, allocations: 6.977 MB / 1.192 GB, free: 26.43 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.007093/0.8206, allocations: 3.052 MB / 1.195 GB, free: 24.96 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.008726/0.8293, allocations: 8.017 MB / 1.203 GB, free: 21.23 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002914/0.8322, allocations: 2.06 MB / 1.205 GB, free: 19.95 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007329/0.8396, allocations: 4.144 MB / 1.209 GB, free: 18.24 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005038/0.8446, allocations: 2.601 MB / 1.212 GB, free: 17.42 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0009949/0.8456, allocations: 333.2 kB / 1.212 GB, free: 17.42 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01012/0.8557, allocations: 5.163 MB / 1.217 GB, free: 15.54 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.001761/0.8575, allocations: 1.456 MB / 1.218 GB, free: 14.8 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.003148/0.8606, allocations: 1.382 MB / 1.22 GB, free: 14.25 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.01325/0.8739, allocations: 7.067 MB / 1.227 GB, free: 11.99 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.8739, allocations: 0 / 1.227 GB, free: 11.99 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8739, allocations: 4 kB / 1.227 GB, free: 11.99 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001713/0.8741, allocations: 2.625 kB / 1.227 GB, free: 11.99 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.0111/0.8852, allocations: 4.18 MB / 1.231 GB, free: 9.609 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.8852, allocations: 12.53 kB / 1.231 GB, free: 9.609 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01295/0.8981, allocations: 2.046 MB / 1.233 GB, free: 9.074 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004055/0.9022, allocations: 1.883 MB / 1.235 GB, free: 8.141 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.9023, allocations: 196.3 kB / 1.235 GB, free: 8.051 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006003/0.9029, allocations: 268.5 kB / 1.235 GB, free: 7.965 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00589/0.9088, allocations: 3.527 MB / 1.238 GB, free: 5.656 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.255e-05/0.9089, allocations: 8.703 kB / 1.238 GB, free: 5.652 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003153/0.9092, allocations: 108 kB / 1.239 GB, free: 5.57 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001556/0.9094, allocations: 158.7 kB / 1.239 GB, free: 5.535 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00604/0.9154, allocations: 2.972 MB / 1.242 GB, free: 4.258 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.01433/0.9297, allocations: 8.841 MB / 1.25 GB, free: 13.92 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00621/0.9359, allocations: 3.069 MB / 1.253 GB, free: 12.65 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003226/0.9392, allocations: 1.502 MB / 1.255 GB, free: 12.06 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.9393, allocations: 64.34 kB / 1.255 GB, free: 12.05 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.704e-05/0.9394, allocations: 75.86 kB / 1.255 GB, free: 11.98 MB / 1.026 GB Notification: Performance of pre-optimization done (n=278): time 5.23e-06/0.9394, allocations: 0 / 1.255 GB, free: 11.98 MB / 1.026 GB Notification: Performance of matching and sorting (n=278): time 0.008716/0.9481, allocations: 3.564 MB / 1.258 GB, free: 10.24 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.256e-05/0.9482, allocations: 81.58 kB / 1.258 GB, free: 10.14 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/0.9503, allocations: 1.356 MB / 1.26 GB, free: 8.766 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0002846/0.9506, allocations: 77.7 kB / 1.26 GB, free: 8.684 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.9517, allocations: 1.122 MB / 1.261 GB, free: 7.547 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.001463/0.9531, allocations: 0.9992 MB / 1.262 GB, free: 6.539 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009926/0.9541, allocations: 455.9 kB / 1.262 GB, free: 6.086 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0002428/0.9544, allocations: 476.8 kB / 1.263 GB, free: 5.617 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002662/0.957, allocations: 1.016 MB / 1.264 GB, free: 4.602 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003108/0.9602, allocations: 1.371 MB / 1.265 GB, free: 3.145 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006302/0.9665, allocations: 2.465 MB / 1.267 GB, free: 0.5859 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.9665, allocations: 0 / 1.267 GB, free: 0.5859 MB / 1.026 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.008434/0.9749, allocations: 2.97 MB / 1.27 GB, free: 13.6 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.9749, allocations: 8 kB / 1.27 GB, free: 13.59 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.975, allocations: 4 kB / 1.27 GB, free: 13.59 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.04e-05/0.975, allocations: 19.94 kB / 1.27 GB, free: 13.57 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004/0.979, allocations: 0.6209 MB / 1.271 GB, free: 12.98 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.158e-05/0.9791, allocations: 19.08 kB / 1.271 GB, free: 12.96 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004354/0.9834, allocations: 270.4 kB / 1.271 GB, free: 12.7 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004645/0.9839, allocations: 91.97 kB / 1.271 GB, free: 12.61 MB / 1.042 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.001825/0.9857, allocations: 478.9 kB / 1.272 GB, free: 12.16 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00143/0.9872, allocations: 326.5 kB / 1.272 GB, free: 11.84 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.9882, allocations: 322.2 kB / 1.272 GB, free: 11.52 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-05/0.9883, allocations: 31.94 kB / 1.272 GB, free: 11.49 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.069e-05/0.9883, allocations: 0 / 1.272 GB, free: 11.49 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008679/0.997, allocations: 2.368 MB / 1.275 GB, free: 9.051 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01976/1.017, allocations: 5.243 MB / 1.28 GB, free: 3.703 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/1.017, allocations: 11.69 kB / 1.28 GB, free: 3.695 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00566/1.022, allocations: 0.6245 MB / 1.281 GB, free: 3.094 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.491e-05/1.022, allocations: 8 kB / 1.281 GB, free: 3.086 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000439/1.023, allocations: 67.95 kB / 1.281 GB, free: 3.02 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-05/1.023, allocations: 12 kB / 1.281 GB, free: 3.008 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.023, allocations: 0 / 1.281 GB, free: 3.008 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01499/1.038, allocations: 4.19 MB / 1.285 GB, free: 14.73 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00243/1.04, allocations: 0.5718 MB / 1.285 GB, free: 14.16 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007547/1.041, allocations: 51.98 kB / 1.285 GB, free: 14.11 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003724/1.045, allocations: 129.9 kB / 1.285 GB, free: 13.98 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006862/1.045, allocations: 173.8 kB / 1.286 GB, free: 13.81 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003836/1.046, allocations: 83.95 kB / 1.286 GB, free: 13.73 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.002268/1.048, allocations: 0.8699 MB / 1.287 GB, free: 12.86 MB / 1.057 GB Notification: Performance of sort global known variables: time 9e-08/1.048, allocations: 0 / 1.287 GB, free: 12.86 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.003491/1.052, allocations: 1.049 MB / 1.288 GB, free: 11.81 MB / 1.057 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.0007632/1.052, allocations: 330.6 kB / 1.288 GB, free: 11.51 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.007205/1.06, allocations: 2.581 MB / 1.29 GB, free: 8.934 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.06, allocations: 0 / 1.29 GB, free: 8.934 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003498/1.063, allocations: 1.374 MB / 1.292 GB, free: 7.602 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006649/1.07, allocations: 1.36 MB / 1.293 GB, free: 6.277 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/1.083, allocations: 5.564 MB / 1.299 GB, free: 0.6484 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001973/1.085, allocations: 1.287 MB / 1.3 GB, free: 15.32 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.004042/1.089, allocations: 0.7849 MB / 1.301 GB, free: 14.53 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001414/1.09, allocations: 216.4 kB / 1.301 GB, free: 14.32 MB / 1.073 GB Notification: Performance of SimCode: time 1.613e-06/1.09, allocations: 4 kB / 1.301 GB, free: 14.31 MB / 1.073 GB Notification: Performance of Templates: time 0.1015/1.191, allocations: 56.86 MB / 1.356 GB, free: 6.605 MB / 1.12 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.538769877981395]