Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|sha.vol.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|sha.vol.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.507/2.507, allocations: 390.3 MB / 405.3 MB, free: 13.53 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002152/0.002153, allocations: 179.3 kB / 498.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.704/1.704, allocations: 223.2 MB / 0.7948 GB, free: 18.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001086, allocations: 101.1 kB / 0.9346 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004896, allocations: 8.719 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3386, allocations: 142.3 MB / 1.223 GB, free: 89.6 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.615/4.953, allocations: 1.931 GB / 3.154 GB, free: 47.72 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/4.954, allocations: 91.95 kB / 3.154 GB, free: 47.63 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.994/9.947, allocations: 1.078 GB / 4.232 GB, free: 203.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.106e-06/9.947, allocations: 0 / 4.232 GB, free: 203.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003276/9.948, allocations: 49.7 kB / 4.232 GB, free: 203.5 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.0103/9.958, allocations: 2.434 MB / 4.235 GB, free: 202.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/9.958, allocations: 10.91 kB / 4.235 GB, free: 202.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004799/9.963, allocations: 0.5246 MB / 4.235 GB, free: 202.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005443/9.968, allocations: 1.277 MB / 4.236 GB, free: 202.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/9.969, allocations: 104.7 kB / 4.236 GB, free: 202.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008484/9.97, allocations: 140.8 kB / 4.237 GB, free: 202.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005618/9.975, allocations: 1.651 MB / 4.238 GB, free: 201.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.811e-05/9.975, allocations: 12.52 kB / 4.238 GB, free: 201.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004409/9.976, allocations: 56.22 kB / 4.238 GB, free: 201.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/9.976, allocations: 58.77 kB / 4.238 GB, free: 201.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003215/9.979, allocations: 1.416 MB / 4.24 GB, free: 201.8 MB / 1.167 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.009655/9.989, allocations: 7.175 MB / 4.247 GB, free: 198.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/9.991, allocations: 1.195 MB / 4.248 GB, free: 198.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007833/9.991, allocations: 0.8701 MB / 4.249 GB, free: 197.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009801/9.992, allocations: 0.6059 MB / 4.249 GB, free: 197.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=110): time 5.6e-06/9.992, allocations: 0 / 4.249 GB, free: 197.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=110): time 0.003138/9.996, allocations: 1.576 MB / 4.251 GB, free: 197 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/9.996, allocations: 92.33 kB / 4.251 GB, free: 196.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/9.997, allocations: 1.039 MB / 4.252 GB, free: 196.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/9.997, allocations: 49.58 kB / 4.252 GB, free: 196.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006285/9.998, allocations: 0.6787 MB / 4.253 GB, free: 196.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004013/9.998, allocations: 387.3 kB / 4.253 GB, free: 196.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/9.998, allocations: 20.59 kB / 4.253 GB, free: 196.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001135/9.998, allocations: 345.5 kB / 4.253 GB, free: 196.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006908/9.999, allocations: 421.4 kB / 4.254 GB, free: 196.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008263/10, allocations: 0.5807 MB / 4.254 GB, free: 195.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008107/10, allocations: 0.4925 MB / 4.255 GB, free: 195.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/10, allocations: 3.062 kB / 4.255 GB, free: 195.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002091/10, allocations: 1.226 MB / 4.256 GB, free: 195.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003245/10, allocations: 0.9882 MB / 4.257 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/10, allocations: 4.062 kB / 4.257 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.416e-05/10, allocations: 11.81 kB / 4.257 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009851/10, allocations: 215.6 kB / 4.257 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/10, allocations: 11.56 kB / 4.257 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/10.01, allocations: 192.2 kB / 4.257 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/10.01, allocations: 37.56 kB / 4.257 GB, free: 194.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/10.01, allocations: 3.969 kB / 4.257 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00167/10.01, allocations: 1.045 MB / 4.258 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/10.01, allocations: 0 / 4.258 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/10.01, allocations: 7.562 kB / 4.258 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008851/10.01, allocations: 215.2 kB / 4.259 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/10.01, allocations: 11.72 kB / 4.259 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/10.01, allocations: 184 kB / 4.259 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-05/10.01, allocations: 37.75 kB / 4.259 GB, free: 194.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001195/10.01, allocations: 497.7 kB / 4.259 GB, free: 194.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/10.01, allocations: 153 kB / 4.26 GB, free: 194.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/10.01, allocations: 1.262 MB / 4.261 GB, free: 194.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/10.01, allocations: 11.53 kB / 4.261 GB, free: 194.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/10.01, allocations: 0 / 4.261 GB, free: 194.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001519/10.02, allocations: 1.025 MB / 4.262 GB, free: 194.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005411/10.02, allocations: 3.199 MB / 4.265 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/10.02, allocations: 3.562 kB / 4.265 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/10.02, allocations: 245.5 kB / 4.265 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/10.02, allocations: 3.969 kB / 4.265 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.52e-05/10.02, allocations: 30.59 kB / 4.265 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/10.02, allocations: 7.188 kB / 4.265 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/10.02, allocations: 3.562 kB / 4.265 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002901/10.03, allocations: 2.069 MB / 4.267 GB, free: 193.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009655/10.03, allocations: 369.7 kB / 4.268 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/10.03, allocations: 26.41 kB / 4.268 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/10.03, allocations: 118.3 kB / 4.268 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/10.03, allocations: 75.66 kB / 4.268 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.857e-05/10.03, allocations: 39.75 kB / 4.268 GB, free: 192.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001169/10.03, allocations: 0.8124 MB / 4.269 GB, free: 192.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2e-07/10.03, allocations: 0 / 4.269 GB, free: 192.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003271/10.03, allocations: 1.102 MB / 4.27 GB, free: 192.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005235/10.04, allocations: 2.91 MB / 4.273 GB, free: 191.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002942/10.04, allocations: 1.615 MB / 4.274 GB, free: 191.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/10.04, allocations: 0 / 4.274 GB, free: 191.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008726/10.04, allocations: 0.563 MB / 4.275 GB, free: 191.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004072/10.05, allocations: 0.8065 MB / 4.275 GB, free: 191.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006322/10.05, allocations: 4.04 MB / 4.279 GB, free: 189.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009236/10.05, allocations: 1.4 MB / 4.281 GB, free: 189.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002308/10.06, allocations: 467.1 kB / 4.281 GB, free: 189.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003984/10.06, allocations: 112.1 kB / 4.281 GB, free: 189.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.332e-06/10.06, allocations: 0 / 4.281 GB, free: 189.2 MB / 1.167 GB Notification: Performance of Templates: time 0.09339/10.15, allocations: 56.4 MB / 4.336 GB, free: 179.8 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches