Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ReverseBuoyancy3Zones,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|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,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|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006231/0.006231, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.35/1.35, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.9 MB / 0.6663 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004746, allocations: 12 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7081/0.7086, allocations: 142.4 MB / 0.955 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.307/1.016, allocations: 288.9 MB / 1.237 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6606/1.676, allocations: 17.04 MB / 1.254 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004499/1.681, allocations: 64.81 kB / 1.254 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006154/1.687, allocations: 1.649 MB / 1.256 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01847/1.706, allocations: 6.075 MB / 1.261 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009354/1.715, allocations: 2.673 MB / 1.264 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02026/1.735, allocations: 11.19 MB / 1.275 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005572/1.741, allocations: 2.134 MB / 1.277 GB, free: 18.33 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008705/1.75, allocations: 2.349 MB / 1.279 GB, free: 18.32 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008388/1.758, allocations: 2.727 MB / 1.282 GB, free: 18.3 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001158/1.759, allocations: 160.3 kB / 1.282 GB, free: 18.3 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01632/1.776, allocations: 7.155 MB / 1.289 GB, free: 18.24 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002508/1.778, allocations: 1.156 MB / 1.29 GB, free: 18.24 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003662/1.782, allocations: 1.701 MB / 1.292 GB, free: 18.2 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01342/1.795, allocations: 7.069 MB / 1.299 GB, free: 17.83 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.795, allocations: 6.562 kB / 1.299 GB, free: 17.83 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.294e-06/1.795, allocations: 0 / 1.299 GB, free: 17.83 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001304/1.795, allocations: 0 / 1.299 GB, free: 17.83 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01011/1.806, allocations: 3.548 MB / 1.302 GB, free: 16.24 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.806, allocations: 12.38 kB / 1.302 GB, free: 16.24 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006657/1.812, allocations: 0.915 MB / 1.303 GB, free: 16.06 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003603/1.816, allocations: 1.84 MB / 1.305 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/1.816, allocations: 198.2 kB / 1.305 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004876/1.817, allocations: 258.2 kB / 1.305 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005545/1.822, allocations: 3.334 MB / 1.309 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.838e-05/1.822, allocations: 11 kB / 1.309 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002578/1.822, allocations: 111 kB / 1.309 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/1.823, allocations: 133.3 kB / 1.309 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005963/1.829, allocations: 3.502 MB / 1.312 GB, free: 15.19 MB / 1.014 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.01806/1.847, allocations: 12.11 MB / 1.324 GB, free: 8.895 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004433/1.851, allocations: 3.51 MB / 1.328 GB, free: 8 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002633/1.854, allocations: 1.804 MB / 1.329 GB, free: 7.738 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001479/1.855, allocations: 1.497 MB / 1.331 GB, free: 6.082 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/1.855, allocations: 65.81 kB / 1.331 GB, free: 6.035 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 4.588e-06/1.855, allocations: 0 / 1.331 GB, free: 6.035 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.006449/1.862, allocations: 3.889 MB / 1.335 GB, free: 5.359 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/1.862, allocations: 79.84 kB / 1.335 GB, free: 5.293 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/1.864, allocations: 1.379 MB / 1.336 GB, free: 4.914 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000337/1.864, allocations: 74.17 kB / 1.336 GB, free: 4.883 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008675/1.865, allocations: 0.9787 MB / 1.337 GB, free: 4.395 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001069/1.866, allocations: 0.9503 MB / 1.338 GB, free: 3.688 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/1.867, allocations: 201.3 kB / 1.338 GB, free: 3.641 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.721e-05/1.867, allocations: 301.1 kB / 1.339 GB, free: 3.344 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/1.868, allocations: 1.093 MB / 1.34 GB, free: 3.184 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/1.87, allocations: 1.362 MB / 1.341 GB, free: 2.812 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00367/1.874, allocations: 2.646 MB / 1.344 GB, free: 2.363 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/1.874, allocations: 2.781 kB / 1.344 GB, free: 2.363 MB / 1.014 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004833/1.879, allocations: 2.97 MB / 1.346 GB, free: 1.852 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/1.879, allocations: 6.719 kB / 1.346 GB, free: 1.852 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/1.879, allocations: 7.875 kB / 1.346 GB, free: 1.848 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/1.879, allocations: 20.69 kB / 1.346 GB, free: 1.844 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/1.881, allocations: 0.5098 MB / 1.347 GB, free: 1.785 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.289e-05/1.881, allocations: 16.72 kB / 1.347 GB, free: 1.785 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002961/1.884, allocations: 379.3 kB / 1.347 GB, free: 1.602 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/1.884, allocations: 88.73 kB / 1.347 GB, free: 1.594 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.001241/1.885, allocations: 0.6394 MB / 1.348 GB, free: 1.418 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004473/1.886, allocations: 231.5 kB / 1.348 GB, free: 1.305 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004767/1.891, allocations: 3.126 MB / 1.351 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/1.891, allocations: 35.55 kB / 1.351 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/1.891, allocations: 0 / 1.351 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003574/1.894, allocations: 2.653 MB / 1.354 GB, free: 152 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009433/1.904, allocations: 6.214 MB / 1.36 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/1.904, allocations: 0 / 1.36 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002803/1.907, allocations: 0.5464 MB / 1.361 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.384e-05/1.907, allocations: 9.312 kB / 1.361 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000266/1.907, allocations: 58.36 kB / 1.361 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.026e-05/1.907, allocations: 9.156 kB / 1.361 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.907, allocations: 0 / 1.361 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006355/1.913, allocations: 4.577 MB / 1.365 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/1.915, allocations: 0.6106 MB / 1.366 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003884/1.915, allocations: 50.56 kB / 1.366 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002278/1.917, allocations: 227.3 kB / 1.366 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003737/1.918, allocations: 160.1 kB / 1.366 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/1.918, allocations: 83.16 kB / 1.366 GB, free: 12.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001443/1.92, allocations: 0.9444 MB / 1.367 GB, free: 12.24 MB / 1.029 GB Notification: Performance of sort global known variables: time 2e-07/1.92, allocations: 4 kB / 1.367 GB, free: 12.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002638/1.922, allocations: 0.9815 MB / 1.368 GB, free: 11.33 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (278): * Single equations (assignments): 278 * 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.0008174/1.923, allocations: 382.8 kB / 1.368 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004572/1.928, allocations: 2.761 MB / 1.371 GB, free: 9.156 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/1.928, allocations: 3.938 kB / 1.371 GB, free: 9.152 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002227/1.93, allocations: 1.512 MB / 1.373 GB, free: 8.148 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007674/1.938, allocations: 1.292 MB / 1.374 GB, free: 7.102 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/1.95, allocations: 7.519 MB / 1.381 GB, free: 284 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001664/1.951, allocations: 1.902 MB / 1.383 GB, free: 14.35 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.003795/1.955, allocations: 0.8436 MB / 1.384 GB, free: 13.5 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000926/1.956, allocations: 203.4 kB / 1.384 GB, free: 13.3 MB / 1.045 GB Notification: Performance of SimCode: time 2.345e-06/1.956, allocations: 0 / 1.384 GB, free: 13.3 MB / 1.045 GB Notification: Performance of Templates: time 0.08139/2.038, allocations: 47.13 MB / 1.43 GB, free: 14.91 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches