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.001653/0.001654, allocations: 106 kB / 16.27 MB, free: 6.41 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.001763/0.001763, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.533/1.533, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.725/2.725, allocations: 437.1 MB / 0.7111 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 64.05 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3839, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.105/1.489, allocations: 314.2 MB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03421/1.523, allocations: 18.45 MB / 1.343 GB, free: 12.46 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005975/1.529, allocations: 91.56 kB / 1.343 GB, free: 12.37 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.007633/1.536, allocations: 2.152 MB / 1.345 GB, free: 10.2 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.02427/1.561, allocations: 7.302 MB / 1.352 GB, free: 2.871 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01113/1.572, allocations: 3.205 MB / 1.355 GB, free: 15.67 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01649/1.589, allocations: 9.099 MB / 1.364 GB, free: 6.543 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006353/1.595, allocations: 3.102 MB / 1.367 GB, free: 3.383 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009066/1.604, allocations: 3.298 MB / 1.37 GB, free: 76 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009429/1.613, allocations: 3.24 MB / 1.374 GB, free: 12.84 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001786/1.615, allocations: 404 kB / 1.374 GB, free: 12.44 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01988/1.635, allocations: 6.995 MB / 1.381 GB, free: 5.43 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004258/1.64, allocations: 1.699 MB / 1.382 GB, free: 3.727 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00597/1.646, allocations: 2.299 MB / 1.385 GB, free: 1.418 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02494/1.671, allocations: 8.13 MB / 1.393 GB, free: 9.266 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 1.409e-05/1.671, allocations: 0 / 1.393 GB, free: 9.266 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.895e-06/1.671, allocations: 0 / 1.393 GB, free: 9.266 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002314/1.671, allocations: 0 / 1.393 GB, free: 9.266 MB / 1.092 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.01831/1.689, allocations: 4.986 MB / 1.397 GB, free: 4.211 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 7.146e-05/1.689, allocations: 16.02 kB / 1.397 GB, free: 4.195 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006897/1.696, allocations: 1.006 MB / 1.398 GB, free: 3.184 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004917/1.701, allocations: 2.166 MB / 1.401 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002158/1.701, allocations: 242.4 kB / 1.401 GB, free: 0.7266 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005653/1.702, allocations: 331.9 kB / 1.401 GB, free: 412 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0088/1.711, allocations: 4.235 MB / 1.405 GB, free: 12.08 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.69e-05/1.711, allocations: 11.89 kB / 1.405 GB, free: 12.07 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003451/1.711, allocations: 132 kB / 1.405 GB, free: 11.94 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002334/1.712, allocations: 174.3 kB / 1.406 GB, free: 11.77 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009377/1.721, allocations: 4.776 MB / 1.41 GB, free: 6.984 MB / 1.107 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.746, allocations: 14.54 MB / 1.424 GB, free: 7.473 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007103/1.753, allocations: 4.558 MB / 1.429 GB, free: 2.906 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003839/1.757, allocations: 2.448 MB / 1.431 GB, free: 464 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002058/1.759, allocations: 1.608 MB / 1.433 GB, free: 14.51 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.947e-05/1.759, allocations: 76.17 kB / 1.433 GB, free: 14.43 MB / 1.139 GB Notification: Performance of pre-optimization done (n=392): time 5.62e-06/1.759, allocations: 0 / 1.433 GB, free: 14.43 MB / 1.139 GB Notification: Performance of matching and sorting (n=392): time 0.01086/1.77, allocations: 5.535 MB / 1.438 GB, free: 8.871 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/1.77, allocations: 94.48 kB / 1.438 GB, free: 8.766 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003129/1.773, allocations: 1.684 MB / 1.44 GB, free: 7.039 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002825/1.774, allocations: 89.7 kB / 1.44 GB, free: 6.945 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/1.775, allocations: 1.136 MB / 1.441 GB, free: 5.797 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001665/1.776, allocations: 1.316 MB / 1.443 GB, free: 4.461 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009558/1.777, allocations: 0.5585 MB / 1.443 GB, free: 3.895 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.778, allocations: 309.1 kB / 1.443 GB, free: 3.59 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002656/1.78, allocations: 1.568 MB / 1.445 GB, free: 2.02 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002954/1.783, allocations: 1.912 MB / 1.447 GB, free: 40 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006058/1.789, allocations: 3.773 MB / 1.45 GB, free: 12.18 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/1.789, allocations: 0 / 1.45 GB, free: 12.18 MB / 1.154 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007978/1.797, allocations: 4.174 MB / 1.455 GB, free: 7.98 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.3e-05/1.797, allocations: 8 kB / 1.455 GB, free: 7.973 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/1.797, allocations: 4 kB / 1.455 GB, free: 7.969 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.93e-05/1.797, allocations: 20 kB / 1.455 GB, free: 7.949 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003169/1.801, allocations: 0.6947 MB / 1.455 GB, free: 7.254 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.17e-05/1.801, allocations: 28.64 kB / 1.455 GB, free: 7.227 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003487/1.804, allocations: 261.1 kB / 1.456 GB, free: 6.969 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002517/1.804, allocations: 112 kB / 1.456 GB, free: 6.859 MB / 1.154 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.002076/1.806, allocations: 0.806 MB / 1.456 GB, free: 6.043 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007343/1.807, allocations: 288.5 kB / 1.457 GB, free: 5.758 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008278/1.816, allocations: 4.437 MB / 1.461 GB, free: 1.285 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.564e-05/1.816, allocations: 36 kB / 1.461 GB, free: 1.25 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/1.816, allocations: 0 / 1.461 GB, free: 1.25 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006213/1.822, allocations: 3.796 MB / 1.465 GB, free: 13.39 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0175/1.839, allocations: 8.64 MB / 1.473 GB, free: 4.582 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/1.839, allocations: 0 / 1.473 GB, free: 4.582 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003589/1.843, allocations: 0.7337 MB / 1.474 GB, free: 3.848 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.299e-05/1.843, allocations: 12 kB / 1.474 GB, free: 3.836 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002857/1.843, allocations: 87.97 kB / 1.474 GB, free: 3.75 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.418e-05/1.843, allocations: 16 kB / 1.474 GB, free: 3.734 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/1.843, allocations: 7.938 kB / 1.474 GB, free: 3.727 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/1.854, allocations: 6.558 MB / 1.48 GB, free: 13.07 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002362/1.857, allocations: 0.7972 MB / 1.481 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004415/1.857, allocations: 76 kB / 1.481 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002001/1.859, allocations: 93.7 kB / 1.481 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005189/1.86, allocations: 234.6 kB / 1.482 GB, free: 11.86 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002338/1.86, allocations: 112 kB / 1.482 GB, free: 11.75 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001894/1.862, allocations: 1.153 MB / 1.483 GB, free: 10.57 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.9e-07/1.862, allocations: 7.938 kB / 1.483 GB, free: 10.56 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003233/1.865, allocations: 1.232 MB / 1.484 GB, free: 9.328 MB / 1.186 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.001134/1.866, allocations: 459.5 kB / 1.484 GB, free: 8.879 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.02253/1.889, allocations: 9.835 MB / 1.494 GB, free: 15.03 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/1.889, allocations: 4 kB / 1.494 GB, free: 15.02 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00354/1.892, allocations: 2.152 MB / 1.496 GB, free: 12.87 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008117/1.901, allocations: 1.605 MB / 1.498 GB, free: 11.3 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/1.915, allocations: 7.904 MB / 1.505 GB, free: 3.324 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002204/1.917, allocations: 2.209 MB / 1.508 GB, free: 1.078 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00178/1.919, allocations: 311.4 kB / 1.508 GB, free: 0.7734 MB / 1.201 GB Notification: Performance of SimCode: time 1.102e-06/1.919, allocations: 0 / 1.508 GB, free: 0.7734 MB / 1.201 GB Notification: Performance of Templates: time 0.7985/2.717, allocations: 54.4 MB / 1.561 GB, free: 423 MB / 1.232 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=400 -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