Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002461/0.002461, allocations: 195 kB / 16.14 MB, free: 6.648 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.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.651/2.651, allocations: 437 MB / 0.7099 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 67.89 kB / 0.8685 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.694/0.6953, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.122/1.818, allocations: 312 MB / 1.321 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02619/1.844, allocations: 18.65 MB / 1.34 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006374/1.85, allocations: 78 kB / 1.34 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006443/1.857, allocations: 1.875 MB / 1.341 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02074/1.877, allocations: 6.913 MB / 1.348 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01029/1.888, allocations: 2.924 MB / 1.351 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01713/1.905, allocations: 13.12 MB / 1.364 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005727/1.911, allocations: 2.65 MB / 1.366 GB, free: 76 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009894/1.921, allocations: 2.883 MB / 1.369 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01351/1.934, allocations: 3.356 MB / 1.373 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002846/1.937, allocations: 228.5 kB / 1.373 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0228/1.96, allocations: 8.133 MB / 1.381 GB, free: 12.13 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004296/1.964, allocations: 1.526 MB / 1.382 GB, free: 11.17 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00786/1.972, allocations: 2.117 MB / 1.384 GB, free: 9.945 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02403/1.996, allocations: 8.487 MB / 1.393 GB, free: 5.285 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.996, allocations: 3.938 kB / 1.393 GB, free: 5.281 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.183e-06/1.996, allocations: 0 / 1.393 GB, free: 5.281 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002967/1.997, allocations: 0 / 1.393 GB, free: 5.281 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01858/2.015, allocations: 4.995 MB / 1.397 GB, free: 2.047 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/2.015, allocations: 11.73 kB / 1.397 GB, free: 2.043 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008153/2.023, allocations: 1.009 MB / 1.398 GB, free: 1.242 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006663/2.03, allocations: 2.167 MB / 1.401 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003495/2.03, allocations: 241.8 kB / 1.401 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001538/2.032, allocations: 331.2 kB / 1.401 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01321/2.045, allocations: 4.23 MB / 1.405 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001606/2.045, allocations: 22.97 kB / 1.405 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001046/2.047, allocations: 130.2 kB / 1.405 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002609/2.047, allocations: 170.4 kB / 1.406 GB, free: 9.984 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01165/2.058, allocations: 4.777 MB / 1.41 GB, free: 5.211 MB / 1.029 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.02669/2.085, allocations: 14.38 MB / 1.424 GB, free: 6.152 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007212/2.092, allocations: 4.546 MB / 1.429 GB, free: 1.617 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004056/2.097, allocations: 2.449 MB / 1.431 GB, free: 15.16 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001848/2.098, allocations: 1.607 MB / 1.433 GB, free: 13.24 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.898e-05/2.099, allocations: 84.09 kB / 1.433 GB, free: 13.15 MB / 1.061 GB Notification: Performance of pre-optimization done (n=392): time 6.171e-06/2.099, allocations: 0 / 1.433 GB, free: 13.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=392): time 0.01119/2.11, allocations: 5.542 MB / 1.438 GB, free: 7.586 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.324e-05/2.11, allocations: 90.48 kB / 1.438 GB, free: 7.484 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003279/2.113, allocations: 1.684 MB / 1.44 GB, free: 5.758 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0004586/2.114, allocations: 93.7 kB / 1.44 GB, free: 5.66 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009024/2.115, allocations: 1.128 MB / 1.441 GB, free: 4.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001561/2.116, allocations: 1.32 MB / 1.442 GB, free: 3.211 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001288/2.117, allocations: 0.5507 MB / 1.443 GB, free: 2.652 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.898e-05/2.118, allocations: 309.1 kB / 1.443 GB, free: 2.348 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002884/2.12, allocations: 1.568 MB / 1.445 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00317/2.124, allocations: 1.915 MB / 1.447 GB, free: 14.8 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006131/2.13, allocations: 3.764 MB / 1.45 GB, free: 10.96 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.635e-05/2.13, allocations: 4 kB / 1.45 GB, free: 10.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007784/2.138, allocations: 4.18 MB / 1.454 GB, free: 6.781 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/2.138, allocations: 7.938 kB / 1.454 GB, free: 6.773 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/2.138, allocations: 8 kB / 1.454 GB, free: 6.766 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.441e-05/2.138, allocations: 20 kB / 1.454 GB, free: 6.746 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003201/2.141, allocations: 0.69 MB / 1.455 GB, free: 6.098 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-05/2.141, allocations: 27.08 kB / 1.455 GB, free: 6.074 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003837/2.145, allocations: 477.1 kB / 1.456 GB, free: 5.605 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003989/2.145, allocations: 116 kB / 1.456 GB, free: 5.492 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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.001917/2.147, allocations: 0.7952 MB / 1.456 GB, free: 4.727 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/2.148, allocations: 296.4 kB / 1.457 GB, free: 4.434 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008427/2.157, allocations: 4.442 MB / 1.461 GB, free: 15.96 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-05/2.157, allocations: 40 kB / 1.461 GB, free: 15.92 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/2.157, allocations: 0 / 1.461 GB, free: 15.92 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005912/2.163, allocations: 3.795 MB / 1.465 GB, free: 12.06 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0167/2.18, allocations: 8.63 MB / 1.473 GB, free: 3.383 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/2.18, allocations: 3.984 kB / 1.473 GB, free: 3.379 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003529/2.183, allocations: 0.7186 MB / 1.474 GB, free: 2.695 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.756e-05/2.183, allocations: 16 kB / 1.474 GB, free: 2.68 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003542/2.184, allocations: 88.09 kB / 1.474 GB, free: 2.594 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-05/2.184, allocations: 22.84 kB / 1.474 GB, free: 2.574 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/2.184, allocations: 4 kB / 1.474 GB, free: 2.57 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/2.194, allocations: 6.561 MB / 1.48 GB, free: 11.91 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002515/2.197, allocations: 0.7933 MB / 1.481 GB, free: 11.1 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008272/2.198, allocations: 72 kB / 1.481 GB, free: 11.03 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003251/2.201, allocations: 278.1 kB / 1.482 GB, free: 10.76 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004884/2.202, allocations: 230.7 kB / 1.482 GB, free: 10.54 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002789/2.202, allocations: 112 kB / 1.482 GB, free: 10.43 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00223/2.204, allocations: 1.157 MB / 1.483 GB, free: 9.246 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.595e-06/2.204, allocations: 3.938 kB / 1.483 GB, free: 9.242 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003738/2.208, allocations: 1.228 MB / 1.484 GB, free: 8.012 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.001173/2.209, allocations: 477.4 kB / 1.485 GB, free: 7.602 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.007079/2.216, allocations: 3.924 MB / 1.488 GB, free: 3.719 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/2.216, allocations: 4 kB / 1.488 GB, free: 3.715 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.00347/2.22, allocations: 2.148 MB / 1.491 GB, free: 1.645 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009227/2.229, allocations: 1.524 MB / 1.492 GB, free: 136 kB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/2.245, allocations: 9.179 MB / 1.501 GB, free: 6.91 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002924/2.248, allocations: 2.201 MB / 1.503 GB, free: 4.672 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.006086/2.254, allocations: 1.208 MB / 1.504 GB, free: 3.457 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00176/2.256, allocations: 271.4 kB / 1.505 GB, free: 3.191 MB / 1.123 GB Notification: Performance of SimCode: time 1.342e-06/2.256, allocations: 0 / 1.505 GB, free: 3.191 MB / 1.123 GB Notification: Performance of Templates: time 0.09979/2.356, allocations: 59.23 MB / 1.562 GB, free: 8.828 MB / 1.186 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches