Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.356/2.356, allocations: 390.5 MB / 398 MB, free: 10.94 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.001137/0.001137, allocations: 168.9 kB / 491.2 MB, free: 1.547 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.585/1.585, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.001327/0.001327, allocations: 99.83 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.414e-05/2.416e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3181, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.552/5.87, allocations: 1.931 GB / 3.143 GB, free: 338.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/5.87, allocations: 91.44 kB / 3.143 GB, free: 338.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.545/9.416, allocations: 1.066 GB / 4.209 GB, free: 130.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.383e-06/9.416, allocations: 0 / 4.209 GB, free: 130.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001328/9.416, allocations: 47.05 kB / 4.209 GB, free: 130.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.005789/9.422, allocations: 2.154 MB / 4.211 GB, free: 128.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/9.422, allocations: 8.031 kB / 4.211 GB, free: 128.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003496/9.425, allocations: 0.5128 MB / 4.212 GB, free: 128.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002305/9.428, allocations: 1.274 MB / 4.213 GB, free: 126.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.102e-05/9.428, allocations: 48 kB / 4.213 GB, free: 126.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/9.428, allocations: 83.91 kB / 4.213 GB, free: 126.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00187/9.43, allocations: 1.196 MB / 4.214 GB, free: 125.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/9.432, allocations: 1.421 MB / 4.216 GB, free: 124 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.661e-05/9.432, allocations: 4 kB / 4.216 GB, free: 124 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/9.432, allocations: 2.297 kB / 4.216 GB, free: 124 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.406e-05/9.432, allocations: 62.58 kB / 4.216 GB, free: 123.9 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.007259/9.439, allocations: 7.044 MB / 4.223 GB, free: 116.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/9.441, allocations: 1.227 MB / 4.224 GB, free: 115.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000628/9.441, allocations: 0.5664 MB / 4.224 GB, free: 114.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007149/9.442, allocations: 0.8624 MB / 4.225 GB, free: 113.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007439/9.443, allocations: 0.603 MB / 4.226 GB, free: 113 MB / 1.151 GB Notification: Performance of pre-optimization done (n=110): time 3.166e-06/9.443, allocations: 3.938 kB / 4.226 GB, free: 113 MB / 1.151 GB Notification: Performance of matching and sorting (n=110): time 0.002096/9.445, allocations: 1.144 MB / 4.227 GB, free: 111.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/9.445, allocations: 90.42 kB / 4.227 GB, free: 111.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000862/9.446, allocations: 0.8199 MB / 4.228 GB, free: 110.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.109e-05/9.446, allocations: 29.7 kB / 4.228 GB, free: 110.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004/9.446, allocations: 0.6852 MB / 4.229 GB, free: 110.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/9.447, allocations: 370.5 kB / 4.229 GB, free: 109.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/9.447, allocations: 0 / 4.229 GB, free: 109.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.431e-05/9.447, allocations: 345.9 kB / 4.229 GB, free: 109.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/9.447, allocations: 410.5 kB / 4.23 GB, free: 109.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005644/9.448, allocations: 0.5655 MB / 4.23 GB, free: 108.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007574/9.448, allocations: 0.506 MB / 4.231 GB, free: 107.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/9.448, allocations: 0 / 4.231 GB, free: 107.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001577/9.45, allocations: 1.183 MB / 4.232 GB, free: 106.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001727/9.45, allocations: 0.9778 MB / 4.233 GB, free: 105.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/9.45, allocations: 4.078 kB / 4.233 GB, free: 105.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/9.45, allocations: 11.94 kB / 4.233 GB, free: 105.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009076/9.451, allocations: 227.7 kB / 4.233 GB, free: 105.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/9.451, allocations: 7.938 kB / 4.233 GB, free: 105.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/9.453, allocations: 167 kB / 4.233 GB, free: 105.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.851e-05/9.453, allocations: 39.98 kB / 4.233 GB, free: 105.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/9.453, allocations: 4 kB / 4.233 GB, free: 105.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001396/9.454, allocations: 1.015 MB / 4.234 GB, free: 104.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/9.454, allocations: 4 kB / 4.234 GB, free: 104.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/9.454, allocations: 8 kB / 4.234 GB, free: 104.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008411/9.455, allocations: 216 kB / 4.234 GB, free: 104 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/9.455, allocations: 15.98 kB / 4.234 GB, free: 104 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/9.456, allocations: 139.2 kB / 4.235 GB, free: 103.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.917e-05/9.456, allocations: 39.98 kB / 4.235 GB, free: 103.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.0002338/9.457, allocations: 129.8 kB / 4.235 GB, free: 103.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/9.457, allocations: 138.4 kB / 4.235 GB, free: 103.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/9.459, allocations: 1.225 MB / 4.236 GB, free: 102.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/9.459, allocations: 8 kB / 4.236 GB, free: 102.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/9.459, allocations: 4 kB / 4.236 GB, free: 102.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001259/9.46, allocations: 1.01 MB / 4.237 GB, free: 101.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004157/9.464, allocations: 3.119 MB / 4.24 GB, free: 98.07 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/9.464, allocations: 4.312 kB / 4.24 GB, free: 98.07 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/9.465, allocations: 247.7 kB / 4.24 GB, free: 97.82 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/9.465, allocations: 4 kB / 4.24 GB, free: 97.82 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.587e-05/9.465, allocations: 23.94 kB / 4.24 GB, free: 97.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/9.465, allocations: 8 kB / 4.24 GB, free: 97.79 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/9.465, allocations: 0 / 4.24 GB, free: 97.79 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/9.468, allocations: 2.003 MB / 4.242 GB, free: 95.69 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006437/9.468, allocations: 363.1 kB / 4.243 GB, free: 95.32 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/9.469, allocations: 11.98 kB / 4.243 GB, free: 95.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/9.47, allocations: 95.75 kB / 4.243 GB, free: 95.21 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/9.47, allocations: 77.2 kB / 4.243 GB, free: 95.14 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.135e-05/9.47, allocations: 39.98 kB / 4.243 GB, free: 95.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000743/9.471, allocations: 0.6305 MB / 4.244 GB, free: 94.46 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/9.471, allocations: 0 / 4.244 GB, free: 94.46 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0025/9.473, allocations: 1.009 MB / 4.245 GB, free: 93.45 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.004367/9.477, allocations: 3.118 MB / 4.248 GB, free: 90.43 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002199/9.48, allocations: 1.623 MB / 4.249 GB, free: 88.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/9.48, allocations: 4 kB / 4.249 GB, free: 88.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006241/9.48, allocations: 0.545 MB / 4.25 GB, free: 88.26 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00327/9.484, allocations: 0.6882 MB / 4.25 GB, free: 87.58 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/9.488, allocations: 2.726 MB / 4.253 GB, free: 84.79 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007308/9.489, allocations: 1.405 MB / 4.254 GB, free: 83.35 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002334/9.491, allocations: 0.5606 MB / 4.255 GB, free: 82.78 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/9.491, allocations: 95.41 kB / 4.255 GB, free: 82.69 MB / 1.151 GB Notification: Performance of SimCode: time 1.403e-06/9.491, allocations: 0 / 4.255 GB, free: 82.69 MB / 1.151 GB Notification: Performance of Templates: time 0.05916/9.55, allocations: 40.27 MB / 4.294 GB, free: 42.62 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches