Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00178/0.00178, allocations: 111.9 kB / 16.41 MB, free: 6.492 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.001853/0.001853, allocations: 183 kB / 17.34 MB, free: 5.762 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.377/2.377, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 59.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.079, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3672/1.447, allocations: 295.1 MB / 1.377 GB, free: 6.164 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03126/1.478, allocations: 17.01 MB / 1.393 GB, free: 5.113 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005024/1.483, allocations: 83.56 kB / 1.393 GB, free: 5.031 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00609/1.489, allocations: 1.896 MB / 1.395 GB, free: 3.125 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.02055/1.51, allocations: 6.428 MB / 1.402 GB, free: 12.67 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.009863/1.52, allocations: 2.944 MB / 1.405 GB, free: 9.727 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01299/1.533, allocations: 7.702 MB / 1.412 GB, free: 2.008 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005443/1.538, allocations: 2.602 MB / 1.415 GB, free: 15.34 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007465/1.546, allocations: 2.807 MB / 1.417 GB, free: 12.53 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007039/1.553, allocations: 2.695 MB / 1.42 GB, free: 9.832 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001751/1.555, allocations: 324 kB / 1.42 GB, free: 9.516 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01579/1.57, allocations: 6.169 MB / 1.426 GB, free: 3.332 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002988/1.573, allocations: 1.336 MB / 1.428 GB, free: 1.992 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.005684/1.579, allocations: 1.886 MB / 1.429 GB, free: 100 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01952/1.599, allocations: 6.892 MB / 1.436 GB, free: 9.188 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/1.599, allocations: 0 / 1.436 GB, free: 9.188 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.796e-06/1.599, allocations: 0 / 1.436 GB, free: 9.188 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0002292/1.599, allocations: 0 / 1.436 GB, free: 9.188 MB / 1.17 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.01562/1.615, allocations: 4.131 MB / 1.44 GB, free: 4.988 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/1.615, allocations: 8.031 kB / 1.44 GB, free: 4.98 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00721/1.622, allocations: 0.9172 MB / 1.441 GB, free: 4.059 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006067/1.628, allocations: 1.928 MB / 1.443 GB, free: 2.074 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002706/1.628, allocations: 189.1 kB / 1.443 GB, free: 1.887 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/1.63, allocations: 256 kB / 1.443 GB, free: 1.637 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/1.64, allocations: 3.346 MB / 1.447 GB, free: 14.19 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001539/1.64, allocations: 0 / 1.447 GB, free: 14.19 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008242/1.641, allocations: 104 kB / 1.447 GB, free: 14.09 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002283/1.641, allocations: 141 kB / 1.447 GB, free: 13.95 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008586/1.65, allocations: 3.498 MB / 1.45 GB, free: 10.43 MB / 1.186 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.02646/1.677, allocations: 12.14 MB / 1.462 GB, free: 13.39 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006124/1.683, allocations: 3.518 MB / 1.466 GB, free: 9.793 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003487/1.686, allocations: 1.845 MB / 1.467 GB, free: 7.941 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001779/1.688, allocations: 1.493 MB / 1.469 GB, free: 6.133 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.766e-05/1.688, allocations: 60.75 kB / 1.469 GB, free: 6.062 MB / 1.201 GB Notification: Performance of pre-optimization done (n=278): time 6.723e-06/1.688, allocations: 4 kB / 1.469 GB, free: 6.059 MB / 1.201 GB Notification: Performance of matching and sorting (n=278): time 0.008123/1.696, allocations: 3.881 MB / 1.473 GB, free: 2.129 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/1.696, allocations: 89.52 kB / 1.473 GB, free: 2.027 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002702/1.699, allocations: 1.379 MB / 1.474 GB, free: 0.6406 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0003138/1.699, allocations: 77.7 kB / 1.474 GB, free: 0.5586 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008524/1.7, allocations: 0.9767 MB / 1.475 GB, free: 15.57 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001206/1.702, allocations: 0.947 MB / 1.476 GB, free: 14.61 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008893/1.702, allocations: 412.8 kB / 1.476 GB, free: 14.2 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.703, allocations: 301.1 kB / 1.477 GB, free: 13.9 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002004/1.705, allocations: 1.098 MB / 1.478 GB, free: 12.8 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/1.707, allocations: 1.351 MB / 1.479 GB, free: 11.38 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004331/1.711, allocations: 2.646 MB / 1.482 GB, free: 8.641 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-05/1.711, allocations: 4 kB / 1.482 GB, free: 8.637 MB / 1.217 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005595/1.717, allocations: 2.974 MB / 1.485 GB, free: 5.617 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/1.717, allocations: 11.94 kB / 1.485 GB, free: 5.605 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/1.717, allocations: 4 kB / 1.485 GB, free: 5.602 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.468e-05/1.717, allocations: 19.94 kB / 1.485 GB, free: 5.582 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002283/1.719, allocations: 0.5076 MB / 1.485 GB, free: 5.074 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.383e-05/1.719, allocations: 23.98 kB / 1.485 GB, free: 5.051 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002567/1.722, allocations: 181.9 kB / 1.485 GB, free: 4.871 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/1.722, allocations: 83.98 kB / 1.485 GB, free: 4.789 MB / 1.217 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.00154/1.724, allocations: 0.6416 MB / 1.486 GB, free: 4.137 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009174/1.725, allocations: 233.3 kB / 1.486 GB, free: 3.906 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005803/1.73, allocations: 3.112 MB / 1.489 GB, free: 0.7305 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.68e-05/1.73, allocations: 31.94 kB / 1.489 GB, free: 0.6992 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/1.73, allocations: 0 / 1.489 GB, free: 0.6992 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00419/1.735, allocations: 2.657 MB / 1.492 GB, free: 13.97 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/1.747, allocations: 6.209 MB / 1.498 GB, free: 7.66 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/1.747, allocations: 0 / 1.498 GB, free: 7.66 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002649/1.75, allocations: 0.5462 MB / 1.499 GB, free: 7.113 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.131e-05/1.75, allocations: 8 kB / 1.499 GB, free: 7.105 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002398/1.75, allocations: 55.98 kB / 1.499 GB, free: 7.051 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.813e-05/1.75, allocations: 12 kB / 1.499 GB, free: 7.039 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.75, allocations: 0 / 1.499 GB, free: 7.039 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007618/1.758, allocations: 4.571 MB / 1.503 GB, free: 2.387 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001935/1.76, allocations: 0.6071 MB / 1.504 GB, free: 1.758 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006999/1.76, allocations: 55.98 kB / 1.504 GB, free: 1.703 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002315/1.763, allocations: 73.19 kB / 1.504 GB, free: 1.633 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003898/1.763, allocations: 161.9 kB / 1.504 GB, free: 1.473 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002135/1.763, allocations: 83.97 kB / 1.504 GB, free: 1.391 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.00202/1.765, allocations: 0.9423 MB / 1.505 GB, free: 464 kB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/1.765, allocations: 0 / 1.505 GB, free: 464 kB / 1.232 GB Notification: Performance of remove unused functions: time 0.003575/1.769, allocations: 0.9862 MB / 1.506 GB, free: 15.46 MB / 1.248 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.0009552/1.77, allocations: 366.6 kB / 1.506 GB, free: 15.09 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.005053/1.775, allocations: 2.774 MB / 1.509 GB, free: 12.29 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/1.775, allocations: 0 / 1.509 GB, free: 12.29 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002392/1.777, allocations: 1.515 MB / 1.51 GB, free: 10.77 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007222/1.785, allocations: 1.351 MB / 1.512 GB, free: 9.449 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/1.798, allocations: 6.152 MB / 1.518 GB, free: 3.246 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002292/1.8, allocations: 1.891 MB / 1.52 GB, free: 1.316 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/1.802, allocations: 239.4 kB / 1.52 GB, free: 1.082 MB / 1.248 GB Notification: Performance of SimCode: time 9.62e-07/1.802, allocations: 0 / 1.52 GB, free: 1.082 MB / 1.248 GB Notification: Performance of Templates: time 0.07354/1.875, allocations: 43.12 MB / 1.562 GB, free: 6.188 MB / 1.295 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches