Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001531/0.001531, 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.001832/0.001832, allocations: 196.6 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.542/2.542, allocations: 437 MB / 0.7103 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 71.81 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5625/0.5638, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.8449/1.409, allocations: 295.1 MB / 1.305 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02533/1.434, allocations: 17.01 MB / 1.322 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00583/1.44, allocations: 82.19 kB / 1.322 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005907/1.446, allocations: 1.889 MB / 1.324 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01778/1.464, allocations: 6.442 MB / 1.33 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008395/1.472, allocations: 2.925 MB / 1.333 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01168/1.484, allocations: 7.707 MB / 1.341 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0044/1.488, allocations: 2.585 MB / 1.343 GB, free: 16.9 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006616/1.495, allocations: 2.761 MB / 1.346 GB, free: 16.78 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007806/1.503, allocations: 2.704 MB / 1.349 GB, free: 16.43 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00108/1.504, allocations: 327.6 kB / 1.349 GB, free: 16.43 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0166/1.521, allocations: 6.172 MB / 1.355 GB, free: 16.36 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003494/1.524, allocations: 1.331 MB / 1.356 GB, free: 16.23 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.008393/1.533, allocations: 1.882 MB / 1.358 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02093/1.553, allocations: 6.837 MB / 1.365 GB, free: 14.59 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/1.554, allocations: 2.719 kB / 1.365 GB, free: 14.59 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.154e-06/1.554, allocations: 0 / 1.365 GB, free: 14.59 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002334/1.554, allocations: 4 kB / 1.365 GB, free: 14.59 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.01587/1.57, allocations: 4.122 MB / 1.369 GB, free: 12.4 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/1.57, allocations: 10.53 kB / 1.369 GB, free: 12.4 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007469/1.577, allocations: 0.9256 MB / 1.37 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005316/1.583, allocations: 1.836 MB / 1.371 GB, free: 10.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/1.583, allocations: 192.8 kB / 1.372 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001181/1.584, allocations: 260.5 kB / 1.372 GB, free: 10.72 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009065/1.593, allocations: 3.34 MB / 1.375 GB, free: 8.738 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001227/1.593, allocations: 10.25 kB / 1.375 GB, free: 8.734 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006797/1.594, allocations: 108.2 kB / 1.375 GB, free: 8.656 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001673/1.594, allocations: 136.8 kB / 1.375 GB, free: 8.629 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007107/1.601, allocations: 3.497 MB / 1.379 GB, free: 6.934 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.01891/1.62, allocations: 12.23 MB / 1.391 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004676/1.625, allocations: 3.511 MB / 1.394 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002753/1.628, allocations: 1.809 MB / 1.396 GB, free: 9.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001555/1.629, allocations: 1.497 MB / 1.397 GB, free: 7.445 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/1.629, allocations: 64.75 kB / 1.397 GB, free: 7.371 MB / 1.029 GB Notification: Performance of pre-optimization done (n=278): time 4.519e-06/1.629, allocations: 4 kB / 1.397 GB, free: 7.367 MB / 1.029 GB Notification: Performance of matching and sorting (n=278): time 0.00692/1.636, allocations: 3.88 MB / 1.401 GB, free: 3.441 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/1.636, allocations: 81.59 kB / 1.401 GB, free: 3.348 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/1.638, allocations: 1.383 MB / 1.403 GB, free: 1.957 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002352/1.639, allocations: 77.7 kB / 1.403 GB, free: 1.875 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000682/1.639, allocations: 0.9799 MB / 1.404 GB, free: 0.8867 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000894/1.64, allocations: 0.9472 MB / 1.405 GB, free: 15.94 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006399/1.641, allocations: 400.9 kB / 1.405 GB, free: 15.55 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.056e-05/1.641, allocations: 313 kB / 1.405 GB, free: 15.24 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/1.643, allocations: 1.09 MB / 1.406 GB, free: 14.14 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/1.645, allocations: 1.362 MB / 1.408 GB, free: 12.72 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003987/1.649, allocations: 2.646 MB / 1.41 GB, free: 9.996 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/1.649, allocations: 3.938 kB / 1.41 GB, free: 9.992 MB / 1.045 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005148/1.654, allocations: 2.974 MB / 1.413 GB, free: 6.996 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/1.654, allocations: 8 kB / 1.413 GB, free: 6.988 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/1.654, allocations: 4.562 kB / 1.413 GB, free: 6.984 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.297e-05/1.654, allocations: 24 kB / 1.413 GB, free: 6.961 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/1.656, allocations: 0.5022 MB / 1.414 GB, free: 6.488 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-05/1.656, allocations: 19.28 kB / 1.414 GB, free: 6.473 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/1.659, allocations: 185.9 kB / 1.414 GB, free: 6.289 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/1.659, allocations: 83.98 kB / 1.414 GB, free: 6.207 MB / 1.045 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.001308/1.66, allocations: 0.6552 MB / 1.415 GB, free: 5.574 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006459/1.661, allocations: 229.3 kB / 1.415 GB, free: 5.348 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005307/1.666, allocations: 3.112 MB / 1.418 GB, free: 2.176 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.844e-05/1.666, allocations: 24 kB / 1.418 GB, free: 2.152 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.666, allocations: 0 / 1.418 GB, free: 2.152 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004091/1.67, allocations: 2.661 MB / 1.421 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/1.681, allocations: 6.218 MB / 1.427 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/1.681, allocations: 0 / 1.427 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00264/1.683, allocations: 0.5432 MB / 1.427 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.837e-05/1.683, allocations: 8 kB / 1.427 GB, free: 8.648 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/1.683, allocations: 59.98 kB / 1.427 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-05/1.684, allocations: 11.94 kB / 1.427 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/1.684, allocations: 0 / 1.427 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006884/1.69, allocations: 4.579 MB / 1.432 GB, free: 3.922 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/1.692, allocations: 0.6071 MB / 1.432 GB, free: 3.293 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004386/1.692, allocations: 55.94 kB / 1.432 GB, free: 3.238 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/1.694, allocations: 63.91 kB / 1.432 GB, free: 3.176 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003338/1.694, allocations: 166 kB / 1.433 GB, free: 3.012 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/1.695, allocations: 79.97 kB / 1.433 GB, free: 2.934 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001334/1.696, allocations: 0.9423 MB / 1.434 GB, free: 1.996 MB / 1.061 GB Notification: Performance of sort global known variables: time 2e-07/1.696, allocations: 0 / 1.434 GB, free: 1.996 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002298/1.698, allocations: 0.9823 MB / 1.434 GB, free: 1.012 MB / 1.061 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.0007158/1.699, allocations: 382.3 kB / 1.435 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0124/1.711, allocations: 5.533 MB / 1.44 GB, free: 11.17 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.711, allocations: 0 / 1.44 GB, free: 11.17 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002286/1.714, allocations: 1.513 MB / 1.442 GB, free: 9.707 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00649/1.72, allocations: 1.345 MB / 1.443 GB, free: 8.398 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009988/1.73, allocations: 6.078 MB / 1.449 GB, free: 2.297 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/1.732, allocations: 1.899 MB / 1.451 GB, free: 368 kB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.003472/1.735, allocations: 0.8436 MB / 1.452 GB, free: 15.51 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00084/1.736, allocations: 207.3 kB / 1.452 GB, free: 15.31 MB / 1.092 GB Notification: Performance of SimCode: time 1.011e-06/1.736, allocations: 0 / 1.452 GB, free: 15.31 MB / 1.092 GB Notification: Performance of Templates: time 0.08626/1.822, allocations: 49.72 MB / 1.5 GB, free: 14.36 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches