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.209/2.209, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001184/0.001184, allocations: 180.8 kB / 487.4 MB, free: 5.047 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.521/1.521, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009266/0.0009269, allocations: 99.83 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.768e-05/1.77e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.288, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.705/5.993, allocations: 1.93 GB / 3.136 GB, free: 421.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/5.993, allocations: 85.27 kB / 3.136 GB, free: 421.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.841/9.834, allocations: 1.066 GB / 4.202 GB, free: 192.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.475e-06/9.834, allocations: 0 / 4.202 GB, free: 192.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000347/9.835, allocations: 53.2 kB / 4.202 GB, free: 192.8 MB / 1.151 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.008865/9.843, allocations: 2.152 MB / 4.204 GB, free: 191.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/9.843, allocations: 13.22 kB / 4.204 GB, free: 191.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004146/9.848, allocations: 0.5125 MB / 4.205 GB, free: 191.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003599/9.851, allocations: 1.28 MB / 4.206 GB, free: 190.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.403e-05/9.851, allocations: 42.38 kB / 4.206 GB, free: 190.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004954/9.852, allocations: 79.94 kB / 4.206 GB, free: 190.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002779/9.855, allocations: 1.205 MB / 4.207 GB, free: 189.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00311/9.858, allocations: 1.422 MB / 4.209 GB, free: 188.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.841e-05/9.858, allocations: 0 / 4.209 GB, free: 188.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001836/9.858, allocations: 10.91 kB / 4.209 GB, free: 188.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.111e-05/9.858, allocations: 53.31 kB / 4.209 GB, free: 188.8 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.009572/9.868, allocations: 7.047 MB / 4.216 GB, free: 181.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/9.869, allocations: 1.228 MB / 4.217 GB, free: 180.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007182/9.87, allocations: 0.5674 MB / 4.217 GB, free: 179.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007713/9.871, allocations: 0.8744 MB / 4.218 GB, free: 178.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008391/9.872, allocations: 0.5925 MB / 4.219 GB, free: 177.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=110): time 3.747e-06/9.872, allocations: 0 / 4.219 GB, free: 177.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=110): time 0.002466/9.874, allocations: 1.152 MB / 4.22 GB, free: 176.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/9.874, allocations: 86.42 kB / 4.22 GB, free: 176.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/9.876, allocations: 0.8264 MB / 4.221 GB, free: 175.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/9.876, allocations: 29.7 kB / 4.221 GB, free: 175.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006424/9.877, allocations: 0.6879 MB / 4.221 GB, free: 175.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/9.877, allocations: 366.4 kB / 4.222 GB, free: 174.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/9.877, allocations: 0 / 4.222 GB, free: 174.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001027/9.877, allocations: 352.5 kB / 4.222 GB, free: 174.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005418/9.878, allocations: 410.5 kB / 4.223 GB, free: 174 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006257/9.878, allocations: 0.5693 MB / 4.223 GB, free: 173.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008589/9.879, allocations: 0.4989 MB / 4.224 GB, free: 172.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/9.879, allocations: 0 / 4.224 GB, free: 172.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001952/9.881, allocations: 1.183 MB / 4.225 GB, free: 171.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002513/9.881, allocations: 0.9787 MB / 4.226 GB, free: 170.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/9.881, allocations: 0 / 4.226 GB, free: 170.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.292e-05/9.882, allocations: 8 kB / 4.226 GB, free: 170.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009983/9.883, allocations: 230.7 kB / 4.226 GB, free: 170.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/9.883, allocations: 4 kB / 4.226 GB, free: 170.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/9.884, allocations: 156.8 kB / 4.226 GB, free: 170.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/9.884, allocations: 39.98 kB / 4.226 GB, free: 170.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/9.885, allocations: 7.469 kB / 4.226 GB, free: 170.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001584/9.886, allocations: 1.025 MB / 4.227 GB, free: 169.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/9.886, allocations: 4 kB / 4.227 GB, free: 169.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/9.886, allocations: 8 kB / 4.227 GB, free: 169.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008968/9.887, allocations: 223.6 kB / 4.227 GB, free: 169 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/9.887, allocations: 8 kB / 4.227 GB, free: 169 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/9.889, allocations: 141 kB / 4.227 GB, free: 168.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/9.889, allocations: 42.23 kB / 4.228 GB, free: 168.8 MB / 1.151 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 () * 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.0002871/9.889, allocations: 131.8 kB / 4.228 GB, free: 168.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000414/9.89, allocations: 138.3 kB / 4.228 GB, free: 168.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002216/9.892, allocations: 1.22 MB / 4.229 GB, free: 167.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/9.892, allocations: 12 kB / 4.229 GB, free: 167.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/9.892, allocations: 3.953 kB / 4.229 GB, free: 167.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001518/9.893, allocations: 1.009 MB / 4.23 GB, free: 166.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005593/9.899, allocations: 3.115 MB / 4.233 GB, free: 163.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/9.899, allocations: 0 / 4.233 GB, free: 163.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/9.9, allocations: 243.7 kB / 4.233 GB, free: 162.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.223e-05/9.9, allocations: 4 kB / 4.233 GB, free: 162.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/9.9, allocations: 22.86 kB / 4.233 GB, free: 162.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.507e-05/9.9, allocations: 19.86 kB / 4.233 GB, free: 162.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/9.9, allocations: 0 / 4.233 GB, free: 162.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/9.903, allocations: 2.006 MB / 4.235 GB, free: 160.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/9.904, allocations: 371 kB / 4.236 GB, free: 160.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004062/9.905, allocations: 4 kB / 4.236 GB, free: 160.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/9.906, allocations: 98 kB / 4.236 GB, free: 160.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/9.906, allocations: 65.22 kB / 4.236 GB, free: 160.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.125e-05/9.906, allocations: 55.2 kB / 4.236 GB, free: 160.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009691/9.907, allocations: 0.6369 MB / 4.236 GB, free: 159.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.31e-07/9.907, allocations: 3.938 kB / 4.236 GB, free: 159.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00315/9.91, allocations: 1.005 MB / 4.237 GB, free: 158.5 MB / 1.151 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) * 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.004451/9.915, allocations: 3.114 MB / 4.24 GB, free: 155.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002964/9.918, allocations: 1.632 MB / 4.242 GB, free: 154.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/9.918, allocations: 4 kB / 4.242 GB, free: 154.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007959/9.919, allocations: 0.5437 MB / 4.243 GB, free: 153.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004215/9.923, allocations: 0.6897 MB / 4.243 GB, free: 153 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005089/9.928, allocations: 2.718 MB / 4.246 GB, free: 150.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/9.929, allocations: 1.401 MB / 4.247 GB, free: 148.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00264/9.932, allocations: 0.5707 MB / 4.248 GB, free: 148.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/9.932, allocations: 95.41 kB / 4.248 GB, free: 148.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.182e-06/9.932, allocations: 4 kB / 4.248 GB, free: 148.2 MB / 1.151 GB Notification: Performance of Templates: time 0.05932/9.991, allocations: 40.25 MB / 4.287 GB, free: 108.5 MB / 1.151 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