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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009552/0.0009553, allocations: 92 kB / 15.06 MB, free: 1.098 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.001158/0.001158, allocations: 172.7 kB / 15.95 MB, free: 208 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.541/1.541, allocations: 223.3 MB / 240 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.792/2.792, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.000448, allocations: 8 kB / 0.8153 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9476/0.9481, allocations: 142.4 MB / 0.9544 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.4256/1.374, allocations: 287.1 MB / 1.235 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 1.019/2.393, allocations: 17.34 MB / 1.252 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006567/2.4, allocations: 74.56 kB / 1.252 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007312/2.407, allocations: 1.403 MB / 1.253 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0203/2.427, allocations: 5.329 MB / 1.258 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008897/2.436, allocations: 2.247 MB / 1.261 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02282/2.459, allocations: 10.97 MB / 1.271 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01026/2.47, allocations: 2.373 MB / 1.274 GB, free: 28.27 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01071/2.48, allocations: 2.859 MB / 1.276 GB, free: 28.27 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009985/2.49, allocations: 3.153 MB / 1.279 GB, free: 28.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001914/2.492, allocations: 196.8 kB / 1.28 GB, free: 28.25 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01618/2.508, allocations: 3.485 MB / 1.283 GB, free: 28.18 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004006/2.512, allocations: 1.468 MB / 1.284 GB, free: 28.18 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003689/2.516, allocations: 0.7972 MB / 1.285 GB, free: 28.14 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01145/2.528, allocations: 5.394 MB / 1.291 GB, free: 27.72 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/2.528, allocations: 0 / 1.291 GB, free: 27.72 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.264e-06/2.528, allocations: 0 / 1.291 GB, free: 27.72 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002264/2.528, allocations: 0 / 1.291 GB, free: 27.72 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01245/2.54, allocations: 4.361 MB / 1.295 GB, free: 25.87 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/2.54, allocations: 9.578 kB / 1.295 GB, free: 25.87 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007412/2.548, allocations: 1.012 MB / 1.296 GB, free: 25.65 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005639/2.554, allocations: 2.086 MB / 1.298 GB, free: 25.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/2.554, allocations: 246.2 kB / 1.298 GB, free: 25.15 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009234/2.555, allocations: 326.9 kB / 1.298 GB, free: 25.14 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007918/2.563, allocations: 4.213 MB / 1.302 GB, free: 24.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.693e-05/2.563, allocations: 11.09 kB / 1.303 GB, free: 24.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003096/2.563, allocations: 133 kB / 1.303 GB, free: 24.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/2.563, allocations: 167.9 kB / 1.303 GB, free: 24.83 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00789/2.571, allocations: 4.757 MB / 1.307 GB, free: 24.8 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.02079/2.592, allocations: 14.4 MB / 1.321 GB, free: 18.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005693/2.598, allocations: 4.532 MB / 1.326 GB, free: 17.92 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003226/2.601, allocations: 2.433 MB / 1.328 GB, free: 17.59 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001586/2.603, allocations: 1.62 MB / 1.33 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.045e-05/2.603, allocations: 77.58 kB / 1.33 GB, free: 15.78 MB / 1.014 GB Notification: Performance of pre-optimization done (n=392): time 5.08e-06/2.603, allocations: 0 / 1.33 GB, free: 15.78 MB / 1.014 GB Notification: Performance of matching and sorting (n=392): time 0.008811/2.611, allocations: 5.508 MB / 1.335 GB, free: 14.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.546e-05/2.612, allocations: 94.02 kB / 1.335 GB, free: 14.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002779/2.614, allocations: 1.675 MB / 1.337 GB, free: 14.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003579/2.615, allocations: 93.14 kB / 1.337 GB, free: 14.29 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007191/2.615, allocations: 1.132 MB / 1.338 GB, free: 13.74 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00114/2.617, allocations: 1.318 MB / 1.34 GB, free: 12.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/2.617, allocations: 65.09 kB / 1.34 GB, free: 12.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002144/2.617, allocations: 443.8 kB / 1.34 GB, free: 12.42 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/2.619, allocations: 1.548 MB / 1.342 GB, free: 12.18 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002437/2.622, allocations: 1.905 MB / 1.343 GB, free: 11.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002581/2.624, allocations: 1.828 MB / 1.345 GB, free: 11.49 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/2.624, allocations: 0 / 1.345 GB, free: 11.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006691/2.631, allocations: 4.149 MB / 1.349 GB, free: 10.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/2.631, allocations: 8.125 kB / 1.349 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/2.631, allocations: 6.781 kB / 1.349 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.545e-05/2.631, allocations: 25.66 kB / 1.349 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002802/2.634, allocations: 0.7042 MB / 1.35 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.137e-05/2.634, allocations: 21.84 kB / 1.35 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004362/2.638, allocations: 487.4 kB / 1.35 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/2.639, allocations: 116.8 kB / 1.351 GB, free: 10.46 MB / 1.014 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002118/2.641, allocations: 0.7972 MB / 1.351 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008554/2.642, allocations: 290.1 kB / 1.352 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006811/2.649, allocations: 4.416 MB / 1.356 GB, free: 9.27 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.62e-05/2.649, allocations: 39.69 kB / 1.356 GB, free: 9.27 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/2.649, allocations: 8 kB / 1.356 GB, free: 9.262 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004723/2.653, allocations: 3.785 MB / 1.36 GB, free: 8.504 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01553/2.669, allocations: 8.618 MB / 1.368 GB, free: 5.215 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/2.669, allocations: 2.734 kB / 1.368 GB, free: 5.215 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003091/2.672, allocations: 0.7212 MB / 1.369 GB, free: 4.555 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.917e-05/2.672, allocations: 16 kB / 1.369 GB, free: 4.539 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002183/2.672, allocations: 84.72 kB / 1.369 GB, free: 4.508 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.958e-05/2.672, allocations: 18.62 kB / 1.369 GB, free: 4.492 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/2.672, allocations: 4 kB / 1.369 GB, free: 4.488 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008915/2.681, allocations: 6.546 MB / 1.375 GB, free: 28 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002055/2.683, allocations: 0.794 MB / 1.376 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007217/2.684, allocations: 70.91 kB / 1.376 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002623/2.687, allocations: 274.8 kB / 1.376 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003681/2.687, allocations: 230.7 kB / 1.377 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002325/2.687, allocations: 120.6 kB / 1.377 GB, free: 14.87 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001579/2.689, allocations: 1.133 MB / 1.378 GB, free: 14.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 4.91e-07/2.689, allocations: 0 / 1.378 GB, free: 14.03 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003414/2.692, allocations: 1.236 MB / 1.379 GB, free: 12.91 MB / 1.029 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 (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.001008/2.693, allocations: 473.1 kB / 1.38 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005948/2.699, allocations: 3.903 MB / 1.383 GB, free: 9.902 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/2.699, allocations: 3.938 kB / 1.383 GB, free: 9.902 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003103/2.702, allocations: 2.137 MB / 1.385 GB, free: 8.484 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007806/2.71, allocations: 1.543 MB / 1.387 GB, free: 7.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/2.726, allocations: 9.214 MB / 1.396 GB, free: 14.98 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003124/2.729, allocations: 2.209 MB / 1.398 GB, free: 12.85 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.006516/2.736, allocations: 1.204 MB / 1.399 GB, free: 11.64 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001878/2.738, allocations: 267.5 kB / 1.4 GB, free: 11.39 MB / 1.045 GB Notification: Performance of SimCode: time 1.072e-06/2.738, allocations: 4 kB / 1.4 GB, free: 11.39 MB / 1.045 GB Notification: Performance of Templates: time 0.1043/2.842, allocations: 56.92 MB / 1.455 GB, free: 3.395 MB / 1.092 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches