Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001929/0.001929, allocations: 110.3 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.586/1.586, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.779/2.779, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179/1.181, allocations: 151.6 MB / 1.167 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3857/1.566, allocations: 295.2 MB / 1.456 GB, free: 11.77 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03557/1.602, allocations: 17 MB / 1.472 GB, free: 10.73 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005878/1.608, allocations: 79.56 kB / 1.472 GB, free: 10.65 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.007623/1.616, allocations: 1.989 MB / 1.474 GB, free: 8.652 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.02353/1.639, allocations: 6.634 MB / 1.481 GB, free: 1.992 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.01089/1.65, allocations: 2.988 MB / 1.484 GB, free: 15 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01535/1.666, allocations: 7.699 MB / 1.491 GB, free: 7.281 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00559/1.671, allocations: 2.591 MB / 1.494 GB, free: 4.629 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0082/1.679, allocations: 2.854 MB / 1.496 GB, free: 1.766 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008522/1.688, allocations: 2.696 MB / 1.499 GB, free: 15.07 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.001606/1.69, allocations: 328 kB / 1.499 GB, free: 14.75 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01802/1.708, allocations: 6.188 MB / 1.505 GB, free: 8.547 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.003236/1.711, allocations: 1.344 MB / 1.507 GB, free: 7.199 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.005498/1.717, allocations: 1.879 MB / 1.509 GB, free: 5.312 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.02045/1.737, allocations: 6.919 MB / 1.515 GB, free: 14.37 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/1.737, allocations: 0 / 1.515 GB, free: 14.37 MB / 1.248 GB Notification: Performance of FrontEnd: time 3.356e-06/1.737, allocations: 0 / 1.515 GB, free: 14.37 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001881/1.737, allocations: 4 kB / 1.515 GB, free: 14.37 MB / 1.248 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.01534/1.753, allocations: 4.226 MB / 1.519 GB, free: 10.07 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/1.753, allocations: 8.922 kB / 1.519 GB, free: 10.06 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007479/1.76, allocations: 0.9345 MB / 1.52 GB, free: 9.121 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005398/1.766, allocations: 1.934 MB / 1.522 GB, free: 7.133 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/1.766, allocations: 193.1 kB / 1.522 GB, free: 6.941 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007131/1.767, allocations: 263.9 kB / 1.523 GB, free: 6.684 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007626/1.774, allocations: 3.337 MB / 1.526 GB, free: 3.246 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.585e-05/1.774, allocations: 8 kB / 1.526 GB, free: 3.238 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002943/1.775, allocations: 108 kB / 1.526 GB, free: 3.133 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002048/1.775, allocations: 137 kB / 1.526 GB, free: 2.996 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007368/1.782, allocations: 3.506 MB / 1.53 GB, free: 15.48 MB / 1.264 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.02258/1.805, allocations: 12.17 MB / 1.541 GB, free: 2.41 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006372/1.811, allocations: 3.514 MB / 1.545 GB, free: 14.83 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003682/1.815, allocations: 1.849 MB / 1.547 GB, free: 12.97 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002153/1.817, allocations: 1.493 MB / 1.548 GB, free: 11.16 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/1.817, allocations: 64.75 kB / 1.548 GB, free: 11.09 MB / 1.279 GB Notification: Performance of pre-optimization done (n=278): time 9.378e-06/1.817, allocations: 0 / 1.548 GB, free: 11.09 MB / 1.279 GB Notification: Performance of matching and sorting (n=278): time 0.008613/1.826, allocations: 3.898 MB / 1.552 GB, free: 7.137 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.83e-05/1.826, allocations: 81.59 kB / 1.552 GB, free: 7.043 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002814/1.829, allocations: 1.387 MB / 1.553 GB, free: 5.648 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0003005/1.829, allocations: 73.7 kB / 1.554 GB, free: 5.57 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001038/1.83, allocations: 0.9981 MB / 1.555 GB, free: 4.562 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001405/1.832, allocations: 0.9875 MB / 1.555 GB, free: 3.566 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000792/1.832, allocations: 412.9 kB / 1.556 GB, free: 3.156 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001632/1.833, allocations: 301.1 kB / 1.556 GB, free: 2.859 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/1.835, allocations: 1.094 MB / 1.557 GB, free: 1.762 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/1.837, allocations: 1.362 MB / 1.559 GB, free: 340 kB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9977/2.835, allocations: 2.642 MB / 1.561 GB, free: 384 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.937e-05/2.835, allocations: 1.594 kB / 1.561 GB, free: 384 MB / 1.279 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.006454/2.842, allocations: 2.984 MB / 1.564 GB, free: 382.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/2.842, allocations: 5 kB / 1.564 GB, free: 382.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/2.842, allocations: 8.688 kB / 1.564 GB, free: 382.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.041e-05/2.842, allocations: 18.88 kB / 1.564 GB, free: 382.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/2.844, allocations: 0.5099 MB / 1.565 GB, free: 382.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-05/2.844, allocations: 21.05 kB / 1.565 GB, free: 382.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/2.846, allocations: 191.2 kB / 1.565 GB, free: 382.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/2.847, allocations: 82.03 kB / 1.565 GB, free: 382.8 MB / 1.279 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.001302/2.848, allocations: 0.649 MB / 1.565 GB, free: 382.4 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000574/2.848, allocations: 243.5 kB / 1.566 GB, free: 382.4 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005336/2.854, allocations: 3.109 MB / 1.569 GB, free: 381.1 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/2.854, allocations: 28.45 kB / 1.569 GB, free: 381.1 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/2.854, allocations: 0 / 1.569 GB, free: 381.1 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003637/2.857, allocations: 2.652 MB / 1.571 GB, free: 379.9 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/2.868, allocations: 6.215 MB / 1.577 GB, free: 377.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/2.868, allocations: 3.938 kB / 1.577 GB, free: 377.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002388/2.87, allocations: 0.5361 MB / 1.578 GB, free: 377.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.888e-05/2.87, allocations: 11.34 kB / 1.578 GB, free: 377.4 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/2.87, allocations: 67.39 kB / 1.578 GB, free: 377.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.284e-05/2.87, allocations: 7.219 kB / 1.578 GB, free: 377.4 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/2.87, allocations: 7.906 kB / 1.578 GB, free: 377.4 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00618/2.877, allocations: 4.579 MB / 1.583 GB, free: 373.6 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/2.878, allocations: 0.6225 MB / 1.583 GB, free: 373.1 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003233/2.879, allocations: 51.94 kB / 1.583 GB, free: 373.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/2.88, allocations: 65.02 kB / 1.583 GB, free: 373 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003089/2.88, allocations: 162 kB / 1.583 GB, free: 372.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/2.881, allocations: 91.89 kB / 1.583 GB, free: 372.8 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001211/2.882, allocations: 0.9424 MB / 1.584 GB, free: 372 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.5e-07/2.882, allocations: 0 / 1.584 GB, free: 372 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002458/2.884, allocations: 0.9853 MB / 1.585 GB, free: 371.1 MB / 1.279 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.0008088/2.885, allocations: 377.9 kB / 1.586 GB, free: 370.8 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004163/2.889, allocations: 2.774 MB / 1.588 GB, free: 368.2 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/2.889, allocations: 2.109 kB / 1.588 GB, free: 368.2 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/2.891, allocations: 1.51 MB / 1.59 GB, free: 366.7 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005604/2.897, allocations: 1.349 MB / 1.591 GB, free: 365.4 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008962/2.906, allocations: 6.093 MB / 1.597 GB, free: 359.6 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/2.907, allocations: 1.899 MB / 1.599 GB, free: 357.7 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.003022/2.91, allocations: 0.8436 MB / 1.6 GB, free: 356.9 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006923/2.911, allocations: 211.4 kB / 1.6 GB, free: 356.7 MB / 1.279 GB Notification: Performance of SimCode: time 1.623e-06/2.911, allocations: 0 / 1.6 GB, free: 356.7 MB / 1.279 GB Notification: Performance of Templates: time 0.2058/3.117, allocations: 50.52 MB / 1.649 GB, free: 306.8 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches