Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005474/0.005474, allocations: 96.55 kB / 15.73 MB, free: 6.039 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.001153/0.001153, allocations: 200.9 kB / 16.68 MB, free: 5.969 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.691/2.691, allocations: 469.8 MB / 0.7425 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 64.14 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2943, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.9666/1.261, allocations: 314.9 MB / 1.528 GB, free: 10.01 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02778/1.289, allocations: 18.47 MB / 1.546 GB, free: 7.5 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004057/1.293, allocations: 91.5 kB / 1.546 GB, free: 7.41 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.005935/1.299, allocations: 2.261 MB / 1.548 GB, free: 5.137 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01827/1.317, allocations: 7.539 MB / 1.556 GB, free: 13.57 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.008427/1.325, allocations: 3.261 MB / 1.559 GB, free: 10.31 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.01178/1.337, allocations: 9.098 MB / 1.568 GB, free: 1.188 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005013/1.342, allocations: 2.627 MB / 1.57 GB, free: 14.49 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00681/1.349, allocations: 3.388 MB / 1.574 GB, free: 11.09 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006365/1.355, allocations: 3.236 MB / 1.577 GB, free: 7.867 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.001329/1.357, allocations: 407.9 kB / 1.577 GB, free: 7.469 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01437/1.371, allocations: 7.03 MB / 1.584 GB, free: 432 kB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.002876/1.374, allocations: 1.722 MB / 1.586 GB, free: 14.7 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.005341/1.379, allocations: 2.307 MB / 1.588 GB, free: 12.38 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01816/1.397, allocations: 8.212 MB / 1.596 GB, free: 4.141 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.397, allocations: 0 / 1.596 GB, free: 4.141 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.034e-06/1.397, allocations: 4 kB / 1.596 GB, free: 4.137 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0002643/1.398, allocations: 4 kB / 1.596 GB, free: 4.133 MB / 1.279 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.0158/1.414, allocations: 5.106 MB / 1.601 GB, free: 14.95 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/1.414, allocations: 12.03 kB / 1.601 GB, free: 14.93 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007966/1.422, allocations: 1.036 MB / 1.602 GB, free: 13.89 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006465/1.428, allocations: 2.257 MB / 1.604 GB, free: 11.59 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002757/1.428, allocations: 246.4 kB / 1.605 GB, free: 11.35 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009363/1.429, allocations: 331.9 kB / 1.605 GB, free: 11.02 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008411/1.438, allocations: 4.239 MB / 1.609 GB, free: 6.699 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.023e-05/1.438, allocations: 11.89 kB / 1.609 GB, free: 6.688 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004517/1.438, allocations: 136 kB / 1.609 GB, free: 6.555 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000169/1.438, allocations: 170 kB / 1.609 GB, free: 6.391 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008213/1.447, allocations: 4.783 MB / 1.614 GB, free: 1.598 MB / 1.295 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.02011/1.467, allocations: 14.46 MB / 1.628 GB, free: 2.164 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005971/1.473, allocations: 4.264 MB / 1.632 GB, free: 13.91 MB / 1.326 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003316/1.476, allocations: 2.244 MB / 1.634 GB, free: 11.66 MB / 1.326 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001625/1.478, allocations: 1.604 MB / 1.636 GB, free: 9.727 MB / 1.326 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.013e-05/1.478, allocations: 77.64 kB / 1.636 GB, free: 9.641 MB / 1.326 GB Notification: Performance of pre-optimization done (n=392): time 4.739e-06/1.478, allocations: 0 / 1.636 GB, free: 9.641 MB / 1.326 GB Notification: Performance of matching and sorting (n=392): time 0.009227/1.487, allocations: 5.552 MB / 1.642 GB, free: 4.066 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/1.487, allocations: 94.48 kB / 1.642 GB, free: 3.961 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002493/1.489, allocations: 1.681 MB / 1.643 GB, free: 2.238 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.0002177/1.49, allocations: 89.7 kB / 1.643 GB, free: 2.145 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008037/1.49, allocations: 1.157 MB / 1.644 GB, free: 0.9766 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.001119/1.492, allocations: 1.387 MB / 1.646 GB, free: 15.57 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008673/1.492, allocations: 0.5547 MB / 1.646 GB, free: 15.01 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.493, allocations: 304.9 kB / 1.647 GB, free: 14.71 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002542/1.495, allocations: 1.568 MB / 1.648 GB, free: 13.14 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002832/1.498, allocations: 1.916 MB / 1.65 GB, free: 11.16 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005833/1.504, allocations: 3.766 MB / 1.654 GB, free: 7.309 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.517e-06/1.504, allocations: 0 / 1.654 GB, free: 7.309 MB / 1.342 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007076/1.511, allocations: 4.191 MB / 1.658 GB, free: 3.094 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/1.511, allocations: 8 kB / 1.658 GB, free: 3.086 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/1.511, allocations: 4 kB / 1.658 GB, free: 3.082 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.157e-05/1.511, allocations: 20 kB / 1.658 GB, free: 3.062 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00322/1.514, allocations: 0.6987 MB / 1.659 GB, free: 2.363 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.056e-05/1.514, allocations: 23.98 kB / 1.659 GB, free: 2.34 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/1.517, allocations: 269.9 kB / 1.659 GB, free: 2.074 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002702/1.517, allocations: 113.5 kB / 1.659 GB, free: 1.965 MB / 1.342 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.001643/1.519, allocations: 0.8015 MB / 1.66 GB, free: 1.152 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008014/1.519, allocations: 306.1 kB / 1.66 GB, free: 0.8516 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007416/1.527, allocations: 4.429 MB / 1.664 GB, free: 12.38 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.887e-05/1.527, allocations: 36 kB / 1.664 GB, free: 12.35 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/1.527, allocations: 8 kB / 1.664 GB, free: 12.34 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005719/1.533, allocations: 3.807 MB / 1.668 GB, free: 8.469 MB / 1.357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/1.547, allocations: 8.641 MB / 1.677 GB, free: 15.66 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/1.547, allocations: 4 kB / 1.677 GB, free: 15.66 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003323/1.55, allocations: 0.7182 MB / 1.677 GB, free: 14.94 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.277e-05/1.55, allocations: 16 kB / 1.677 GB, free: 14.93 MB / 1.373 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002601/1.55, allocations: 87.97 kB / 1.677 GB, free: 14.84 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.198e-05/1.55, allocations: 16 kB / 1.677 GB, free: 14.82 MB / 1.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.55, allocations: 7.938 kB / 1.677 GB, free: 14.82 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009805/1.56, allocations: 6.589 MB / 1.684 GB, free: 8.133 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001914/1.562, allocations: 0.8068 MB / 1.685 GB, free: 7.305 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007558/1.563, allocations: 79.92 kB / 1.685 GB, free: 7.227 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002365/1.565, allocations: 79.17 kB / 1.685 GB, free: 7.152 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004843/1.566, allocations: 242.6 kB / 1.685 GB, free: 6.914 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002737/1.566, allocations: 112 kB / 1.685 GB, free: 6.805 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.001984/1.568, allocations: 1.157 MB / 1.686 GB, free: 5.625 MB / 1.373 GB Notification: Performance of sort global known variables: time 9e-08/1.568, allocations: 0 / 1.686 GB, free: 5.625 MB / 1.373 GB Notification: Performance of remove unused functions: time 0.003204/1.571, allocations: 1.24 MB / 1.687 GB, free: 4.383 MB / 1.373 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.0011/1.572, allocations: 473.8 kB / 1.688 GB, free: 3.918 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.006414/1.579, allocations: 3.722 MB / 1.692 GB, free: 188 kB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.579, allocations: 4.062 kB / 1.692 GB, free: 184 kB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.003411/1.582, allocations: 1.984 MB / 1.693 GB, free: 14.2 MB / 1.389 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008179/1.59, allocations: 1.598 MB / 1.695 GB, free: 12.62 MB / 1.389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01425/1.605, allocations: 7.794 MB / 1.703 GB, free: 4.75 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002321/1.607, allocations: 2.201 MB / 1.705 GB, free: 2.512 MB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.00432/1.611, allocations: 1.216 MB / 1.706 GB, free: 1.289 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/1.613, allocations: 267.4 kB / 1.706 GB, free: 1.027 MB / 1.389 GB Notification: Performance of SimCode: time 9.52e-07/1.613, allocations: 0 / 1.706 GB, free: 1.027 MB / 1.389 GB Notification: Performance of Templates: time 0.09794/1.71, allocations: 63.11 MB / 1.768 GB, free: 2.621 MB / 1.451 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches