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 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.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.0008091/0.0008089, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.0008204/0.0008204, allocations: 168.7 kB / 15.95 MB, free: 204 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.451/1.451, allocations: 223.3 MB / 240 MB, free: 5.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.892/2.892, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003947, allocations: 14.47 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3813, allocations: 159.6 MB / 1.058 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.122/1.503, allocations: 269.6 MB / 1.321 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02714/1.53, allocations: 15.97 MB / 1.337 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005635/1.536, allocations: 65.56 kB / 1.337 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005188/1.541, allocations: 1.241 MB / 1.338 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01686/1.558, allocations: 4.688 MB / 1.343 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008555/1.567, allocations: 2.02 MB / 1.345 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01409/1.581, allocations: 9.357 MB / 1.354 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004799/1.586, allocations: 1.929 MB / 1.356 GB, free: 21.11 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007396/1.593, allocations: 2.397 MB / 1.358 GB, free: 21.1 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006635/1.6, allocations: 2.623 MB / 1.361 GB, free: 21.09 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001496/1.601, allocations: 156.1 kB / 1.361 GB, free: 21.09 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01306/1.614, allocations: 3.056 MB / 1.364 GB, free: 21.02 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002896/1.617, allocations: 1.154 MB / 1.365 GB, free: 20.75 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002315/1.62, allocations: 0.6599 MB / 1.366 GB, free: 20.62 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008308/1.628, allocations: 4.523 MB / 1.37 GB, free: 18.45 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/1.628, allocations: 0 / 1.37 GB, free: 18.45 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.206e-06/1.628, allocations: 6.812 kB / 1.37 GB, free: 18.45 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000157/1.628, allocations: 0 / 1.37 GB, free: 18.45 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01022/1.638, allocations: 3.585 MB / 1.373 GB, free: 16.32 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.638, allocations: 12.28 kB / 1.373 GB, free: 16.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006876/1.645, allocations: 0.9137 MB / 1.374 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004312/1.65, allocations: 1.78 MB / 1.376 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000172/1.65, allocations: 198.9 kB / 1.376 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006595/1.651, allocations: 268.8 kB / 1.377 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006576/1.657, allocations: 3.307 MB / 1.38 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.017e-05/1.657, allocations: 6.812 kB / 1.38 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003003/1.658, allocations: 108.7 kB / 1.38 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001667/1.658, allocations: 136 kB / 1.38 GB, free: 14.13 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006619/1.664, allocations: 3.479 MB / 1.383 GB, free: 13.49 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.02007/1.684, allocations: 12.11 MB / 1.395 GB, free: 5.574 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004795/1.689, allocations: 3.488 MB / 1.399 GB, free: 4.645 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002905/1.692, allocations: 1.793 MB / 1.4 GB, free: 4.383 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001606/1.694, allocations: 1.501 MB / 1.402 GB, free: 2.723 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.371e-05/1.694, allocations: 72.44 kB / 1.402 GB, free: 2.672 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 4.549e-06/1.694, allocations: 0 / 1.402 GB, free: 2.672 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.006598/1.701, allocations: 3.869 MB / 1.406 GB, free: 2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/1.701, allocations: 79.44 kB / 1.406 GB, free: 1.934 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/1.703, allocations: 1.36 MB / 1.407 GB, free: 1.555 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002927/1.703, allocations: 78.67 kB / 1.407 GB, free: 1.523 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007589/1.704, allocations: 0.9821 MB / 1.408 GB, free: 1.031 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001093/1.705, allocations: 0.9457 MB / 1.409 GB, free: 340 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/1.705, allocations: 45.75 kB / 1.409 GB, free: 340 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001939/1.705, allocations: 403.1 kB / 1.409 GB, free: 0 / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/1.707, allocations: 1.088 MB / 1.411 GB, free: 15.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001886/1.709, allocations: 1.354 MB / 1.412 GB, free: 14.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/1.711, allocations: 1.273 MB / 1.413 GB, free: 13.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/1.711, allocations: 0 / 1.413 GB, free: 13.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005189/1.716, allocations: 2.964 MB / 1.416 GB, free: 11.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/1.716, allocations: 4 kB / 1.416 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/1.716, allocations: 4 kB / 1.416 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.972e-05/1.716, allocations: 16 kB / 1.416 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/1.718, allocations: 0.517 MB / 1.417 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.555e-05/1.718, allocations: 23.94 kB / 1.417 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003085/1.722, allocations: 379 kB / 1.417 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/1.722, allocations: 82.61 kB / 1.417 GB, free: 10.79 MB / 1.029 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001542/1.723, allocations: 0.6389 MB / 1.418 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006883/1.724, allocations: 233.2 kB / 1.418 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005472/1.729, allocations: 3.113 MB / 1.421 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/1.73, allocations: 24 kB / 1.421 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/1.73, allocations: 0 / 1.421 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003866/1.733, allocations: 2.648 MB / 1.423 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/1.744, allocations: 6.212 MB / 1.43 GB, free: 2.078 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/1.744, allocations: 0 / 1.43 GB, free: 2.078 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002486/1.746, allocations: 0.5379 MB / 1.43 GB, free: 1.559 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.126e-05/1.747, allocations: 12 kB / 1.43 GB, free: 1.547 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001675/1.747, allocations: 59.92 kB / 1.43 GB, free: 1.523 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.419e-05/1.747, allocations: 8 kB / 1.43 GB, free: 1.516 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.747, allocations: 3.984 kB / 1.43 GB, free: 1.512 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007015/1.754, allocations: 4.553 MB / 1.435 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/1.756, allocations: 0.6109 MB / 1.435 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004101/1.756, allocations: 52 kB / 1.435 GB, free: 12.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/1.758, allocations: 236.1 kB / 1.435 GB, free: 12.59 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003347/1.758, allocations: 164.6 kB / 1.436 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/1.758, allocations: 83.97 kB / 1.436 GB, free: 12.35 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00135/1.76, allocations: 0.9266 MB / 1.437 GB, free: 11.43 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/1.76, allocations: 7.938 kB / 1.437 GB, free: 11.42 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002568/1.762, allocations: 0.9823 MB / 1.438 GB, free: 10.43 MB / 1.045 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 (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.0007066/1.763, allocations: 379.9 kB / 1.438 GB, free: 10.07 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004498/1.768, allocations: 2.751 MB / 1.441 GB, free: 7.293 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.768, allocations: 0 / 1.441 GB, free: 7.293 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002191/1.77, allocations: 1.496 MB / 1.442 GB, free: 5.793 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006167/1.776, allocations: 1.299 MB / 1.443 GB, free: 4.512 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/1.787, allocations: 7.311 MB / 1.451 GB, free: 13.15 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001721/1.789, allocations: 1.895 MB / 1.452 GB, free: 11.22 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.003678/1.793, allocations: 0.8436 MB / 1.453 GB, free: 10.38 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008079/1.794, allocations: 207.4 kB / 1.453 GB, free: 10.17 MB / 1.061 GB Notification: Performance of SimCode: time 1.113e-06/1.794, allocations: 0 / 1.453 GB, free: 10.17 MB / 1.061 GB Notification: Performance of Templates: time 0.08325/1.877, allocations: 45.69 MB / 1.498 GB, free: 13.07 MB / 1.107 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