Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001616/0.001616, allocations: 102.6 kB / 15.98 MB, free: 6.301 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.001494/0.001494, allocations: 193.9 kB / 16.91 MB, free: 6.148 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.587/1.587, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.783/2.783, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 66.27 kB / 0.9087 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4461, allocations: 159.1 MB / 1.064 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.251/1.698, allocations: 291.7 MB / 1.349 GB, free: 5.133 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03329/1.731, allocations: 16.93 MB / 1.366 GB, free: 4.16 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005094/1.736, allocations: 67.62 kB / 1.366 GB, free: 4.094 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00635/1.742, allocations: 1.703 MB / 1.367 GB, free: 2.383 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.02017/1.763, allocations: 6.058 MB / 1.373 GB, free: 12.3 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.009501/1.772, allocations: 2.704 MB / 1.376 GB, free: 9.602 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01372/1.786, allocations: 7.708 MB / 1.383 GB, free: 1.875 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00589/1.792, allocations: 2.536 MB / 1.386 GB, free: 15.29 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008389/1.8, allocations: 2.818 MB / 1.389 GB, free: 12.46 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008491/1.809, allocations: 2.868 MB / 1.391 GB, free: 9.594 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001926/1.811, allocations: 339.8 kB / 1.392 GB, free: 9.262 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01795/1.829, allocations: 6.429 MB / 1.398 GB, free: 2.816 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003384/1.832, allocations: 1.336 MB / 1.399 GB, free: 1.477 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.00633/1.839, allocations: 1.883 MB / 1.401 GB, free: 15.58 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01254/1.851, allocations: 5.106 MB / 1.406 GB, free: 10.47 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.163e-05/1.851, allocations: 0 / 1.406 GB, free: 10.47 MB / 1.123 GB Notification: Performance of FrontEnd: time 5.18e-06/1.851, allocations: 4 kB / 1.406 GB, free: 10.46 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002448/1.852, allocations: 0 / 1.406 GB, free: 10.46 MB / 1.123 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.01663/1.868, allocations: 4.128 MB / 1.41 GB, free: 6.27 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/1.868, allocations: 12.02 kB / 1.41 GB, free: 6.258 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007552/1.876, allocations: 0.9171 MB / 1.411 GB, free: 5.336 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005452/1.881, allocations: 1.846 MB / 1.413 GB, free: 3.434 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/1.882, allocations: 193.1 kB / 1.413 GB, free: 3.242 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001082/1.883, allocations: 256 kB / 1.413 GB, free: 2.992 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009531/1.892, allocations: 3.338 MB / 1.417 GB, free: 15.55 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001111/1.892, allocations: 11.84 kB / 1.417 GB, free: 15.54 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000631/1.893, allocations: 107.9 kB / 1.417 GB, free: 15.43 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002032/1.893, allocations: 137 kB / 1.417 GB, free: 15.3 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007804/1.901, allocations: 3.502 MB / 1.42 GB, free: 11.78 MB / 1.139 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.02287/1.924, allocations: 12.07 MB / 1.432 GB, free: 14.8 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006334/1.93, allocations: 3.504 MB / 1.435 GB, free: 11.22 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00358/1.934, allocations: 1.818 MB / 1.437 GB, free: 9.398 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002156/1.936, allocations: 1.493 MB / 1.439 GB, free: 7.59 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.001e-05/1.936, allocations: 65.22 kB / 1.439 GB, free: 7.516 MB / 1.154 GB Notification: Performance of pre-optimization done (n=278): time 8.907e-06/1.936, allocations: 0 / 1.439 GB, free: 7.516 MB / 1.154 GB Notification: Performance of matching and sorting (n=278): time 0.00872/1.945, allocations: 3.889 MB / 1.443 GB, free: 3.578 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/1.945, allocations: 89.47 kB / 1.443 GB, free: 3.477 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002974/1.948, allocations: 1.379 MB / 1.444 GB, free: 2.09 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002893/1.948, allocations: 77.7 kB / 1.444 GB, free: 2.008 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009996/1.949, allocations: 0.9765 MB / 1.445 GB, free: 1.02 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001276/1.951, allocations: 0.9509 MB / 1.446 GB, free: 56 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000882/1.952, allocations: 404.9 kB / 1.446 GB, free: 15.65 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.952, allocations: 309.1 kB / 1.447 GB, free: 15.35 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/1.954, allocations: 1.094 MB / 1.448 GB, free: 14.25 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002395/1.956, allocations: 1.362 MB / 1.449 GB, free: 12.82 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004848/1.961, allocations: 2.646 MB / 1.452 GB, free: 10.08 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/1.961, allocations: 0 / 1.452 GB, free: 10.08 MB / 1.17 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.006019/1.967, allocations: 2.97 MB / 1.454 GB, free: 7.066 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.469e-05/1.967, allocations: 11.98 kB / 1.454 GB, free: 7.055 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/1.967, allocations: 4 kB / 1.454 GB, free: 7.051 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.592e-05/1.967, allocations: 16 kB / 1.454 GB, free: 7.035 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002346/1.97, allocations: 0.5076 MB / 1.455 GB, free: 6.527 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.488e-05/1.97, allocations: 23.88 kB / 1.455 GB, free: 6.504 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/1.973, allocations: 377.7 kB / 1.455 GB, free: 6.133 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002394/1.974, allocations: 83.98 kB / 1.455 GB, free: 6.051 MB / 1.17 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.001741/1.975, allocations: 0.6462 MB / 1.456 GB, free: 5.395 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009755/1.976, allocations: 233.3 kB / 1.456 GB, free: 5.164 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006355/1.983, allocations: 3.114 MB / 1.459 GB, free: 1.992 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/1.983, allocations: 24 kB / 1.459 GB, free: 1.969 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/1.983, allocations: 3.938 kB / 1.459 GB, free: 1.965 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00456/1.987, allocations: 2.661 MB / 1.462 GB, free: 15.23 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/2, allocations: 6.217 MB / 1.468 GB, free: 8.906 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/2.001, allocations: 0 / 1.468 GB, free: 8.906 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0028/2.003, allocations: 0.5423 MB / 1.469 GB, free: 8.363 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-05/2.003, allocations: 8 kB / 1.469 GB, free: 8.355 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003172/2.004, allocations: 63.97 kB / 1.469 GB, free: 8.293 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.291e-05/2.004, allocations: 8 kB / 1.469 GB, free: 8.285 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/2.004, allocations: 0 / 1.469 GB, free: 8.285 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009052/2.013, allocations: 4.577 MB / 1.473 GB, free: 3.629 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002319/2.015, allocations: 0.6071 MB / 1.474 GB, free: 3 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000826/2.016, allocations: 52 kB / 1.474 GB, free: 2.949 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003083/2.019, allocations: 225.7 kB / 1.474 GB, free: 2.73 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004196/2.02, allocations: 166 kB / 1.474 GB, free: 2.566 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002409/2.02, allocations: 87.91 kB / 1.474 GB, free: 2.48 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002316/2.022, allocations: 0.9423 MB / 1.475 GB, free: 1.543 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/2.022, allocations: 0 / 1.475 GB, free: 1.543 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00406/2.026, allocations: 0.9823 MB / 1.476 GB, free: 0.5586 MB / 1.186 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.00117/2.027, allocations: 370.6 kB / 1.476 GB, free: 188 kB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01524/2.043, allocations: 5.539 MB / 1.482 GB, free: 10.61 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/2.043, allocations: 4 kB / 1.482 GB, free: 10.61 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003483/2.046, allocations: 1.507 MB / 1.483 GB, free: 9.098 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008118/2.054, allocations: 1.35 MB / 1.485 GB, free: 7.781 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/2.069, allocations: 7.368 MB / 1.492 GB, free: 368 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002672/2.072, allocations: 1.895 MB / 1.494 GB, free: 14.43 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/2.074, allocations: 231.4 kB / 1.494 GB, free: 14.2 MB / 1.217 GB Notification: Performance of SimCode: time 1.343e-06/2.074, allocations: 0 / 1.494 GB, free: 14.2 MB / 1.217 GB Notification: Performance of Templates: time 0.08094/2.155, allocations: 42.83 MB / 1.536 GB, free: 3.586 MB / 1.248 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches