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.001892/0.001892, allocations: 113.2 kB / 16.37 MB, free: 6.004 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.002166/0.002166, allocations: 196 kB / 17.31 MB, free: 5.613 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.304/2.304, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 62.23 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.31, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.937/1.247, allocations: 314.1 MB / 1.258 GB, free: 2.797 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03265/1.28, allocations: 18.45 MB / 1.276 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007536/1.287, allocations: 91.88 kB / 1.276 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.008942/1.296, allocations: 2.152 MB / 1.278 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.02542/1.322, allocations: 7.316 MB / 1.285 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.01018/1.332, allocations: 3.218 MB / 1.288 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01266/1.345, allocations: 9.104 MB / 1.297 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00608/1.351, allocations: 3.112 MB / 1.3 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007725/1.359, allocations: 3.309 MB / 1.304 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006811/1.365, allocations: 3.233 MB / 1.307 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001394/1.367, allocations: 404 kB / 1.307 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0153/1.382, allocations: 7.007 MB / 1.314 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002761/1.385, allocations: 1.679 MB / 1.316 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004952/1.39, allocations: 2.31 MB / 1.318 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01884/1.409, allocations: 8.181 MB / 1.326 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/1.409, allocations: 4 kB / 1.326 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.284e-06/1.409, allocations: 0 / 1.326 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001981/1.409, allocations: 0 / 1.326 GB, free: 0.75 MB / 0.9825 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.01476/1.424, allocations: 4.985 MB / 1.331 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.424, allocations: 12.03 kB / 1.331 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00726/1.431, allocations: 1.01 MB / 1.332 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005736/1.437, allocations: 2.248 MB / 1.334 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002549/1.437, allocations: 246.4 kB / 1.334 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/1.438, allocations: 327.8 kB / 1.334 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008215/1.447, allocations: 4.232 MB / 1.339 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.454e-05/1.447, allocations: 11.84 kB / 1.339 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003226/1.447, allocations: 132 kB / 1.339 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001781/1.447, allocations: 178.4 kB / 1.339 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00936/1.457, allocations: 4.776 MB / 1.344 GB, free: 14.38 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.02607/1.483, allocations: 14.44 MB / 1.358 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00696/1.49, allocations: 4.552 MB / 1.362 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004148/1.494, allocations: 2.452 MB / 1.364 GB, free: 7.953 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001755/1.496, allocations: 1.604 MB / 1.366 GB, free: 6.016 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.536e-05/1.496, allocations: 84.16 kB / 1.366 GB, free: 5.926 MB / 1.029 GB Notification: Performance of pre-optimization done (n=392): time 5.259e-06/1.496, allocations: 0 / 1.366 GB, free: 5.926 MB / 1.029 GB Notification: Performance of matching and sorting (n=392): time 0.01031/1.506, allocations: 5.535 MB / 1.372 GB, free: 376 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/1.506, allocations: 90.48 kB / 1.372 GB, free: 272 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002543/1.509, allocations: 1.692 MB / 1.373 GB, free: 14.53 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0005329/1.509, allocations: 93.7 kB / 1.373 GB, free: 14.43 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008/1.51, allocations: 1.128 MB / 1.374 GB, free: 13.29 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.00148/1.512, allocations: 1.316 MB / 1.376 GB, free: 11.96 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009141/1.513, allocations: 0.5546 MB / 1.376 GB, free: 11.39 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.921e-05/1.513, allocations: 305.1 kB / 1.377 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002533/1.515, allocations: 1.568 MB / 1.378 GB, free: 9.523 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002897/1.518, allocations: 1.92 MB / 1.38 GB, free: 7.535 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005896/1.524, allocations: 3.762 MB / 1.384 GB, free: 3.688 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/1.524, allocations: 7.938 kB / 1.384 GB, free: 3.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007232/1.531, allocations: 4.17 MB / 1.388 GB, free: 15.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/1.531, allocations: 12.03 kB / 1.388 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/1.531, allocations: 4 kB / 1.388 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.772e-05/1.531, allocations: 20 kB / 1.388 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003169/1.535, allocations: 0.6943 MB / 1.388 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.725e-05/1.535, allocations: 23.98 kB / 1.388 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/1.538, allocations: 253.1 kB / 1.389 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003363/1.538, allocations: 120 kB / 1.389 GB, free: 14.36 MB / 1.061 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.00161/1.54, allocations: 0.8054 MB / 1.39 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007805/1.54, allocations: 288.5 kB / 1.39 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007364/1.548, allocations: 4.429 MB / 1.394 GB, free: 8.797 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/1.548, allocations: 40 kB / 1.394 GB, free: 8.758 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/1.548, allocations: 0 / 1.394 GB, free: 8.758 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005664/1.554, allocations: 3.792 MB / 1.398 GB, free: 4.898 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/1.569, allocations: 8.644 MB / 1.406 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/1.569, allocations: 4 kB / 1.406 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003486/1.573, allocations: 0.7178 MB / 1.407 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.51e-05/1.573, allocations: 16 kB / 1.407 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003146/1.573, allocations: 88.14 kB / 1.407 GB, free: 11.26 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.1e-05/1.573, allocations: 19.94 kB / 1.407 GB, free: 11.24 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.573, allocations: 0 / 1.407 GB, free: 11.24 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009869/1.583, allocations: 6.576 MB / 1.414 GB, free: 4.57 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002617/1.586, allocations: 0.7934 MB / 1.414 GB, free: 3.754 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006675/1.586, allocations: 75.98 kB / 1.415 GB, free: 3.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002193/1.589, allocations: 98.03 kB / 1.415 GB, free: 3.586 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004294/1.589, allocations: 238.5 kB / 1.415 GB, free: 3.352 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002356/1.589, allocations: 108 kB / 1.415 GB, free: 3.246 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001783/1.591, allocations: 1.157 MB / 1.416 GB, free: 2.066 MB / 1.076 GB Notification: Performance of sort global known variables: time 4.01e-07/1.591, allocations: 0 / 1.416 GB, free: 2.066 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003817/1.595, allocations: 1.232 MB / 1.417 GB, free: 0.832 MB / 1.076 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.001045/1.596, allocations: 470.1 kB / 1.418 GB, free: 388 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006615/1.603, allocations: 3.94 MB / 1.422 GB, free: 12.43 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.603, allocations: 5.312 kB / 1.422 GB, free: 12.42 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00331/1.606, allocations: 2.149 MB / 1.424 GB, free: 10.27 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008309/1.614, allocations: 1.605 MB / 1.425 GB, free: 8.699 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/1.629, allocations: 7.668 MB / 1.433 GB, free: 0.957 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002257/1.631, allocations: 2.205 MB / 1.435 GB, free: 14.71 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.004491/1.635, allocations: 1.204 MB / 1.436 GB, free: 13.5 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/1.637, allocations: 271.4 kB / 1.436 GB, free: 13.24 MB / 1.107 GB Notification: Performance of SimCode: time 1.052e-06/1.637, allocations: 0 / 1.436 GB, free: 13.24 MB / 1.107 GB Notification: Performance of Templates: time 0.1009/1.738, allocations: 61.89 MB / 1.497 GB, free: 104 kB / 1.154 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches