Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001419/0.001419, allocations: 104.1 kB / 16.41 MB, free: 6.461 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.001489/0.001489, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.5/1.5, allocations: 222.9 MB / 241 MB, free: 15.07 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.426/2.426, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 59.91 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.025, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.4168/1.442, allocations: 314.2 MB / 1.395 GB, free: 3.023 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03385/1.476, allocations: 18.46 MB / 1.413 GB, free: 0.5312 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005547/1.481, allocations: 87.56 kB / 1.414 GB, free: 456 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.007383/1.489, allocations: 2.242 MB / 1.416 GB, free: 14.19 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.02423/1.513, allocations: 7.531 MB / 1.423 GB, free: 6.625 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.01141/1.524, allocations: 3.275 MB / 1.426 GB, free: 3.352 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0156/1.54, allocations: 9.115 MB / 1.435 GB, free: 10.22 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007058/1.547, allocations: 3.1 MB / 1.438 GB, free: 7.055 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009612/1.557, allocations: 3.403 MB / 1.441 GB, free: 3.641 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008265/1.565, allocations: 3.221 MB / 1.445 GB, free: 428 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.002142/1.567, allocations: 404 kB / 1.445 GB, free: 24 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01745/1.585, allocations: 7.038 MB / 1.452 GB, free: 8.965 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.003395/1.588, allocations: 1.687 MB / 1.454 GB, free: 7.277 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.006392/1.595, allocations: 2.299 MB / 1.456 GB, free: 4.969 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.02054/1.615, allocations: 8.185 MB / 1.464 GB, free: 12.76 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/1.615, allocations: 0 / 1.464 GB, free: 12.76 MB / 1.201 GB Notification: Performance of FrontEnd: time 6.482e-06/1.615, allocations: 3.984 kB / 1.464 GB, free: 12.76 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0002851/1.616, allocations: 0 / 1.464 GB, free: 12.76 MB / 1.201 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.01717/1.633, allocations: 4.993 MB / 1.469 GB, free: 7.695 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/1.633, allocations: 8.031 kB / 1.469 GB, free: 7.688 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007921/1.641, allocations: 1.018 MB / 1.47 GB, free: 6.664 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00561/1.646, allocations: 2.24 MB / 1.472 GB, free: 4.371 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/1.647, allocations: 246.4 kB / 1.472 GB, free: 4.129 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001055/1.648, allocations: 324 kB / 1.472 GB, free: 3.812 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/1.658, allocations: 4.243 MB / 1.477 GB, free: 15.48 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001513/1.658, allocations: 11.98 kB / 1.477 GB, free: 15.47 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000796/1.659, allocations: 132 kB / 1.477 GB, free: 15.34 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002255/1.659, allocations: 178.3 kB / 1.477 GB, free: 15.17 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/1.67, allocations: 4.772 MB / 1.482 GB, free: 10.39 MB / 1.217 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.02705/1.697, allocations: 14.44 MB / 1.496 GB, free: 10.97 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00768/1.705, allocations: 4.559 MB / 1.5 GB, free: 6.406 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004514/1.709, allocations: 2.459 MB / 1.502 GB, free: 3.949 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001956/1.711, allocations: 1.608 MB / 1.504 GB, free: 2.008 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.804e-05/1.711, allocations: 77.64 kB / 1.504 GB, free: 1.922 MB / 1.232 GB Notification: Performance of pre-optimization done (n=392): time 8.085e-06/1.711, allocations: 0 / 1.504 GB, free: 1.922 MB / 1.232 GB Notification: Performance of matching and sorting (n=392): time 0.01201/1.723, allocations: 5.531 MB / 1.51 GB, free: 12.37 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.885e-05/1.724, allocations: 90.48 kB / 1.51 GB, free: 12.27 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003286/1.727, allocations: 1.684 MB / 1.511 GB, free: 10.54 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0005556/1.727, allocations: 97.64 kB / 1.511 GB, free: 10.44 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009626/1.728, allocations: 1.132 MB / 1.512 GB, free: 9.293 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001667/1.73, allocations: 1.32 MB / 1.514 GB, free: 7.953 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001539/1.732, allocations: 0.5468 MB / 1.514 GB, free: 7.398 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.732, allocations: 305.1 kB / 1.515 GB, free: 7.098 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002934/1.735, allocations: 1.572 MB / 1.516 GB, free: 5.523 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003274/1.738, allocations: 1.912 MB / 1.518 GB, free: 3.543 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006715/1.745, allocations: 3.762 MB / 1.522 GB, free: 15.7 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.389e-05/1.745, allocations: 8 kB / 1.522 GB, free: 15.69 MB / 1.264 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008749/1.754, allocations: 4.17 MB / 1.526 GB, free: 11.49 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/1.754, allocations: 10.16 kB / 1.526 GB, free: 11.48 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/1.754, allocations: 11.98 kB / 1.526 GB, free: 11.47 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.992e-05/1.754, allocations: 20 kB / 1.526 GB, free: 11.45 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003297/1.757, allocations: 0.6943 MB / 1.526 GB, free: 10.76 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.454e-05/1.757, allocations: 27.88 kB / 1.526 GB, free: 10.73 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003413/1.761, allocations: 257.1 kB / 1.527 GB, free: 10.48 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005177/1.761, allocations: 127.9 kB / 1.527 GB, free: 10.35 MB / 1.264 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.002299/1.763, allocations: 0.7937 MB / 1.528 GB, free: 9.547 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/1.765, allocations: 292.5 kB / 1.528 GB, free: 9.258 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00975/1.774, allocations: 4.421 MB / 1.532 GB, free: 4.801 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.511e-05/1.775, allocations: 36 kB / 1.532 GB, free: 4.766 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.527e-05/1.775, allocations: 7.938 kB / 1.532 GB, free: 4.758 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006881/1.781, allocations: 3.796 MB / 1.536 GB, free: 0.8945 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01866/1.8, allocations: 8.652 MB / 1.544 GB, free: 8.078 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/1.8, allocations: 4 kB / 1.544 GB, free: 8.074 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003708/1.804, allocations: 0.7255 MB / 1.545 GB, free: 7.348 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.077e-05/1.804, allocations: 16 kB / 1.545 GB, free: 7.332 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005362/1.805, allocations: 88.11 kB / 1.545 GB, free: 7.246 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.031e-05/1.805, allocations: 15.98 kB / 1.545 GB, free: 7.23 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.805, allocations: 7.938 kB / 1.545 GB, free: 7.223 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/1.816, allocations: 6.564 MB / 1.552 GB, free: 0.5625 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002438/1.819, allocations: 0.8011 MB / 1.552 GB, free: 15.73 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/1.82, allocations: 71.94 kB / 1.552 GB, free: 15.66 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002852/1.823, allocations: 90.41 kB / 1.553 GB, free: 15.58 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006795/1.824, allocations: 234.6 kB / 1.553 GB, free: 15.35 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004113/1.824, allocations: 112 kB / 1.553 GB, free: 15.24 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002515/1.827, allocations: 1.157 MB / 1.554 GB, free: 14.06 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.41e-07/1.827, allocations: 0 / 1.554 GB, free: 14.06 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004616/1.831, allocations: 1.224 MB / 1.555 GB, free: 12.83 MB / 1.295 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.001483/1.833, allocations: 464.3 kB / 1.556 GB, free: 12.37 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.008107/1.841, allocations: 3.94 MB / 1.56 GB, free: 8.418 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.515e-05/1.841, allocations: 9.312 kB / 1.56 GB, free: 8.41 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004279/1.845, allocations: 2.153 MB / 1.562 GB, free: 6.258 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009684/1.855, allocations: 1.594 MB / 1.563 GB, free: 4.695 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/1.871, allocations: 7.838 MB / 1.571 GB, free: 12.78 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003141/1.874, allocations: 2.205 MB / 1.573 GB, free: 10.54 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002229/1.877, allocations: 307.4 kB / 1.573 GB, free: 10.23 MB / 1.311 GB Notification: Performance of SimCode: time 1.192e-06/1.877, allocations: 0 / 1.573 GB, free: 10.23 MB / 1.311 GB Notification: Performance of Templates: time 0.5828/2.459, allocations: 54.82 MB / 1.627 GB, free: 427.1 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches