Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.0008768/0.0008768, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008475/0.0008476, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.898/2.898, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003724, allocations: 7.938 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.3994, allocations: 159.6 MB / 1.058 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.091/1.49, allocations: 287.1 MB / 1.338 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02399/1.514, allocations: 17.34 MB / 1.355 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004949/1.519, allocations: 72.03 kB / 1.355 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006207/1.526, allocations: 1.4 MB / 1.357 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01873/1.544, allocations: 5.334 MB / 1.362 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008645/1.553, allocations: 2.247 MB / 1.364 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01477/1.568, allocations: 10.98 MB / 1.375 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00539/1.573, allocations: 2.373 MB / 1.377 GB, free: 19.73 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008978/1.582, allocations: 2.857 MB / 1.38 GB, free: 18.8 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007213/1.589, allocations: 3.151 MB / 1.383 GB, free: 17.73 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001554/1.591, allocations: 196.9 kB / 1.383 GB, free: 17.73 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01413/1.605, allocations: 3.49 MB / 1.387 GB, free: 16.71 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003548/1.609, allocations: 1.467 MB / 1.388 GB, free: 16.08 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003828/1.613, allocations: 0.8015 MB / 1.389 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0118/1.624, allocations: 5.384 MB / 1.394 GB, free: 13.34 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.158e-06/1.624, allocations: 6.344 kB / 1.394 GB, free: 13.34 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.907e-06/1.624, allocations: 0 / 1.394 GB, free: 13.34 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002338/1.625, allocations: 0 / 1.394 GB, free: 13.34 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.01267/1.637, allocations: 4.361 MB / 1.398 GB, free: 10.83 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.637, allocations: 9.469 kB / 1.398 GB, free: 10.83 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007297/1.645, allocations: 1.011 MB / 1.399 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006249/1.651, allocations: 2.088 MB / 1.401 GB, free: 9.473 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000279/1.651, allocations: 246.9 kB / 1.402 GB, free: 9.461 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001198/1.653, allocations: 321.5 kB / 1.402 GB, free: 9.461 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00914/1.662, allocations: 4.215 MB / 1.406 GB, free: 8.32 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.232e-05/1.662, allocations: 6.016 kB / 1.406 GB, free: 8.316 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003154/1.662, allocations: 139.1 kB / 1.406 GB, free: 8.312 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001615/1.662, allocations: 171.3 kB / 1.406 GB, free: 8.289 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008426/1.671, allocations: 4.76 MB / 1.411 GB, free: 7.387 MB / 1.014 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.02416/1.695, allocations: 14.39 MB / 1.425 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006756/1.702, allocations: 4.529 MB / 1.43 GB, free: 8.805 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003865/1.706, allocations: 2.438 MB / 1.432 GB, free: 6.945 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001718/1.707, allocations: 1.619 MB / 1.433 GB, free: 5.004 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.49e-05/1.707, allocations: 77.64 kB / 1.434 GB, free: 4.918 MB / 1.029 GB Notification: Performance of pre-optimization done (n=392): time 5.55e-06/1.707, allocations: 0 / 1.434 GB, free: 4.918 MB / 1.029 GB Notification: Performance of matching and sorting (n=392): time 0.01033/1.718, allocations: 5.504 MB / 1.439 GB, free: 15.39 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.463e-05/1.718, allocations: 98.47 kB / 1.439 GB, free: 15.28 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002833/1.721, allocations: 1.662 MB / 1.441 GB, free: 13.57 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003822/1.721, allocations: 93.7 kB / 1.441 GB, free: 13.48 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000941/1.722, allocations: 1.135 MB / 1.442 GB, free: 12.33 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001541/1.724, allocations: 1.322 MB / 1.443 GB, free: 11.02 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/1.724, allocations: 68 kB / 1.443 GB, free: 10.95 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002502/1.724, allocations: 437.1 kB / 1.444 GB, free: 10.52 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002715/1.727, allocations: 1.553 MB / 1.445 GB, free: 8.965 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002922/1.73, allocations: 1.9 MB / 1.447 GB, free: 6.996 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003006/1.733, allocations: 1.831 MB / 1.449 GB, free: 5.156 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/1.733, allocations: 0 / 1.449 GB, free: 5.156 MB / 1.045 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007177/1.74, allocations: 4.158 MB / 1.453 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/1.74, allocations: 8 kB / 1.453 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/1.74, allocations: 4.656 kB / 1.453 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.483e-05/1.74, allocations: 25.64 kB / 1.453 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002976/1.743, allocations: 0.6982 MB / 1.454 GB, free: 244 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.264e-05/1.743, allocations: 20 kB / 1.454 GB, free: 224 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003479/1.747, allocations: 476.9 kB / 1.454 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/1.747, allocations: 120 kB / 1.454 GB, free: 15.63 MB / 1.061 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001787/1.749, allocations: 0.7938 MB / 1.455 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008208/1.75, allocations: 292.3 kB / 1.455 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007823/1.757, allocations: 4.421 MB / 1.46 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.343e-05/1.757, allocations: 43.98 kB / 1.46 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-05/1.758, allocations: 3.984 kB / 1.46 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005756/1.763, allocations: 3.78 MB / 1.463 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/1.781, allocations: 8.629 MB / 1.472 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/1.781, allocations: 4 kB / 1.472 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003453/1.785, allocations: 0.7182 MB / 1.472 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.386e-05/1.785, allocations: 19.95 kB / 1.472 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004566/1.785, allocations: 87.97 kB / 1.472 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.334e-05/1.785, allocations: 19.94 kB / 1.473 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/1.785, allocations: 0 / 1.473 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/1.797, allocations: 6.535 MB / 1.479 GB, free: 6.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0029/1.8, allocations: 0.7971 MB / 1.48 GB, free: 5.199 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001275/1.801, allocations: 72 kB / 1.48 GB, free: 5.129 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004011/1.805, allocations: 272.2 kB / 1.48 GB, free: 4.863 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006652/1.806, allocations: 234.7 kB / 1.48 GB, free: 4.633 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004521/1.806, allocations: 108 kB / 1.48 GB, free: 4.527 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0028/1.809, allocations: 1.143 MB / 1.481 GB, free: 3.363 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.809, allocations: 0 / 1.481 GB, free: 3.363 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.005101/1.814, allocations: 1.232 MB / 1.483 GB, free: 2.129 MB / 1.076 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001389/1.816, allocations: 475.3 kB / 1.483 GB, free: 1.684 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.008696/1.824, allocations: 3.902 MB / 1.487 GB, free: 13.77 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.656e-05/1.825, allocations: 4 kB / 1.487 GB, free: 13.77 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.004411/1.829, allocations: 2.141 MB / 1.489 GB, free: 11.62 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008937/1.838, allocations: 1.55 MB / 1.491 GB, free: 10.09 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01979/1.858, allocations: 9.205 MB / 1.5 GB, free: 0.8164 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002497/1.86, allocations: 2.209 MB / 1.502 GB, free: 14.57 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.005384/1.866, allocations: 1.204 MB / 1.503 GB, free: 13.36 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/1.867, allocations: 271.4 kB / 1.503 GB, free: 13.09 MB / 1.107 GB Notification: Performance of SimCode: time 1.472e-06/1.867, allocations: 3.938 kB / 1.503 GB, free: 13.09 MB / 1.107 GB Notification: Performance of Templates: time 0.1112/1.978, allocations: 56.91 MB / 1.559 GB, free: 4.898 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches