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.274/2.274, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001085/0.001085, allocations: 188.8 kB / 492.3 MB, free: 0.5898 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.674/1.674, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.000918/0.000918, allocations: 87.95 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.188e-05/3.188e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2877, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.606/5.894, allocations: 1.931 GB / 3.143 GB, free: 344.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/5.894, allocations: 87.14 kB / 3.143 GB, free: 344.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.11/10, allocations: 1.078 GB / 4.221 GB, free: 131.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.383e-06/10, allocations: 0 / 4.221 GB, free: 131.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001634/10, allocations: 47.98 kB / 4.221 GB, free: 131.1 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.007148/10.01, allocations: 2.15 MB / 4.223 GB, free: 128.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/10.01, allocations: 8.031 kB / 4.223 GB, free: 128.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003734/10.02, allocations: 0.5166 MB / 4.223 GB, free: 128.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002756/10.02, allocations: 1.278 MB / 4.225 GB, free: 127 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.548e-05/10.02, allocations: 98.67 kB / 4.225 GB, free: 126.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/10.02, allocations: 144 kB / 4.225 GB, free: 126.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/10.02, allocations: 1.606 MB / 4.226 GB, free: 125.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/10.02, allocations: 4 kB / 4.226 GB, free: 125.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/10.02, allocations: 56 kB / 4.226 GB, free: 125.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.155e-05/10.02, allocations: 66.53 kB / 4.227 GB, free: 125 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/10.02, allocations: 1.349 MB / 4.228 GB, free: 123.6 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.007994/10.03, allocations: 7.186 MB / 4.235 GB, free: 116 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/10.03, allocations: 1.153 MB / 4.236 GB, free: 114.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006969/10.03, allocations: 0.585 MB / 4.237 GB, free: 114.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008105/10.03, allocations: 0.8672 MB / 4.237 GB, free: 113.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008593/10.04, allocations: 0.5791 MB / 4.238 GB, free: 112.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=110): time 3.807e-06/10.04, allocations: 0 / 4.238 GB, free: 112.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=110): time 0.002267/10.04, allocations: 1.121 MB / 4.239 GB, free: 111.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/10.04, allocations: 90.11 kB / 4.239 GB, free: 111.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/10.04, allocations: 1.025 MB / 4.24 GB, free: 110.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.4e-05/10.04, allocations: 49.7 kB / 4.24 GB, free: 110.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004886/10.04, allocations: 0.679 MB / 4.241 GB, free: 109.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003288/10.04, allocations: 386.3 kB / 4.241 GB, free: 109.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/10.04, allocations: 20 kB / 4.241 GB, free: 109.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001118/10.04, allocations: 341.9 kB / 4.242 GB, free: 108.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/10.04, allocations: 397.8 kB / 4.242 GB, free: 108.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006125/10.04, allocations: 0.5647 MB / 4.242 GB, free: 107.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006203/10.04, allocations: 476.7 kB / 4.243 GB, free: 107.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/10.04, allocations: 0 / 4.243 GB, free: 107.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001579/10.04, allocations: 1.175 MB / 4.244 GB, free: 106.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000202/10.04, allocations: 0.9938 MB / 4.245 GB, free: 105.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/10.04, allocations: 0 / 4.245 GB, free: 105.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/10.04, allocations: 8 kB / 4.245 GB, free: 105.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009057/10.04, allocations: 223.7 kB / 4.245 GB, free: 104.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/10.04, allocations: 8 kB / 4.245 GB, free: 104.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/10.05, allocations: 186.9 kB / 4.245 GB, free: 104.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.301e-05/10.05, allocations: 43.98 kB / 4.246 GB, free: 104.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/10.05, allocations: 4 kB / 4.246 GB, free: 104.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001353/10.05, allocations: 1.022 MB / 4.247 GB, free: 103.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/10.05, allocations: 4 kB / 4.247 GB, free: 103.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/10.05, allocations: 4.312 kB / 4.247 GB, free: 103.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008822/10.05, allocations: 223.6 kB / 4.247 GB, free: 103.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/10.05, allocations: 8 kB / 4.247 GB, free: 103.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/10.05, allocations: 175 kB / 4.247 GB, free: 103.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.588e-05/10.05, allocations: 43.94 kB / 4.247 GB, free: 103.2 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.0002266/10.05, allocations: 166.7 kB / 4.247 GB, free: 103 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/10.05, allocations: 154.1 kB / 4.247 GB, free: 102.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/10.05, allocations: 1.208 MB / 4.248 GB, free: 101.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/10.05, allocations: 12 kB / 4.248 GB, free: 101.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/10.05, allocations: 0 / 4.248 GB, free: 101.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001208/10.05, allocations: 0.9717 MB / 4.249 GB, free: 100.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004246/10.06, allocations: 3.159 MB / 4.252 GB, free: 97.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/10.06, allocations: 4 kB / 4.252 GB, free: 97.36 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/10.06, allocations: 239.7 kB / 4.253 GB, free: 97.12 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/10.06, allocations: 7.984 kB / 4.253 GB, free: 97.12 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.563e-05/10.06, allocations: 28 kB / 4.253 GB, free: 97.09 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/10.06, allocations: 11.98 kB / 4.253 GB, free: 97.08 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/10.06, allocations: 0 / 4.253 GB, free: 97.08 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/10.06, allocations: 1.996 MB / 4.255 GB, free: 94.95 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000711/10.06, allocations: 367 kB / 4.255 GB, free: 94.57 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/10.06, allocations: 28.08 kB / 4.255 GB, free: 94.55 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/10.06, allocations: 123.6 kB / 4.255 GB, free: 94.43 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/10.06, allocations: 68.91 kB / 4.255 GB, free: 94.36 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.336e-05/10.06, allocations: 39.98 kB / 4.255 GB, free: 94.32 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009667/10.06, allocations: 0.8046 MB / 4.256 GB, free: 93.51 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/10.06, allocations: 0 / 4.256 GB, free: 93.51 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002987/10.07, allocations: 1.095 MB / 4.257 GB, free: 92.41 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.005039/10.07, allocations: 2.872 MB / 4.26 GB, free: 89.36 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002563/10.07, allocations: 1.601 MB / 4.262 GB, free: 87.76 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/10.07, allocations: 384 / 4.262 GB, free: 87.76 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007058/10.08, allocations: 0.5405 MB / 4.262 GB, free: 87.22 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004234/10.08, allocations: 0.8173 MB / 4.263 GB, free: 86.41 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005018/10.08, allocations: 2.755 MB / 4.266 GB, free: 83.58 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000835/10.09, allocations: 1.4 MB / 4.267 GB, free: 82.16 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002367/10.09, allocations: 0.597 MB / 4.267 GB, free: 81.55 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/10.09, allocations: 95.42 kB / 4.268 GB, free: 81.46 MB / 1.151 GB Notification: Performance of SimCode: time 1.112e-06/10.09, allocations: 0 / 4.268 GB, free: 81.46 MB / 1.151 GB Notification: Performance of Templates: time 0.08141/10.17, allocations: 65.27 MB / 4.331 GB, free: 16.35 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