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.001165/0.001165, allocations: 92.78 kB / 16.02 MB, free: 80 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.001759/0.001759, allocations: 180.7 kB / 16.92 MB, free: 6.652 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.588/1.588, allocations: 223.3 MB / 241 MB, free: 5.262 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.663/2.663, allocations: 390.9 MB / 0.667 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003927, allocations: 11.98 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9623/0.9627, allocations: 142.4 MB / 0.9557 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.293/2.256, allocations: 307.7 MB / 1.256 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03072/2.287, allocations: 18.5 MB / 1.274 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005188/2.292, allocations: 70.66 kB / 1.274 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006237/2.298, allocations: 1.877 MB / 1.276 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02141/2.32, allocations: 6.897 MB / 1.283 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01062/2.33, allocations: 2.937 MB / 1.286 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02088/2.351, allocations: 13.12 MB / 1.299 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006474/2.358, allocations: 2.584 MB / 1.301 GB, free: 17.88 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01/2.368, allocations: 2.811 MB / 1.304 GB, free: 17.87 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01017/2.378, allocations: 3.258 MB / 1.307 GB, free: 17.85 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001185/2.379, allocations: 197.1 kB / 1.307 GB, free: 17.85 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02345/2.403, allocations: 8.104 MB / 1.315 GB, free: 17.78 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003559/2.406, allocations: 1.47 MB / 1.317 GB, free: 17.78 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004669/2.411, allocations: 2.078 MB / 1.319 GB, free: 17.75 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01166/2.423, allocations: 5.913 MB / 1.324 GB, free: 17.32 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/2.423, allocations: 0 / 1.324 GB, free: 17.32 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.386e-06/2.423, allocations: 3.688 kB / 1.324 GB, free: 17.32 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001386/2.423, allocations: 0 / 1.324 GB, free: 17.32 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.0136/2.437, allocations: 4.317 MB / 1.329 GB, free: 15.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/2.437, allocations: 8.469 kB / 1.329 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007028/2.444, allocations: 1.015 MB / 1.33 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004695/2.448, allocations: 2.166 MB / 1.332 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/2.449, allocations: 244.2 kB / 1.332 GB, free: 13.99 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005553/2.449, allocations: 324.8 kB / 1.332 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007652/2.457, allocations: 4.238 MB / 1.336 GB, free: 12.85 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.498e-05/2.457, allocations: 5.469 kB / 1.336 GB, free: 12.85 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003263/2.457, allocations: 141.9 kB / 1.337 GB, free: 12.85 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001906/2.457, allocations: 163.8 kB / 1.337 GB, free: 12.83 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00806/2.465, allocations: 4.784 MB / 1.341 GB, free: 11.94 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.02212/2.488, allocations: 14.39 MB / 1.355 GB, free: 3.219 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0066/2.494, allocations: 4.569 MB / 1.36 GB, free: 2.594 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003696/2.498, allocations: 2.452 MB / 1.362 GB, free: 2.254 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001893/2.5, allocations: 1.616 MB / 1.364 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.114e-05/2.5, allocations: 83.64 kB / 1.364 GB, free: 460 kB / 1.014 GB Notification: Performance of pre-optimization done (n=392): time 6.311e-06/2.5, allocations: 0 / 1.364 GB, free: 460 kB / 1.014 GB Notification: Performance of matching and sorting (n=392): time 0.01008/2.51, allocations: 5.537 MB / 1.369 GB, free: 15.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.582e-05/2.51, allocations: 96.92 kB / 1.369 GB, free: 15.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003639/2.514, allocations: 1.676 MB / 1.371 GB, free: 15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002847/2.514, allocations: 92.86 kB / 1.371 GB, free: 14.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/2.515, allocations: 1.138 MB / 1.372 GB, free: 14.42 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001493/2.517, allocations: 1.314 MB / 1.374 GB, free: 13.44 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000463/2.517, allocations: 272.9 kB / 1.374 GB, free: 13.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001381/2.517, allocations: 309 kB / 1.374 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002836/2.52, allocations: 1.565 MB / 1.376 GB, free: 12.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003118/2.523, allocations: 1.917 MB / 1.377 GB, free: 12.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006382/2.53, allocations: 3.761 MB / 1.381 GB, free: 10.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.182e-05/2.53, allocations: 4 kB / 1.381 GB, free: 10.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007841/2.538, allocations: 4.181 MB / 1.385 GB, free: 6.246 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/2.538, allocations: 14 kB / 1.385 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/2.538, allocations: 4 kB / 1.385 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.073e-05/2.538, allocations: 20 kB / 1.385 GB, free: 6.211 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003116/2.541, allocations: 0.6879 MB / 1.386 GB, free: 5.562 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.216e-05/2.541, allocations: 26.56 kB / 1.386 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004822/2.546, allocations: 484.8 kB / 1.386 GB, free: 5.062 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003588/2.546, allocations: 120 kB / 1.387 GB, free: 4.945 MB / 1.029 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.002341/2.549, allocations: 0.7937 MB / 1.387 GB, free: 4.184 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/2.55, allocations: 296.5 kB / 1.388 GB, free: 3.891 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008699/2.558, allocations: 4.433 MB / 1.392 GB, free: 15.42 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.87e-05/2.558, allocations: 40 kB / 1.392 GB, free: 15.38 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.231e-05/2.558, allocations: 3.984 kB / 1.392 GB, free: 15.38 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006211/2.565, allocations: 3.786 MB / 1.396 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/2.582, allocations: 8.638 MB / 1.404 GB, free: 2.844 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/2.582, allocations: 4.312 kB / 1.404 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003342/2.586, allocations: 0.7245 MB / 1.405 GB, free: 2.152 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.179e-05/2.586, allocations: 19.94 kB / 1.405 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003336/2.586, allocations: 83.98 kB / 1.405 GB, free: 2.051 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.685e-05/2.586, allocations: 23.97 kB / 1.405 GB, free: 2.027 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/2.586, allocations: 6.531 kB / 1.405 GB, free: 2.023 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/2.597, allocations: 6.564 MB / 1.411 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002726/2.6, allocations: 0.7933 MB / 1.412 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009372/2.601, allocations: 75.94 kB / 1.412 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003742/2.605, allocations: 262.1 kB / 1.412 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005165/2.605, allocations: 235.9 kB / 1.413 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003055/2.606, allocations: 120 kB / 1.413 GB, free: 9.887 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002597/2.608, allocations: 1.161 MB / 1.414 GB, free: 8.703 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/2.608, allocations: 0 / 1.414 GB, free: 8.703 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.004382/2.613, allocations: 1.228 MB / 1.415 GB, free: 7.473 MB / 1.061 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.001345/2.614, allocations: 476.9 kB / 1.416 GB, free: 7.066 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.007297/2.621, allocations: 3.923 MB / 1.419 GB, free: 3.184 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/2.621, allocations: 4.188 kB / 1.419 GB, free: 3.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.003632/2.625, allocations: 2.148 MB / 1.422 GB, free: 1.109 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01064/2.636, allocations: 1.531 MB / 1.423 GB, free: 15.59 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/2.654, allocations: 9.65 MB / 1.432 GB, free: 5.914 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003102/2.657, allocations: 2.209 MB / 1.435 GB, free: 3.668 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002653/2.66, allocations: 311.4 kB / 1.435 GB, free: 3.363 MB / 1.076 GB Notification: Performance of SimCode: time 1.142e-06/2.66, allocations: 0 / 1.435 GB, free: 3.363 MB / 1.076 GB Notification: Performance of Templates: time 0.09817/2.758, allocations: 53.88 MB / 1.488 GB, free: 13.83 MB / 1.139 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/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