Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.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_latest_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_latest_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.008551/0.008551, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.002154/0.002154, allocations: 192.2 kB / 16.79 MB, free: 6.254 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.499/1.499, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.894/2.894, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001315, allocations: 59.86 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4141, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.26/1.674, allocations: 293 MB / 1.339 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02713/1.702, allocations: 17.23 MB / 1.356 GB, free: 300 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006355/1.708, allocations: 73.62 kB / 1.356 GB, free: 300 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00688/1.715, allocations: 1.65 MB / 1.357 GB, free: 256 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02303/1.738, allocations: 6.066 MB / 1.363 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01031/1.748, allocations: 2.674 MB / 1.366 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01782/1.766, allocations: 11.2 MB / 1.377 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004478/1.771, allocations: 2.215 MB / 1.379 GB, free: 14.2 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007073/1.778, allocations: 2.41 MB / 1.381 GB, free: 13.35 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007652/1.786, allocations: 2.808 MB / 1.384 GB, free: 12.13 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001137/1.787, allocations: 183.6 kB / 1.384 GB, free: 12.13 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01871/1.805, allocations: 7.186 MB / 1.391 GB, free: 8.91 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002908/1.808, allocations: 1.2 MB / 1.392 GB, free: 8.145 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004786/1.813, allocations: 1.727 MB / 1.394 GB, free: 7.133 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01111/1.824, allocations: 5.057 MB / 1.399 GB, free: 4.273 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/1.824, allocations: 2.906 kB / 1.399 GB, free: 4.273 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.064e-06/1.824, allocations: 3.938 kB / 1.399 GB, free: 4.27 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001661/1.825, allocations: 0 / 1.399 GB, free: 4.27 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.01393/1.838, allocations: 4.135 MB / 1.403 GB, free: 1.512 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/1.839, allocations: 10.28 kB / 1.403 GB, free: 1.512 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006711/1.845, allocations: 0.9092 MB / 1.404 GB, free: 1.094 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004436/1.85, allocations: 1.841 MB / 1.406 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/1.85, allocations: 193.1 kB / 1.406 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004821/1.85, allocations: 262.3 kB / 1.406 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006566/1.857, allocations: 3.344 MB / 1.409 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.144e-05/1.857, allocations: 11.84 kB / 1.41 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002904/1.857, allocations: 106.9 kB / 1.41 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001604/1.858, allocations: 141 kB / 1.41 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006562/1.864, allocations: 3.498 MB / 1.413 GB, free: 8.715 MB / 1.029 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.02131/1.885, allocations: 12.09 MB / 1.425 GB, free: 11.85 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005864/1.891, allocations: 3.5 MB / 1.428 GB, free: 8.262 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003325/1.895, allocations: 1.817 MB / 1.43 GB, free: 6.441 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001801/1.897, allocations: 1.49 MB / 1.432 GB, free: 4.645 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.491e-05/1.897, allocations: 65.22 kB / 1.432 GB, free: 4.57 MB / 1.045 GB Notification: Performance of pre-optimization done (n=278): time 5.139e-06/1.897, allocations: 0 / 1.432 GB, free: 4.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=278): time 0.008372/1.905, allocations: 3.885 MB / 1.435 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/1.905, allocations: 81.59 kB / 1.436 GB, free: 0.543 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002952/1.908, allocations: 1.383 MB / 1.437 GB, free: 15.15 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003368/1.908, allocations: 77.7 kB / 1.437 GB, free: 15.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008268/1.909, allocations: 0.9786 MB / 1.438 GB, free: 14.08 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001224/1.911, allocations: 0.9497 MB / 1.439 GB, free: 13.14 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008907/1.911, allocations: 405 kB / 1.439 GB, free: 12.74 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.912, allocations: 317 kB / 1.44 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002117/1.914, allocations: 1.086 MB / 1.441 GB, free: 11.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002333/1.916, allocations: 1.362 MB / 1.442 GB, free: 9.906 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004595/1.921, allocations: 2.65 MB / 1.445 GB, free: 7.164 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/1.921, allocations: 4 kB / 1.445 GB, free: 7.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.006089/1.927, allocations: 2.974 MB / 1.447 GB, free: 4.141 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.73e-05/1.927, allocations: 8 kB / 1.447 GB, free: 4.133 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/1.927, allocations: 4 kB / 1.447 GB, free: 4.129 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.846e-05/1.927, allocations: 12 kB / 1.447 GB, free: 4.117 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/1.929, allocations: 0.5071 MB / 1.448 GB, free: 3.609 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.987e-05/1.929, allocations: 19.94 kB / 1.448 GB, free: 3.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003611/1.933, allocations: 382 kB / 1.448 GB, free: 3.215 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002812/1.933, allocations: 83.98 kB / 1.448 GB, free: 3.133 MB / 1.061 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.001845/1.935, allocations: 0.6533 MB / 1.449 GB, free: 2.469 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001098/1.936, allocations: 225.3 kB / 1.449 GB, free: 2.246 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006495/1.943, allocations: 3.114 MB / 1.452 GB, free: 15.08 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.957e-05/1.943, allocations: 28 kB / 1.452 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/1.943, allocations: 0 / 1.452 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004548/1.947, allocations: 2.657 MB / 1.455 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/1.961, allocations: 6.219 MB / 1.461 GB, free: 6.062 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/1.961, allocations: 4 kB / 1.461 GB, free: 6.059 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00274/1.964, allocations: 0.5345 MB / 1.462 GB, free: 5.523 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.776e-05/1.964, allocations: 8 kB / 1.462 GB, free: 5.516 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002639/1.964, allocations: 63.97 kB / 1.462 GB, free: 5.453 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-05/1.964, allocations: 15.94 kB / 1.462 GB, free: 5.438 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.964, allocations: 0 / 1.462 GB, free: 5.438 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008356/1.972, allocations: 4.573 MB / 1.466 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002106/1.974, allocations: 0.6032 MB / 1.467 GB, free: 164 kB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007454/1.975, allocations: 55.98 kB / 1.467 GB, free: 108 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003077/1.978, allocations: 223.6 kB / 1.467 GB, free: 15.88 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004006/1.979, allocations: 169.9 kB / 1.467 GB, free: 15.71 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002344/1.979, allocations: 83.97 kB / 1.467 GB, free: 15.63 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00206/1.981, allocations: 0.9423 MB / 1.468 GB, free: 14.7 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.7e-07/1.981, allocations: 0 / 1.468 GB, free: 14.7 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003751/1.985, allocations: 0.9862 MB / 1.469 GB, free: 13.71 MB / 1.092 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.0009929/1.986, allocations: 380.6 kB / 1.469 GB, free: 13.34 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005257/1.991, allocations: 2.771 MB / 1.472 GB, free: 10.54 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.991, allocations: 0 / 1.472 GB, free: 10.54 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002575/1.994, allocations: 1.507 MB / 1.474 GB, free: 9.027 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007957/2.002, allocations: 1.28 MB / 1.475 GB, free: 7.758 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/2.016, allocations: 7.36 MB / 1.482 GB, free: 372 kB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002532/2.019, allocations: 1.903 MB / 1.484 GB, free: 14.42 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001782/2.02, allocations: 235.4 kB / 1.484 GB, free: 14.19 MB / 1.107 GB Notification: Performance of SimCode: time 1.683e-06/2.021, allocations: 0 / 1.484 GB, free: 14.19 MB / 1.107 GB Notification: Performance of Templates: time 0.07729/2.098, allocations: 42.81 MB / 1.526 GB, free: 3.602 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches