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.001406/0.001406, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001305/0.001305, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.554/1.554, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.674/2.674, allocations: 437.1 MB / 0.7111 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 72.22 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.4309, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.058/1.489, allocations: 295.1 MB / 1.306 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03049/1.519, allocations: 17 MB / 1.323 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005161/1.524, allocations: 83.56 kB / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006439/1.531, allocations: 1.896 MB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.02104/1.552, allocations: 6.432 MB / 1.331 GB, free: 8.473 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.009985/1.562, allocations: 2.925 MB / 1.334 GB, free: 5.555 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01365/1.576, allocations: 7.702 MB / 1.341 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005192/1.581, allocations: 2.585 MB / 1.344 GB, free: 11.2 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007612/1.589, allocations: 2.764 MB / 1.347 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00699/1.596, allocations: 2.704 MB / 1.349 GB, free: 5.723 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001222/1.597, allocations: 328 kB / 1.35 GB, free: 5.402 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01675/1.614, allocations: 6.161 MB / 1.356 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002988/1.617, allocations: 1.344 MB / 1.357 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.004554/1.621, allocations: 1.879 MB / 1.359 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01911/1.64, allocations: 6.845 MB / 1.365 GB, free: 5.129 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/1.64, allocations: 0 / 1.365 GB, free: 5.129 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.425e-06/1.64, allocations: 0 / 1.365 GB, free: 5.129 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001689/1.641, allocations: 4 kB / 1.365 GB, free: 5.125 MB / 1.061 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.01412/1.655, allocations: 4.124 MB / 1.369 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/1.655, allocations: 8.625 kB / 1.369 GB, free: 0.9258 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006685/1.662, allocations: 0.921 MB / 1.37 GB, free: 0 / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004812/1.666, allocations: 1.834 MB / 1.372 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/1.667, allocations: 193.1 kB / 1.372 GB, free: 13.92 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005851/1.667, allocations: 263.9 kB / 1.373 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006939/1.674, allocations: 3.334 MB / 1.376 GB, free: 10.22 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.016e-05/1.674, allocations: 3.906 kB / 1.376 GB, free: 10.22 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002855/1.674, allocations: 115.9 kB / 1.376 GB, free: 10.11 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001832/1.675, allocations: 133 kB / 1.376 GB, free: 9.973 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006939/1.682, allocations: 3.498 MB / 1.379 GB, free: 6.461 MB / 1.076 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.02137/1.703, allocations: 12.23 MB / 1.391 GB, free: 9.324 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005581/1.709, allocations: 3.509 MB / 1.395 GB, free: 5.727 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003265/1.712, allocations: 1.814 MB / 1.397 GB, free: 3.902 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001891/1.714, allocations: 1.493 MB / 1.398 GB, free: 2.094 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.57e-05/1.714, allocations: 60.75 kB / 1.398 GB, free: 2.023 MB / 1.092 GB Notification: Performance of pre-optimization done (n=278): time 4.418e-06/1.714, allocations: 4 kB / 1.398 GB, free: 2.02 MB / 1.092 GB Notification: Performance of matching and sorting (n=278): time 0.007977/1.722, allocations: 3.885 MB / 1.402 GB, free: 14.09 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.778e-05/1.722, allocations: 81.53 kB / 1.402 GB, free: 13.99 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/1.724, allocations: 1.387 MB / 1.403 GB, free: 12.6 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003095/1.725, allocations: 73.7 kB / 1.403 GB, free: 12.52 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009126/1.726, allocations: 0.9804 MB / 1.404 GB, free: 11.53 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001252/1.727, allocations: 0.947 MB / 1.405 GB, free: 10.57 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007112/1.728, allocations: 408.9 kB / 1.406 GB, free: 10.16 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.728, allocations: 301.1 kB / 1.406 GB, free: 9.863 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/1.73, allocations: 1.09 MB / 1.407 GB, free: 8.77 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00223/1.732, allocations: 1.355 MB / 1.408 GB, free: 7.348 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004454/1.737, allocations: 2.654 MB / 1.411 GB, free: 4.602 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/1.737, allocations: 7.938 kB / 1.411 GB, free: 4.594 MB / 1.107 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005768/1.742, allocations: 2.97 MB / 1.414 GB, free: 1.578 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/1.742, allocations: 8.562 kB / 1.414 GB, free: 1.57 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/1.742, allocations: 4 kB / 1.414 GB, free: 1.566 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.158e-05/1.742, allocations: 16 kB / 1.414 GB, free: 1.551 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/1.745, allocations: 0.511 MB / 1.414 GB, free: 1.039 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.023e-05/1.745, allocations: 24.7 kB / 1.414 GB, free: 1.016 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/1.747, allocations: 185.9 kB / 1.415 GB, free: 0.832 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/1.748, allocations: 80 kB / 1.415 GB, free: 0.7539 MB / 1.107 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.001527/1.749, allocations: 0.6456 MB / 1.415 GB, free: 100 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007515/1.75, allocations: 229.3 kB / 1.416 GB, free: 15.87 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005611/1.756, allocations: 3.123 MB / 1.419 GB, free: 12.69 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.013e-05/1.756, allocations: 28 kB / 1.419 GB, free: 12.66 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/1.756, allocations: 3.938 kB / 1.419 GB, free: 12.66 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004239/1.76, allocations: 2.649 MB / 1.421 GB, free: 9.938 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/1.772, allocations: 6.217 MB / 1.427 GB, free: 3.613 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/1.772, allocations: 0 / 1.427 GB, free: 3.613 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003519/1.776, allocations: 0.5462 MB / 1.428 GB, free: 3.066 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.901e-05/1.776, allocations: 11.94 kB / 1.428 GB, free: 3.055 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002762/1.776, allocations: 55.98 kB / 1.428 GB, free: 3 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.403e-05/1.776, allocations: 12 kB / 1.428 GB, free: 2.988 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.776, allocations: 0 / 1.428 GB, free: 2.988 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008502/1.785, allocations: 4.573 MB / 1.432 GB, free: 14.34 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001891/1.787, allocations: 0.6071 MB / 1.433 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003752/1.787, allocations: 59.94 kB / 1.433 GB, free: 13.65 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/1.789, allocations: 67.62 kB / 1.433 GB, free: 13.59 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003656/1.789, allocations: 162 kB / 1.433 GB, free: 13.43 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001713/1.789, allocations: 79.97 kB / 1.433 GB, free: 13.35 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00157/1.791, allocations: 0.9423 MB / 1.434 GB, free: 12.41 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.8e-07/1.791, allocations: 0 / 1.434 GB, free: 12.41 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002625/1.793, allocations: 0.9862 MB / 1.435 GB, free: 11.42 MB / 1.139 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.0008049/1.794, allocations: 366.4 kB / 1.436 GB, free: 11.06 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01353/1.808, allocations: 5.539 MB / 1.441 GB, free: 5.488 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/1.808, allocations: 0 / 1.441 GB, free: 5.488 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002615/1.81, allocations: 1.507 MB / 1.442 GB, free: 3.977 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00769/1.818, allocations: 1.361 MB / 1.444 GB, free: 2.652 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/1.833, allocations: 6.215 MB / 1.45 GB, free: 12.39 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001919/1.835, allocations: 1.899 MB / 1.452 GB, free: 10.45 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/1.836, allocations: 231.4 kB / 1.452 GB, free: 10.22 MB / 1.154 GB Notification: Performance of SimCode: time 2.414e-06/1.836, allocations: 3.938 kB / 1.452 GB, free: 10.22 MB / 1.154 GB Notification: Performance of Templates: time 0.09003/1.926, allocations: 42.83 MB / 1.494 GB, free: 15.6 MB / 1.201 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=400 -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