Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001518/0.001519, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001912/0.001912, allocations: 189.3 kB / 16.14 MB, free: 6.645 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.469/1.469, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.913/2.913, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 66.94 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3286, allocations: 157.4 MB / 1.052 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.931/1.26, allocations: 312 MB / 1.357 GB, free: 500 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03041/1.29, allocations: 18.68 MB / 1.375 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007135/1.297, allocations: 79 kB / 1.375 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.007236/1.304, allocations: 1.877 MB / 1.377 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.02193/1.327, allocations: 6.904 MB / 1.384 GB, free: 14.85 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01066/1.337, allocations: 2.921 MB / 1.387 GB, free: 13.82 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01768/1.355, allocations: 13.13 MB / 1.399 GB, free: 7.93 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005339/1.36, allocations: 2.651 MB / 1.402 GB, free: 6.348 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009518/1.37, allocations: 2.882 MB / 1.405 GB, free: 5.035 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009853/1.38, allocations: 3.356 MB / 1.408 GB, free: 3.426 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002101/1.382, allocations: 228.7 kB / 1.408 GB, free: 3.426 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02109/1.403, allocations: 8.144 MB / 1.416 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003777/1.407, allocations: 1.514 MB / 1.418 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.007708/1.415, allocations: 2.121 MB / 1.42 GB, free: 11.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.02378/1.438, allocations: 8.486 MB / 1.428 GB, free: 3.816 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/1.438, allocations: 0 / 1.428 GB, free: 3.816 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.017e-06/1.438, allocations: 0 / 1.428 GB, free: 3.816 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0003142/1.439, allocations: 0 / 1.428 GB, free: 3.816 MB / 1.029 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.02158/1.46, allocations: 4.996 MB / 1.433 GB, free: 14.78 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/1.46, allocations: 8.031 kB / 1.433 GB, free: 14.77 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009234/1.47, allocations: 1.004 MB / 1.434 GB, free: 13.77 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008252/1.478, allocations: 2.168 MB / 1.436 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003047/1.478, allocations: 250 kB / 1.436 GB, free: 11.35 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001455/1.48, allocations: 326.8 kB / 1.437 GB, free: 11.04 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/1.493, allocations: 4.245 MB / 1.441 GB, free: 6.723 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000197/1.493, allocations: 11.84 kB / 1.441 GB, free: 6.711 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001088/1.494, allocations: 135.5 kB / 1.441 GB, free: 6.582 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002462/1.495, allocations: 170.4 kB / 1.441 GB, free: 6.414 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01108/1.506, allocations: 4.779 MB / 1.446 GB, free: 1.625 MB / 1.045 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.02718/1.533, allocations: 14.36 MB / 1.46 GB, free: 2.453 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008041/1.541, allocations: 4.557 MB / 1.464 GB, free: 13.94 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004696/1.546, allocations: 2.45 MB / 1.467 GB, free: 11.49 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002084/1.548, allocations: 1.611 MB / 1.468 GB, free: 9.559 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.061e-05/1.548, allocations: 81.62 kB / 1.468 GB, free: 9.469 MB / 1.076 GB Notification: Performance of pre-optimization done (n=392): time 5.901e-06/1.548, allocations: 0 / 1.468 GB, free: 9.469 MB / 1.076 GB Notification: Performance of matching and sorting (n=392): time 0.01307/1.561, allocations: 5.535 MB / 1.474 GB, free: 3.906 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.61e-05/1.561, allocations: 98.42 kB / 1.474 GB, free: 3.797 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004038/1.565, allocations: 1.678 MB / 1.475 GB, free: 2.078 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0007806/1.566, allocations: 93.7 kB / 1.475 GB, free: 1.98 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001165/1.567, allocations: 1.139 MB / 1.477 GB, free: 0.832 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001971/1.569, allocations: 1.318 MB / 1.478 GB, free: 15.52 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001878/1.571, allocations: 0.5507 MB / 1.478 GB, free: 14.96 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.571, allocations: 305.1 kB / 1.479 GB, free: 14.66 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003251/1.575, allocations: 1.564 MB / 1.48 GB, free: 13.1 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003654/1.578, allocations: 1.916 MB / 1.482 GB, free: 11.11 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006302/1.585, allocations: 3.762 MB / 1.486 GB, free: 7.266 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/1.585, allocations: 4 kB / 1.486 GB, free: 7.262 MB / 1.092 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007617/1.592, allocations: 4.174 MB / 1.49 GB, free: 3.062 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/1.592, allocations: 12.12 kB / 1.49 GB, free: 3.051 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/1.592, allocations: 7.938 kB / 1.49 GB, free: 3.043 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.434e-05/1.592, allocations: 20 kB / 1.49 GB, free: 3.023 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003244/1.596, allocations: 0.6943 MB / 1.491 GB, free: 2.328 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.305e-05/1.596, allocations: 23.98 kB / 1.491 GB, free: 2.305 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004323/1.6, allocations: 472.9 kB / 1.491 GB, free: 1.84 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004428/1.601, allocations: 116 kB / 1.491 GB, free: 1.727 MB / 1.092 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.001943/1.602, allocations: 0.7976 MB / 1.492 GB, free: 0.918 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/1.604, allocations: 296.5 kB / 1.492 GB, free: 0.625 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00786/1.611, allocations: 4.444 MB / 1.497 GB, free: 12.14 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.248e-05/1.612, allocations: 36 kB / 1.497 GB, free: 12.11 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.612, allocations: 4 kB / 1.497 GB, free: 12.11 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00583/1.617, allocations: 3.792 MB / 1.5 GB, free: 8.246 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/1.633, allocations: 8.643 MB / 1.509 GB, free: 15.54 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/1.633, allocations: 8.312 kB / 1.509 GB, free: 15.53 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003462/1.636, allocations: 0.7101 MB / 1.509 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.324e-05/1.637, allocations: 19.94 kB / 1.509 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002831/1.637, allocations: 87.97 kB / 1.51 GB, free: 14.71 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.022e-05/1.637, allocations: 19.94 kB / 1.51 GB, free: 14.69 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.637, allocations: 7.938 kB / 1.51 GB, free: 14.68 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009976/1.647, allocations: 6.567 MB / 1.516 GB, free: 8.023 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002318/1.649, allocations: 0.7972 MB / 1.517 GB, free: 7.203 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006527/1.65, allocations: 68 kB / 1.517 GB, free: 7.137 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003025/1.653, allocations: 281.5 kB / 1.517 GB, free: 6.863 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004614/1.653, allocations: 238.5 kB / 1.517 GB, free: 6.629 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002432/1.654, allocations: 120 kB / 1.517 GB, free: 6.512 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001743/1.655, allocations: 1.149 MB / 1.519 GB, free: 5.34 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.655, allocations: 0 / 1.519 GB, free: 5.34 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003301/1.659, allocations: 1.228 MB / 1.52 GB, free: 4.109 MB / 1.123 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.001019/1.66, allocations: 461.2 kB / 1.52 GB, free: 3.672 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.006406/1.666, allocations: 3.921 MB / 1.524 GB, free: 15.74 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/1.666, allocations: 8.062 kB / 1.524 GB, free: 15.73 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003557/1.67, allocations: 2.152 MB / 1.526 GB, free: 13.58 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008036/1.678, allocations: 1.518 MB / 1.528 GB, free: 12.07 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/1.692, allocations: 9.171 MB / 1.537 GB, free: 2.84 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001875/1.694, allocations: 2.217 MB / 1.539 GB, free: 0.5859 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.004922/1.699, allocations: 1.204 MB / 1.54 GB, free: 15.37 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/1.7, allocations: 271.3 kB / 1.54 GB, free: 15.11 MB / 1.154 GB Notification: Performance of SimCode: time 1.082e-06/1.7, allocations: 4 kB / 1.54 GB, free: 15.11 MB / 1.154 GB Notification: Performance of Templates: time 0.1058/1.806, allocations: 59.21 MB / 1.598 GB, free: 4.574 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches