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.002061/0.002062, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.002271/0.002271, allocations: 183.9 kB / 17.19 MB, free: 5.688 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.486/1.486, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.572/2.572, allocations: 469.4 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 63.05 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.356, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.005/1.361, allocations: 314.1 MB / 1.371 GB, free: 14.48 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02745/1.389, allocations: 18.46 MB / 1.389 GB, free: 11.98 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005317/1.394, allocations: 87.56 kB / 1.389 GB, free: 11.89 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00637/1.4, allocations: 2.156 MB / 1.391 GB, free: 9.727 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.02049/1.421, allocations: 7.306 MB / 1.398 GB, free: 2.391 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.009148/1.43, allocations: 3.209 MB / 1.401 GB, free: 15.19 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01322/1.443, allocations: 9.104 MB / 1.41 GB, free: 6.059 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00676/1.45, allocations: 3.113 MB / 1.413 GB, free: 2.883 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008374/1.459, allocations: 3.302 MB / 1.417 GB, free: 15.57 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007704/1.466, allocations: 3.233 MB / 1.42 GB, free: 12.34 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.002299/1.469, allocations: 404 kB / 1.42 GB, free: 11.95 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02113/1.49, allocations: 6.987 MB / 1.427 GB, free: 4.941 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.004438/1.494, allocations: 1.695 MB / 1.429 GB, free: 3.242 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.009709/1.504, allocations: 2.303 MB / 1.431 GB, free: 0.9297 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.02195/1.526, allocations: 8.127 MB / 1.439 GB, free: 8.781 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.526, allocations: 4 kB / 1.439 GB, free: 8.777 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.575e-06/1.526, allocations: 0 / 1.439 GB, free: 8.777 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0002716/1.526, allocations: 0 / 1.439 GB, free: 8.777 MB / 1.154 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.01762/1.544, allocations: 4.989 MB / 1.444 GB, free: 3.719 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/1.544, allocations: 12.62 kB / 1.444 GB, free: 3.707 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007578/1.552, allocations: 1.002 MB / 1.445 GB, free: 2.699 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005167/1.557, allocations: 2.17 MB / 1.447 GB, free: 488 kB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002518/1.557, allocations: 242.4 kB / 1.447 GB, free: 244 kB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001119/1.558, allocations: 327.9 kB / 1.447 GB, free: 15.91 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009929/1.568, allocations: 4.235 MB / 1.451 GB, free: 11.6 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001317/1.569, allocations: 11.89 kB / 1.452 GB, free: 11.59 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007191/1.569, allocations: 140 kB / 1.452 GB, free: 11.45 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002038/1.569, allocations: 166.4 kB / 1.452 GB, free: 11.29 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009532/1.579, allocations: 4.783 MB / 1.456 GB, free: 6.492 MB / 1.17 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.02505/1.604, allocations: 14.52 MB / 1.471 GB, free: 6.992 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007373/1.612, allocations: 4.564 MB / 1.475 GB, free: 2.43 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004328/1.616, allocations: 2.448 MB / 1.478 GB, free: 15.98 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001968/1.618, allocations: 1.608 MB / 1.479 GB, free: 14.04 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.045e-05/1.618, allocations: 80.11 kB / 1.479 GB, free: 13.95 MB / 1.201 GB Notification: Performance of pre-optimization done (n=392): time 8.526e-06/1.618, allocations: 4 kB / 1.479 GB, free: 13.95 MB / 1.201 GB Notification: Performance of matching and sorting (n=392): time 0.01137/1.629, allocations: 5.535 MB / 1.485 GB, free: 8.391 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/1.63, allocations: 90.48 kB / 1.485 GB, free: 8.289 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003153/1.633, allocations: 1.684 MB / 1.486 GB, free: 6.562 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0005669/1.633, allocations: 93.7 kB / 1.486 GB, free: 6.465 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000942/1.634, allocations: 1.132 MB / 1.487 GB, free: 5.32 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001655/1.636, allocations: 1.324 MB / 1.489 GB, free: 3.977 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001525/1.637, allocations: 0.5468 MB / 1.489 GB, free: 3.422 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001114/1.638, allocations: 305.1 kB / 1.49 GB, free: 3.121 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002907/1.64, allocations: 1.568 MB / 1.491 GB, free: 1.551 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003191/1.644, allocations: 1.916 MB / 1.493 GB, free: 15.57 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006486/1.65, allocations: 3.77 MB / 1.497 GB, free: 11.71 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.08e-05/1.65, allocations: 4 kB / 1.497 GB, free: 11.71 MB / 1.217 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00836/1.659, allocations: 4.169 MB / 1.501 GB, free: 7.512 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/1.659, allocations: 8 kB / 1.501 GB, free: 7.504 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/1.659, allocations: 4 kB / 1.501 GB, free: 7.5 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.084e-05/1.659, allocations: 20 kB / 1.501 GB, free: 7.48 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003287/1.662, allocations: 0.7066 MB / 1.501 GB, free: 6.773 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.659e-05/1.662, allocations: 19.94 kB / 1.502 GB, free: 6.754 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003189/1.665, allocations: 261.1 kB / 1.502 GB, free: 6.496 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005808/1.666, allocations: 112 kB / 1.502 GB, free: 6.387 MB / 1.217 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.002265/1.668, allocations: 0.802 MB / 1.503 GB, free: 5.574 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001158/1.669, allocations: 288.5 kB / 1.503 GB, free: 5.289 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008788/1.678, allocations: 4.44 MB / 1.507 GB, free: 0.8125 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.375e-05/1.678, allocations: 36 kB / 1.507 GB, free: 0.7773 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/1.678, allocations: 0 / 1.507 GB, free: 0.7773 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006249/1.685, allocations: 3.796 MB / 1.511 GB, free: 12.91 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02255/1.707, allocations: 8.652 MB / 1.519 GB, free: 4.098 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-05/1.707, allocations: 0 / 1.519 GB, free: 4.098 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005811/1.713, allocations: 0.7298 MB / 1.52 GB, free: 3.367 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.23e-05/1.713, allocations: 16 kB / 1.52 GB, free: 3.352 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006599/1.714, allocations: 83.97 kB / 1.52 GB, free: 3.27 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.683e-05/1.714, allocations: 16 kB / 1.52 GB, free: 3.254 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/1.714, allocations: 4 kB / 1.52 GB, free: 3.25 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01717/1.731, allocations: 6.566 MB / 1.527 GB, free: 12.59 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002965/1.734, allocations: 0.7894 MB / 1.527 GB, free: 11.78 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001139/1.735, allocations: 72 kB / 1.528 GB, free: 11.71 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003773/1.739, allocations: 93.12 kB / 1.528 GB, free: 11.62 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007968/1.74, allocations: 238.5 kB / 1.528 GB, free: 11.38 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000473/1.74, allocations: 112 kB / 1.528 GB, free: 11.27 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003204/1.744, allocations: 1.161 MB / 1.529 GB, free: 10.09 MB / 1.248 GB Notification: Performance of sort global known variables: time 6.01e-07/1.744, allocations: 0 / 1.529 GB, free: 10.09 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.005023/1.749, allocations: 1.224 MB / 1.53 GB, free: 8.863 MB / 1.248 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.001535/1.75, allocations: 457.7 kB / 1.531 GB, free: 8.41 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0252/1.775, allocations: 9.835 MB / 1.54 GB, free: 14.56 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.775, allocations: 8.062 kB / 1.54 GB, free: 14.55 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003136/1.779, allocations: 2.148 MB / 1.542 GB, free: 12.41 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007428/1.786, allocations: 1.6 MB / 1.544 GB, free: 10.84 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/1.799, allocations: 7.922 MB / 1.552 GB, free: 2.84 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00192/1.801, allocations: 2.205 MB / 1.554 GB, free: 0.5977 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001679/1.802, allocations: 307.4 kB / 1.554 GB, free: 304 kB / 1.264 GB Notification: Performance of SimCode: time 1.293e-06/1.802, allocations: 0 / 1.554 GB, free: 304 kB / 1.264 GB Notification: Performance of Templates: time 0.6273/2.43, allocations: 54.4 MB / 1.607 GB, free: 413.6 MB / 1.264 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches