Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001605/0.001605, allocations: 108.1 kB / 16.41 MB, free: 6.512 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.0019/0.0019, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.554/1.554, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.893/2.893, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 59.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178/1.18, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.3959/1.576, allocations: 314.2 MB / 1.474 GB, free: 8.504 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03353/1.61, allocations: 18.45 MB / 1.492 GB, free: 6.016 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00542/1.615, allocations: 95.5 kB / 1.492 GB, free: 5.922 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.007073/1.622, allocations: 2.261 MB / 1.494 GB, free: 3.648 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.02184/1.644, allocations: 7.521 MB / 1.502 GB, free: 12.09 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.009592/1.654, allocations: 3.275 MB / 1.505 GB, free: 8.82 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01543/1.669, allocations: 9.112 MB / 1.514 GB, free: 15.69 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005769/1.675, allocations: 3.107 MB / 1.517 GB, free: 12.51 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008718/1.684, allocations: 3.384 MB / 1.52 GB, free: 9.117 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009538/1.693, allocations: 3.248 MB / 1.523 GB, free: 5.871 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.001777/1.695, allocations: 404 kB / 1.524 GB, free: 5.477 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02073/1.716, allocations: 7.038 MB / 1.531 GB, free: 14.42 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.003216/1.719, allocations: 1.683 MB / 1.532 GB, free: 12.73 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.004197/1.723, allocations: 2.303 MB / 1.535 GB, free: 10.42 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01897/1.742, allocations: 8.212 MB / 1.543 GB, free: 2.184 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/1.742, allocations: 0 / 1.543 GB, free: 2.184 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.234e-06/1.742, allocations: 0 / 1.543 GB, free: 2.184 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001632/1.742, allocations: 0 / 1.543 GB, free: 2.184 MB / 1.264 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.01338/1.756, allocations: 5.114 MB / 1.548 GB, free: 12.99 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.756, allocations: 8.031 kB / 1.548 GB, free: 12.98 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00654/1.762, allocations: 1.043 MB / 1.549 GB, free: 11.94 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004853/1.767, allocations: 2.261 MB / 1.551 GB, free: 9.625 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/1.768, allocations: 246.4 kB / 1.551 GB, free: 9.383 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005302/1.768, allocations: 323.9 kB / 1.551 GB, free: 9.066 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007526/1.776, allocations: 4.239 MB / 1.555 GB, free: 4.742 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.912e-05/1.776, allocations: 0 / 1.555 GB, free: 4.742 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003321/1.776, allocations: 139.9 kB / 1.556 GB, free: 4.605 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001998/1.776, allocations: 170.4 kB / 1.556 GB, free: 4.438 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.9163/2.693, allocations: 4.778 MB / 1.56 GB, free: 383.7 MB / 1.279 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.03283/2.725, allocations: 14.48 MB / 1.575 GB, free: 374.9 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005875/2.731, allocations: 4.55 MB / 1.579 GB, free: 372.9 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003638/2.735, allocations: 2.458 MB / 1.581 GB, free: 372 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/2.737, allocations: 1.609 MB / 1.583 GB, free: 370.2 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.343e-05/2.737, allocations: 85.3 kB / 1.583 GB, free: 370.1 MB / 1.279 GB Notification: Performance of pre-optimization done (n=392): time 6.382e-06/2.737, allocations: 0 / 1.583 GB, free: 370.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=392): time 0.009288/2.746, allocations: 5.543 MB / 1.588 GB, free: 367.4 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.934e-05/2.746, allocations: 96.2 kB / 1.589 GB, free: 367.4 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002739/2.749, allocations: 1.683 MB / 1.59 GB, free: 366.2 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0003508/2.749, allocations: 102.4 kB / 1.59 GB, free: 366.1 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008867/2.75, allocations: 1.147 MB / 1.591 GB, free: 365.1 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001495/2.752, allocations: 1.389 MB / 1.593 GB, free: 363.9 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008669/2.753, allocations: 0.5508 MB / 1.593 GB, free: 363.3 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 7.036e-05/2.753, allocations: 301.1 kB / 1.594 GB, free: 363 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00215/2.755, allocations: 1.56 MB / 1.595 GB, free: 361.5 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002237/2.757, allocations: 1.928 MB / 1.597 GB, free: 359.5 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004511/2.762, allocations: 3.764 MB / 1.601 GB, free: 355.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/2.762, allocations: 4 kB / 1.601 GB, free: 355.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005929/2.768, allocations: 4.182 MB / 1.605 GB, free: 351.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/2.768, allocations: 11.98 kB / 1.605 GB, free: 351.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/2.768, allocations: 4 kB / 1.605 GB, free: 351.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.353e-05/2.768, allocations: 27.69 kB / 1.605 GB, free: 351.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002709/2.77, allocations: 0.7021 MB / 1.606 GB, free: 350.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.851e-05/2.77, allocations: 19.94 kB / 1.606 GB, free: 350.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/2.773, allocations: 262.5 kB / 1.606 GB, free: 350.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/2.774, allocations: 120 kB / 1.606 GB, free: 350.4 MB / 1.279 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.001497/2.775, allocations: 0.7929 MB / 1.607 GB, free: 349.6 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007616/2.776, allocations: 302.1 kB / 1.607 GB, free: 349.3 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006605/2.782, allocations: 4.44 MB / 1.611 GB, free: 344.8 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/2.783, allocations: 39.84 kB / 1.611 GB, free: 344.8 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/2.783, allocations: 7.781 kB / 1.611 GB, free: 344.8 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00474/2.787, allocations: 3.796 MB / 1.615 GB, free: 340.9 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/2.8, allocations: 8.636 MB / 1.623 GB, free: 332.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/2.8, allocations: 0 / 1.623 GB, free: 332.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00308/2.803, allocations: 0.7289 MB / 1.624 GB, free: 331.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.248e-05/2.803, allocations: 16 kB / 1.624 GB, free: 331.5 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002274/2.803, allocations: 79.98 kB / 1.624 GB, free: 331.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.668e-05/2.803, allocations: 23.95 kB / 1.624 GB, free: 331.4 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/2.803, allocations: 7.938 kB / 1.624 GB, free: 331.4 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008235/2.812, allocations: 6.585 MB / 1.631 GB, free: 324.7 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002192/2.814, allocations: 0.8084 MB / 1.632 GB, free: 324 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008014/2.815, allocations: 72 kB / 1.632 GB, free: 323.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002502/2.817, allocations: 85.66 kB / 1.632 GB, free: 323.8 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004635/2.818, allocations: 238.5 kB / 1.632 GB, free: 323.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002355/2.818, allocations: 116 kB / 1.632 GB, free: 323.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001603/2.819, allocations: 1.153 MB / 1.633 GB, free: 322.3 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.21e-07/2.819, allocations: 0 / 1.633 GB, free: 322.3 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003658/2.823, allocations: 1.238 MB / 1.634 GB, free: 321.1 MB / 1.279 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.001221/2.824, allocations: 459.5 kB / 1.635 GB, free: 320.7 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.006187/2.831, allocations: 3.951 MB / 1.639 GB, free: 316.7 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/2.831, allocations: 0 / 1.639 GB, free: 316.7 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002918/2.834, allocations: 2.155 MB / 1.641 GB, free: 314.6 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008688/2.842, allocations: 1.605 MB / 1.642 GB, free: 313.1 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/2.857, allocations: 7.78 MB / 1.65 GB, free: 305.4 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002618/2.859, allocations: 2.209 MB / 1.652 GB, free: 303.1 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.005003/2.864, allocations: 1.2 MB / 1.653 GB, free: 301.9 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/2.866, allocations: 267.4 kB / 1.654 GB, free: 301.7 MB / 1.279 GB Notification: Performance of SimCode: time 1.412e-06/2.866, allocations: 7.938 kB / 1.654 GB, free: 301.7 MB / 1.279 GB Notification: Performance of Templates: time 0.09329/2.959, allocations: 63.02 MB / 1.715 GB, free: 239.4 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches