Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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_latest_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_latest_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.002011/0.002011, allocations: 108 kB / 15.61 MB, free: 152 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.002843/0.002843, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.552/1.552, allocations: 222.9 MB / 240.2 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.143/3.143, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.25 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4145, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.128/1.543, allocations: 295.1 MB / 1.356 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02558/1.568, allocations: 17.01 MB / 1.373 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006435/1.575, allocations: 81.53 kB / 1.373 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006324/1.581, allocations: 1.891 MB / 1.375 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01986/1.601, allocations: 6.437 MB / 1.381 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00887/1.61, allocations: 2.92 MB / 1.384 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01088/1.621, allocations: 7.711 MB / 1.392 GB, free: 11.22 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004213/1.625, allocations: 2.583 MB / 1.394 GB, free: 9.648 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006453/1.632, allocations: 2.772 MB / 1.397 GB, free: 8.297 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006194/1.638, allocations: 2.709 MB / 1.399 GB, free: 6.91 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001062/1.639, allocations: 328 kB / 1.4 GB, free: 6.91 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01652/1.656, allocations: 6.159 MB / 1.406 GB, free: 3.492 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002522/1.658, allocations: 1.336 MB / 1.407 GB, free: 2.57 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003915/1.662, allocations: 1.881 MB / 1.409 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01777/1.68, allocations: 6.84 MB / 1.416 GB, free: 13.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.68, allocations: 0 / 1.416 GB, free: 13.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.365e-06/1.68, allocations: 0 / 1.416 GB, free: 13.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001315/1.68, allocations: 0 / 1.416 GB, free: 13.1 MB / 1.029 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.01199/1.692, allocations: 4.13 MB / 1.42 GB, free: 10.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/1.692, allocations: 6.844 kB / 1.42 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006345/1.698, allocations: 0.9082 MB / 1.421 GB, free: 9.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004337/1.703, allocations: 1.85 MB / 1.422 GB, free: 7.934 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/1.703, allocations: 197.1 kB / 1.423 GB, free: 7.738 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004816/1.703, allocations: 263.9 kB / 1.423 GB, free: 7.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005704/1.709, allocations: 3.327 MB / 1.426 GB, free: 4.051 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.187e-05/1.709, allocations: 11.92 kB / 1.426 GB, free: 4.039 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002532/1.71, allocations: 108 kB / 1.426 GB, free: 3.934 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001399/1.71, allocations: 133.1 kB / 1.426 GB, free: 3.801 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00558/1.715, allocations: 3.502 MB / 1.43 GB, free: 292 kB / 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.01729/1.733, allocations: 12.23 MB / 1.442 GB, free: 3.145 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004631/1.737, allocations: 3.501 MB / 1.445 GB, free: 15.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002653/1.74, allocations: 1.819 MB / 1.447 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/1.741, allocations: 1.489 MB / 1.448 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.763e-05/1.742, allocations: 72.62 kB / 1.448 GB, free: 11.86 MB / 1.061 GB Notification: Performance of pre-optimization done (n=278): time 4.588e-06/1.742, allocations: 0 / 1.448 GB, free: 11.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=278): time 0.006627/1.748, allocations: 3.881 MB / 1.452 GB, free: 7.926 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/1.748, allocations: 81.59 kB / 1.452 GB, free: 7.832 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/1.75, allocations: 1.383 MB / 1.454 GB, free: 6.441 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001973/1.751, allocations: 77.64 kB / 1.454 GB, free: 6.359 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006911/1.751, allocations: 0.9843 MB / 1.455 GB, free: 5.363 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000926/1.752, allocations: 0.947 MB / 1.456 GB, free: 4.402 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000607/1.753, allocations: 404.9 kB / 1.456 GB, free: 4 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.749e-05/1.753, allocations: 301.1 kB / 1.456 GB, free: 3.703 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/1.755, allocations: 1.098 MB / 1.457 GB, free: 2.602 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/1.756, allocations: 1.362 MB / 1.459 GB, free: 1.172 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003862/1.76, allocations: 2.65 MB / 1.461 GB, free: 14.43 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/1.76, allocations: 3.938 kB / 1.461 GB, free: 14.42 MB / 1.076 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005138/1.765, allocations: 2.978 MB / 1.464 GB, free: 11.4 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/1.765, allocations: 13.66 kB / 1.464 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/1.765, allocations: 4 kB / 1.464 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.77e-05/1.766, allocations: 19.94 kB / 1.464 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002161/1.768, allocations: 0.5072 MB / 1.465 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.61e-05/1.768, allocations: 15.94 kB / 1.465 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/1.77, allocations: 182 kB / 1.465 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/1.771, allocations: 92.05 kB / 1.465 GB, free: 10.57 MB / 1.076 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.00133/1.772, allocations: 0.6378 MB / 1.466 GB, free: 9.922 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005586/1.772, allocations: 233.2 kB / 1.466 GB, free: 9.691 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004734/1.777, allocations: 3.112 MB / 1.469 GB, free: 6.523 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/1.777, allocations: 28 kB / 1.469 GB, free: 6.496 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/1.777, allocations: 4 kB / 1.469 GB, free: 6.492 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00358/1.781, allocations: 2.661 MB / 1.471 GB, free: 3.766 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009266/1.79, allocations: 6.21 MB / 1.477 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/1.79, allocations: 0 / 1.477 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00242/1.793, allocations: 0.5384 MB / 1.478 GB, free: 12.91 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.679e-05/1.793, allocations: 8 kB / 1.478 GB, free: 12.91 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001523/1.793, allocations: 67.97 kB / 1.478 GB, free: 12.84 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.529e-05/1.793, allocations: 15.94 kB / 1.478 GB, free: 12.82 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.793, allocations: 0 / 1.478 GB, free: 12.82 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006638/1.799, allocations: 4.581 MB / 1.483 GB, free: 8.16 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/1.801, allocations: 0.6032 MB / 1.483 GB, free: 7.535 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003321/1.801, allocations: 55.98 kB / 1.483 GB, free: 7.48 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/1.803, allocations: 58.62 kB / 1.483 GB, free: 7.426 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003465/1.803, allocations: 165.9 kB / 1.483 GB, free: 7.262 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/1.804, allocations: 79.98 kB / 1.483 GB, free: 7.184 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001339/1.805, allocations: 0.9462 MB / 1.484 GB, free: 6.242 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.6e-07/1.805, allocations: 4 kB / 1.484 GB, free: 6.238 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00237/1.807, allocations: 0.9784 MB / 1.485 GB, free: 5.258 MB / 1.092 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.0006594/1.808, allocations: 375 kB / 1.486 GB, free: 4.879 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01155/1.82, allocations: 5.532 MB / 1.491 GB, free: 15.31 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/1.82, allocations: 0 / 1.491 GB, free: 15.31 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002003/1.822, allocations: 1.52 MB / 1.493 GB, free: 13.79 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006082/1.828, allocations: 1.354 MB / 1.494 GB, free: 12.47 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009223/1.837, allocations: 6.077 MB / 1.5 GB, free: 6.352 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/1.838, allocations: 1.891 MB / 1.502 GB, free: 4.422 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003406/1.842, allocations: 0.8436 MB / 1.503 GB, free: 3.574 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006664/1.842, allocations: 203.4 kB / 1.503 GB, free: 3.375 MB / 1.107 GB Notification: Performance of SimCode: time 1.041e-06/1.842, allocations: 0 / 1.503 GB, free: 3.375 MB / 1.107 GB Notification: Performance of Templates: time 0.07939/1.922, allocations: 49.72 MB / 1.551 GB, free: 2.203 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches