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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001621/0.001621, allocations: 108.2 kB / 15.99 MB, free: 5.895 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.001709/0.001709, allocations: 193.9 kB / 16.91 MB, free: 5.746 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.563/1.563, allocations: 222.9 MB / 240.6 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.043/3.043, allocations: 482.2 MB / 0.7548 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 68.45 kB / 0.9238 GB, free: 29.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4071, allocations: 162.2 MB / 1.082 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.105/1.512, allocations: 291.8 MB / 1.367 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03003/1.542, allocations: 16.94 MB / 1.384 GB, free: 7.363 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005958/1.548, allocations: 74 kB / 1.384 GB, free: 7.363 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006524/1.555, allocations: 1.7 MB / 1.385 GB, free: 6.801 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.02033/1.575, allocations: 6.054 MB / 1.391 GB, free: 4.191 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.009456/1.585, allocations: 2.7 MB / 1.394 GB, free: 2.723 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01294/1.598, allocations: 7.701 MB / 1.401 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004727/1.602, allocations: 2.536 MB / 1.404 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007543/1.61, allocations: 3.067 MB / 1.407 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007197/1.617, allocations: 2.848 MB / 1.41 GB, free: 9.922 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001244/1.619, allocations: 331.5 kB / 1.41 GB, free: 9.918 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01697/1.635, allocations: 6.411 MB / 1.416 GB, free: 6.336 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003282/1.639, allocations: 1.335 MB / 1.418 GB, free: 5.418 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.006175/1.645, allocations: 1.891 MB / 1.419 GB, free: 4.227 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01161/1.657, allocations: 5.115 MB / 1.424 GB, free: 1.078 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/1.657, allocations: 4 kB / 1.424 GB, free: 1.074 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.044e-06/1.657, allocations: 0 / 1.424 GB, free: 1.074 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002244/1.657, allocations: 0 / 1.424 GB, free: 1.074 MB / 1.029 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.01655/1.674, allocations: 4.121 MB / 1.428 GB, free: 13.5 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/1.674, allocations: 8.031 kB / 1.428 GB, free: 13.49 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007634/1.681, allocations: 0.9133 MB / 1.429 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004911/1.686, allocations: 1.846 MB / 1.431 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/1.686, allocations: 201.1 kB / 1.431 GB, free: 10.47 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005681/1.687, allocations: 248 kB / 1.432 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00683/1.694, allocations: 3.342 MB / 1.435 GB, free: 6.781 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.235e-05/1.694, allocations: 4 kB / 1.435 GB, free: 6.777 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002826/1.694, allocations: 108 kB / 1.435 GB, free: 6.672 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001859/1.694, allocations: 141 kB / 1.435 GB, free: 6.531 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006435/1.701, allocations: 3.494 MB / 1.439 GB, free: 3.023 MB / 1.045 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.02046/1.721, allocations: 12.33 MB / 1.451 GB, free: 5.738 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005533/1.727, allocations: 3.509 MB / 1.454 GB, free: 2.145 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003117/1.73, allocations: 1.826 MB / 1.456 GB, free: 324 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001943/1.732, allocations: 1.489 MB / 1.457 GB, free: 14.51 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.279e-05/1.732, allocations: 64.75 kB / 1.457 GB, free: 14.44 MB / 1.076 GB Notification: Performance of pre-optimization done (n=278): time 5.26e-06/1.732, allocations: 0 / 1.457 GB, free: 14.44 MB / 1.076 GB Notification: Performance of matching and sorting (n=278): time 0.007584/1.74, allocations: 3.881 MB / 1.461 GB, free: 10.51 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/1.74, allocations: 81.59 kB / 1.461 GB, free: 10.41 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/1.742, allocations: 1.383 MB / 1.463 GB, free: 9.023 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000272/1.742, allocations: 85.62 kB / 1.463 GB, free: 8.934 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008036/1.743, allocations: 0.9804 MB / 1.464 GB, free: 7.941 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001074/1.744, allocations: 0.9431 MB / 1.464 GB, free: 6.984 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006821/1.745, allocations: 404.9 kB / 1.465 GB, free: 6.582 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.745, allocations: 309.1 kB / 1.465 GB, free: 6.277 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/1.747, allocations: 1.098 MB / 1.466 GB, free: 5.176 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002049/1.749, allocations: 1.355 MB / 1.468 GB, free: 3.754 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004192/1.753, allocations: 2.654 MB / 1.47 GB, free: 1.008 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/1.753, allocations: 0 / 1.47 GB, free: 1.008 MB / 1.076 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005443/1.759, allocations: 2.978 MB / 1.473 GB, free: 13.98 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/1.759, allocations: 8 kB / 1.473 GB, free: 13.97 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/1.759, allocations: 4 kB / 1.473 GB, free: 13.97 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.309e-05/1.759, allocations: 16 kB / 1.473 GB, free: 13.95 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002323/1.761, allocations: 0.511 MB / 1.474 GB, free: 13.44 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-05/1.761, allocations: 14.03 kB / 1.474 GB, free: 13.43 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003354/1.765, allocations: 377.8 kB / 1.474 GB, free: 13.06 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002534/1.765, allocations: 91.98 kB / 1.474 GB, free: 12.97 MB / 1.092 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.002132/1.767, allocations: 0.6455 MB / 1.475 GB, free: 12.31 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/1.768, allocations: 229.3 kB / 1.475 GB, free: 12.09 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007447/1.776, allocations: 3.12 MB / 1.478 GB, free: 8.906 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.683e-05/1.776, allocations: 24 kB / 1.478 GB, free: 8.883 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/1.776, allocations: 4 kB / 1.478 GB, free: 8.879 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004227/1.78, allocations: 2.653 MB / 1.481 GB, free: 6.156 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/1.792, allocations: 6.221 MB / 1.487 GB, free: 15.83 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.792, allocations: 0 / 1.487 GB, free: 15.83 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002686/1.795, allocations: 0.5384 MB / 1.487 GB, free: 15.29 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.99e-05/1.795, allocations: 8 kB / 1.487 GB, free: 15.28 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/1.795, allocations: 67.91 kB / 1.487 GB, free: 15.21 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.554e-05/1.795, allocations: 12 kB / 1.487 GB, free: 15.2 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.795, allocations: 0 / 1.487 GB, free: 15.2 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009521/1.804, allocations: 4.573 MB / 1.492 GB, free: 10.55 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001936/1.806, allocations: 0.6032 MB / 1.492 GB, free: 9.926 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006406/1.807, allocations: 55.92 kB / 1.492 GB, free: 9.871 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002681/1.81, allocations: 219.5 kB / 1.493 GB, free: 9.656 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003875/1.81, allocations: 169.9 kB / 1.493 GB, free: 9.488 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002281/1.81, allocations: 83.97 kB / 1.493 GB, free: 9.406 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001986/1.812, allocations: 0.9384 MB / 1.494 GB, free: 8.473 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.984e-06/1.812, allocations: 0 / 1.494 GB, free: 8.473 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003168/1.815, allocations: 0.9861 MB / 1.495 GB, free: 7.484 MB / 1.107 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.0008731/1.816, allocations: 378.3 kB / 1.495 GB, free: 7.105 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01408/1.83, allocations: 5.54 MB / 1.5 GB, free: 1.535 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.831, allocations: 4.062 kB / 1.5 GB, free: 1.531 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003049/1.834, allocations: 1.504 MB / 1.502 GB, free: 24 kB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007743/1.841, allocations: 1.358 MB / 1.503 GB, free: 14.7 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/1.856, allocations: 7.366 MB / 1.51 GB, free: 7.281 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002743/1.859, allocations: 1.899 MB / 1.512 GB, free: 5.344 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002103/1.861, allocations: 235.4 kB / 1.513 GB, free: 5.113 MB / 1.123 GB Notification: Performance of SimCode: time 1.693e-06/1.861, allocations: 0 / 1.513 GB, free: 5.113 MB / 1.123 GB Notification: Performance of Templates: time 0.08444/1.945, allocations: 42.81 MB / 1.554 GB, free: 10.51 MB / 1.17 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