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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 99.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 185.1 kB / 16.92 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.133/1.133, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.18/2.18, allocations: 443.2 MB / 0.7181 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002654, allocations: 10.81 kB / 0.8801 GB, free: 42.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2023, allocations: 155.1 MB / 1.032 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6416/0.844, allocations: 288.9 MB / 1.314 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01596/0.86, allocations: 17.05 MB / 1.33 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001768/0.8617, allocations: 65.03 kB / 1.33 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.8645, allocations: 1.653 MB / 1.332 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009941/0.8745, allocations: 6.071 MB / 1.338 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004734/0.8792, allocations: 2.676 MB / 1.341 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007932/0.8871, allocations: 11.2 MB / 1.352 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002184/0.8893, allocations: 2.128 MB / 1.354 GB, free: 16.7 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002798/0.8921, allocations: 2.338 MB / 1.356 GB, free: 16.69 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003009/0.8952, allocations: 2.736 MB / 1.359 GB, free: 16.66 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000245/0.8954, allocations: 156.6 kB / 1.359 GB, free: 16.66 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00908/0.9045, allocations: 7.157 MB / 1.366 GB, free: 16.59 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008501/0.9054, allocations: 1.154 MB / 1.367 GB, free: 16.28 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00149/0.9069, allocations: 1.7 MB / 1.369 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004877/0.9117, allocations: 4.994 MB / 1.373 GB, free: 13.43 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.9118, allocations: 0 / 1.373 GB, free: 13.43 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9118, allocations: 0 / 1.373 GB, free: 13.43 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.634e-05/0.9118, allocations: 0 / 1.373 GB, free: 13.43 MB / 1.014 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.007243/0.919, allocations: 3.548 MB / 1.377 GB, free: 11.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.9191, allocations: 10.94 kB / 1.377 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005037/0.9241, allocations: 0.9174 MB / 1.378 GB, free: 10.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/0.9264, allocations: 1.841 MB / 1.38 GB, free: 10.11 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-05/0.9265, allocations: 196.5 kB / 1.38 GB, free: 10.1 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003012/0.9268, allocations: 262.4 kB / 1.38 GB, free: 10.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004172/0.931, allocations: 3.333 MB / 1.383 GB, free: 9.152 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.307e-05/0.931, allocations: 10.47 kB / 1.383 GB, free: 9.148 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002151/0.9312, allocations: 110.8 kB / 1.383 GB, free: 9.121 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.9313, allocations: 137.5 kB / 1.384 GB, free: 9.094 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004696/0.9361, allocations: 3.498 MB / 1.387 GB, free: 7.398 MB / 1.014 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.01124/0.9473, allocations: 12.11 MB / 1.399 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003647/0.951, allocations: 3.501 MB / 1.402 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002154/0.9531, allocations: 1.808 MB / 1.404 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001199/0.9543, allocations: 1.497 MB / 1.405 GB, free: 8.707 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.9544, allocations: 65.28 kB / 1.405 GB, free: 8.645 MB / 1.029 GB Notification: Performance of pre-optimization done (n=278): time 4.659e-06/0.9544, allocations: 7.984 kB / 1.405 GB, free: 8.637 MB / 1.029 GB Notification: Performance of matching and sorting (n=278): time 0.005283/0.9597, allocations: 3.884 MB / 1.409 GB, free: 4.812 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.9597, allocations: 81.59 kB / 1.409 GB, free: 4.719 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.9612, allocations: 1.379 MB / 1.411 GB, free: 3.336 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.9613, allocations: 73.7 kB / 1.411 GB, free: 3.258 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005713/0.9619, allocations: 0.9881 MB / 1.412 GB, free: 2.258 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006123/0.9625, allocations: 0.9499 MB / 1.413 GB, free: 1.316 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.9628, allocations: 194.6 kB / 1.413 GB, free: 1.121 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 7.929e-05/0.9628, allocations: 313.1 kB / 1.413 GB, free: 0.8125 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.9644, allocations: 1.09 MB / 1.414 GB, free: 15.72 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/0.966, allocations: 1.357 MB / 1.416 GB, free: 14.3 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003365/0.9694, allocations: 2.645 MB / 1.418 GB, free: 11.57 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.9694, allocations: 0 / 1.418 GB, free: 11.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.003898/0.9733, allocations: 2.979 MB / 1.421 GB, free: 8.574 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.9733, allocations: 6.031 kB / 1.421 GB, free: 8.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.9734, allocations: 8.5 kB / 1.421 GB, free: 8.562 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.9734, allocations: 20 kB / 1.421 GB, free: 8.543 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/0.9752, allocations: 0.5102 MB / 1.422 GB, free: 8.062 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/0.9752, allocations: 19.19 kB / 1.422 GB, free: 8.047 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.9774, allocations: 377.6 kB / 1.422 GB, free: 7.676 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.9776, allocations: 87.98 kB / 1.422 GB, free: 7.59 MB / 1.045 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.0008248/0.9784, allocations: 0.644 MB / 1.423 GB, free: 6.969 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/0.9787, allocations: 229.3 kB / 1.423 GB, free: 6.742 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00435/0.983, allocations: 3.112 MB / 1.426 GB, free: 3.574 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.9831, allocations: 32 kB / 1.426 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.9831, allocations: 0 / 1.426 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003327/0.9864, allocations: 2.664 MB / 1.429 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007657/0.9941, allocations: 6.214 MB / 1.435 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.9941, allocations: 0 / 1.435 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/0.9962, allocations: 0.5403 MB / 1.435 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/0.9962, allocations: 12 kB / 1.435 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/0.9963, allocations: 66.88 kB / 1.435 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.465e-06/0.9963, allocations: 8 kB / 1.435 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9963, allocations: 0 / 1.435 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005564/1.002, allocations: 4.577 MB / 1.44 GB, free: 5.305 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008347/1.003, allocations: 0.6032 MB / 1.44 GB, free: 4.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/1.003, allocations: 51.98 kB / 1.44 GB, free: 4.629 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/1.005, allocations: 231.4 kB / 1.441 GB, free: 4.402 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002713/1.005, allocations: 162 kB / 1.441 GB, free: 4.242 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/1.005, allocations: 83.91 kB / 1.441 GB, free: 4.16 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001026/1.006, allocations: 0.9495 MB / 1.442 GB, free: 3.219 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/1.006, allocations: 0 / 1.442 GB, free: 3.219 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001573/1.008, allocations: 0.9862 MB / 1.443 GB, free: 2.23 MB / 1.061 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.0004951/1.008, allocations: 380.9 kB / 1.443 GB, free: 1.895 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003433/1.012, allocations: 2.764 MB / 1.446 GB, free: 15.14 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.012, allocations: 2.438 kB / 1.446 GB, free: 15.14 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001726/1.013, allocations: 1.509 MB / 1.447 GB, free: 13.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00481/1.018, allocations: 1.276 MB / 1.448 GB, free: 12.41 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007684/1.026, allocations: 7.655 MB / 1.456 GB, free: 4.703 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/1.027, allocations: 1.891 MB / 1.458 GB, free: 2.773 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007349/1.028, allocations: 235.4 kB / 1.458 GB, free: 2.547 MB / 1.076 GB Notification: Performance of SimCode: time 2.3e-07/1.028, allocations: 0 / 1.458 GB, free: 2.547 MB / 1.076 GB Notification: Performance of Templates: time 0.04208/1.07, allocations: 42.4 MB / 1.499 GB, free: 8.387 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches