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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001233/0.001233, allocations: 97.78 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.002527/0.002527, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.544/1.544, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.752/2.752, allocations: 437.8 MB / 0.7128 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.0004102, allocations: 12 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7329/0.7333, allocations: 153.8 MB / 1.024 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.091/1.825, allocations: 288.9 MB / 1.306 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02304/1.848, allocations: 17.05 MB / 1.322 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004462/1.852, allocations: 69.25 kB / 1.323 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004951/1.857, allocations: 1.656 MB / 1.324 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01734/1.875, allocations: 6.063 MB / 1.33 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008289/1.883, allocations: 2.675 MB / 1.333 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01375/1.897, allocations: 11.2 MB / 1.344 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004704/1.901, allocations: 2.127 MB / 1.346 GB, free: 16.46 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006541/1.908, allocations: 2.343 MB / 1.348 GB, free: 16.45 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00765/1.916, allocations: 2.723 MB / 1.351 GB, free: 16.44 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001346/1.917, allocations: 155.9 kB / 1.351 GB, free: 16.44 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01711/1.934, allocations: 7.163 MB / 1.358 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002866/1.937, allocations: 1.153 MB / 1.359 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005228/1.942, allocations: 1.706 MB / 1.361 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01043/1.953, allocations: 4.982 MB / 1.365 GB, free: 11 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.953, allocations: 0 / 1.365 GB, free: 11 MB / 0.9981 GB Notification: Performance of FrontEnd: time 5.069e-06/1.953, allocations: 11.2 kB / 1.365 GB, free: 11 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002292/1.953, allocations: 0 / 1.365 GB, free: 11 MB / 0.9981 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.01231/1.965, allocations: 3.549 MB / 1.369 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/1.965, allocations: 9.438 kB / 1.369 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007044/1.973, allocations: 0.9186 MB / 1.37 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005106/1.978, allocations: 1.834 MB / 1.372 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002443/1.978, allocations: 198.3 kB / 1.372 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/1.979, allocations: 259.9 kB / 1.372 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008647/1.988, allocations: 3.335 MB / 1.375 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/1.988, allocations: 10.16 kB / 1.375 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005871/1.988, allocations: 107.1 kB / 1.375 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001741/1.989, allocations: 137.2 kB / 1.376 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007474/1.996, allocations: 3.495 MB / 1.379 GB, free: 3.027 MB / 0.9981 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.02028/2.016, allocations: 12.12 MB / 1.391 GB, free: 7.879 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00534/2.022, allocations: 3.506 MB / 1.394 GB, free: 4.301 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0031/2.025, allocations: 1.802 MB / 1.396 GB, free: 2.492 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001729/2.027, allocations: 1.501 MB / 1.397 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.826e-05/2.027, allocations: 72.69 kB / 1.398 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 6.171e-06/2.027, allocations: 0 / 1.398 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.008072/2.035, allocations: 3.88 MB / 1.401 GB, free: 12.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/2.035, allocations: 81.59 kB / 1.401 GB, free: 12.58 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003361/2.038, allocations: 1.376 MB / 1.403 GB, free: 11.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002783/2.039, allocations: 77.7 kB / 1.403 GB, free: 11.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000929/2.04, allocations: 0.9833 MB / 1.404 GB, free: 10.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001277/2.041, allocations: 0.9543 MB / 1.405 GB, free: 9.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003868/2.041, allocations: 194.6 kB / 1.405 GB, free: 8.984 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001178/2.041, allocations: 309 kB / 1.405 GB, free: 8.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/2.044, allocations: 1.097 MB / 1.406 GB, free: 7.582 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002356/2.046, allocations: 1.355 MB / 1.408 GB, free: 6.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004939/2.051, allocations: 2.651 MB / 1.41 GB, free: 3.434 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.475e-05/2.051, allocations: 4 kB / 1.41 GB, free: 3.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.006046/2.057, allocations: 2.968 MB / 1.413 GB, free: 452 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/2.057, allocations: 8.562 kB / 1.413 GB, free: 444 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/2.057, allocations: 8 kB / 1.413 GB, free: 436 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.71e-05/2.057, allocations: 16 kB / 1.413 GB, free: 420 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/2.059, allocations: 0.5067 MB / 1.414 GB, free: 15.93 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.965e-05/2.059, allocations: 16 kB / 1.414 GB, free: 15.92 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003415/2.063, allocations: 384.2 kB / 1.414 GB, free: 15.54 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/2.063, allocations: 83.98 kB / 1.414 GB, free: 15.46 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.001693/2.065, allocations: 0.644 MB / 1.415 GB, free: 14.84 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009103/2.066, allocations: 233.2 kB / 1.415 GB, free: 14.61 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006351/2.072, allocations: 3.119 MB / 1.418 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.452e-05/2.072, allocations: 24 kB / 1.418 GB, free: 11.41 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/2.072, allocations: 0 / 1.418 GB, free: 11.41 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004715/2.077, allocations: 2.66 MB / 1.421 GB, free: 8.68 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/2.091, allocations: 6.219 MB / 1.427 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/2.092, allocations: 0 / 1.427 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002738/2.094, allocations: 0.5396 MB / 1.427 GB, free: 1.91 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.396e-05/2.094, allocations: 8 kB / 1.427 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002736/2.095, allocations: 63.97 kB / 1.427 GB, free: 1.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.07e-05/2.095, allocations: 8 kB / 1.427 GB, free: 1.832 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/2.095, allocations: 0 / 1.427 GB, free: 1.832 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00922/2.104, allocations: 4.584 MB / 1.432 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003016/2.107, allocations: 0.6071 MB / 1.432 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009208/2.108, allocations: 55.98 kB / 1.432 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003458/2.111, allocations: 221.6 kB / 1.433 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004168/2.112, allocations: 161.9 kB / 1.433 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002583/2.112, allocations: 79.97 kB / 1.433 GB, free: 12.04 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002689/2.115, allocations: 0.9501 MB / 1.434 GB, free: 11.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 5.31e-07/2.115, allocations: 0 / 1.434 GB, free: 11.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003572/2.118, allocations: 0.9861 MB / 1.435 GB, free: 10.1 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.0009606/2.119, allocations: 383.9 kB / 1.435 GB, free: 9.762 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005324/2.125, allocations: 2.756 MB / 1.438 GB, free: 7.012 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/2.125, allocations: 5.125 kB / 1.438 GB, free: 7.008 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00255/2.127, allocations: 1.51 MB / 1.439 GB, free: 5.547 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007844/2.135, allocations: 1.28 MB / 1.441 GB, free: 4.281 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/2.149, allocations: 7.659 MB / 1.448 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002499/2.152, allocations: 1.899 MB / 1.45 GB, free: 10.63 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/2.154, allocations: 231.4 kB / 1.45 GB, free: 10.41 MB / 1.076 GB Notification: Performance of SimCode: time 2.585e-06/2.154, allocations: 0 / 1.45 GB, free: 10.41 MB / 1.076 GB Notification: Performance of Templates: time 0.07653/2.23, allocations: 42.41 MB / 1.491 GB, free: 244 kB / 1.107 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 -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