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.006817/0.006817, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001606/0.001606, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.394/2.394, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 61.84 kB / 0.9508 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2849, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.9171/1.202, allocations: 314.1 MB / 1.395 GB, free: 4.215 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02637/1.229, allocations: 18.45 MB / 1.413 GB, free: 8.051 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004478/1.233, allocations: 91.88 kB / 1.413 GB, free: 8.047 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005873/1.239, allocations: 2.152 MB / 1.415 GB, free: 6.992 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01922/1.258, allocations: 7.303 MB / 1.422 GB, free: 1.406 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.008941/1.267, allocations: 3.228 MB / 1.425 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01116/1.278, allocations: 9.099 MB / 1.434 GB, free: 9.758 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004316/1.283, allocations: 3.122 MB / 1.437 GB, free: 7.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006498/1.289, allocations: 3.346 MB / 1.44 GB, free: 5.977 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006398/1.296, allocations: 3.227 MB / 1.444 GB, free: 3.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001212/1.297, allocations: 404 kB / 1.444 GB, free: 3.016 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01542/1.312, allocations: 7.011 MB / 1.451 GB, free: 11.98 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002733/1.315, allocations: 1.683 MB / 1.452 GB, free: 10.3 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005054/1.32, allocations: 2.303 MB / 1.455 GB, free: 7.988 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0169/1.337, allocations: 8.189 MB / 1.463 GB, free: 15.78 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/1.337, allocations: 0 / 1.463 GB, free: 15.78 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.863e-06/1.337, allocations: 3.938 kB / 1.463 GB, free: 15.77 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001225/1.337, allocations: 0 / 1.463 GB, free: 15.77 MB / 1.092 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.0122/1.35, allocations: 4.993 MB / 1.468 GB, free: 10.71 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/1.35, allocations: 8.031 kB / 1.468 GB, free: 10.7 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00619/1.356, allocations: 1.01 MB / 1.469 GB, free: 9.688 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004162/1.36, allocations: 2.248 MB / 1.471 GB, free: 7.387 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/1.36, allocations: 246.4 kB / 1.471 GB, free: 7.145 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000486/1.361, allocations: 324 kB / 1.471 GB, free: 6.828 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006863/1.368, allocations: 4.243 MB / 1.475 GB, free: 2.5 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.042e-05/1.368, allocations: 3.938 kB / 1.475 GB, free: 2.496 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003012/1.368, allocations: 140 kB / 1.476 GB, free: 2.359 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001653/1.368, allocations: 166.4 kB / 1.476 GB, free: 2.195 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007694/1.376, allocations: 4.78 MB / 1.48 GB, free: 13.4 MB / 1.107 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.01996/1.396, allocations: 14.44 MB / 1.494 GB, free: 13.99 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005956/1.402, allocations: 4.55 MB / 1.499 GB, free: 9.426 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003567/1.405, allocations: 2.455 MB / 1.501 GB, free: 6.969 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001653/1.407, allocations: 1.608 MB / 1.503 GB, free: 5.027 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.749e-05/1.407, allocations: 77.62 kB / 1.503 GB, free: 4.941 MB / 1.123 GB Notification: Performance of pre-optimization done (n=392): time 6.292e-06/1.407, allocations: 7.984 kB / 1.503 GB, free: 4.934 MB / 1.123 GB Notification: Performance of matching and sorting (n=392): time 0.009072/1.416, allocations: 5.527 MB / 1.508 GB, free: 15.38 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/1.416, allocations: 98.48 kB / 1.508 GB, free: 15.27 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/1.419, allocations: 1.682 MB / 1.51 GB, free: 13.55 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002625/1.419, allocations: 93.7 kB / 1.51 GB, free: 13.45 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008238/1.42, allocations: 1.132 MB / 1.511 GB, free: 12.31 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001141/1.421, allocations: 1.324 MB / 1.513 GB, free: 10.96 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008276/1.422, allocations: 0.5468 MB / 1.513 GB, free: 10.41 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001/1.422, allocations: 301.1 kB / 1.513 GB, free: 10.11 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002529/1.424, allocations: 1.564 MB / 1.515 GB, free: 8.547 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002701/1.427, allocations: 1.927 MB / 1.517 GB, free: 6.551 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005585/1.433, allocations: 3.758 MB / 1.521 GB, free: 2.707 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/1.433, allocations: 4 kB / 1.521 GB, free: 2.703 MB / 1.139 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006823/1.44, allocations: 4.177 MB / 1.525 GB, free: 14.5 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/1.44, allocations: 8.594 kB / 1.525 GB, free: 14.49 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/1.44, allocations: 12 kB / 1.525 GB, free: 14.48 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.424e-05/1.44, allocations: 16 kB / 1.525 GB, free: 14.46 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002936/1.443, allocations: 0.6944 MB / 1.525 GB, free: 13.77 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.594e-05/1.443, allocations: 27.92 kB / 1.525 GB, free: 13.74 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/1.445, allocations: 253.1 kB / 1.526 GB, free: 13.49 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002412/1.445, allocations: 112 kB / 1.526 GB, free: 13.38 MB / 1.154 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.001424/1.447, allocations: 0.8093 MB / 1.526 GB, free: 12.56 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005668/1.447, allocations: 292.5 kB / 1.527 GB, free: 12.27 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007046/1.454, allocations: 4.423 MB / 1.531 GB, free: 7.816 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.76e-05/1.455, allocations: 36 kB / 1.531 GB, free: 7.781 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/1.455, allocations: 0 / 1.531 GB, free: 7.781 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005371/1.46, allocations: 3.799 MB / 1.535 GB, free: 3.91 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/1.473, allocations: 8.652 MB / 1.543 GB, free: 11.1 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/1.474, allocations: 8.25 kB / 1.543 GB, free: 11.09 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003343/1.477, allocations: 0.7178 MB / 1.544 GB, free: 10.37 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.712e-05/1.477, allocations: 16 kB / 1.544 GB, free: 10.36 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002383/1.477, allocations: 79.98 kB / 1.544 GB, free: 10.28 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.068e-05/1.477, allocations: 16 kB / 1.544 GB, free: 10.26 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.477, allocations: 15.92 kB / 1.544 GB, free: 10.25 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009583/1.487, allocations: 6.572 MB / 1.551 GB, free: 3.578 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/1.488, allocations: 0.7894 MB / 1.551 GB, free: 2.766 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003742/1.489, allocations: 75.98 kB / 1.551 GB, free: 2.691 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/1.491, allocations: 93.03 kB / 1.551 GB, free: 2.602 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004448/1.491, allocations: 242.5 kB / 1.552 GB, free: 2.363 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002476/1.491, allocations: 112 kB / 1.552 GB, free: 2.254 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001553/1.493, allocations: 1.157 MB / 1.553 GB, free: 1.074 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.71e-07/1.493, allocations: 0 / 1.553 GB, free: 1.074 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002528/1.496, allocations: 1.224 MB / 1.554 GB, free: 15.84 MB / 1.186 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.0008536/1.496, allocations: 464.8 kB / 1.555 GB, free: 15.39 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005859/1.502, allocations: 3.947 MB / 1.558 GB, free: 11.43 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/1.502, allocations: 0 / 1.558 GB, free: 11.43 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002934/1.505, allocations: 2.153 MB / 1.561 GB, free: 9.277 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006559/1.512, allocations: 1.602 MB / 1.562 GB, free: 7.707 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/1.523, allocations: 7.668 MB / 1.57 GB, free: 15.96 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/1.525, allocations: 2.205 MB / 1.572 GB, free: 13.72 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.003963/1.529, allocations: 1.204 MB / 1.573 GB, free: 12.51 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/1.53, allocations: 271.4 kB / 1.573 GB, free: 12.24 MB / 1.201 GB Notification: Performance of SimCode: time 7.91e-07/1.53, allocations: 0 / 1.573 GB, free: 12.24 MB / 1.201 GB Notification: Performance of Templates: time 0.09743/1.628, allocations: 63.57 MB / 1.635 GB, free: 13.31 MB / 1.264 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