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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002802/0.002802, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.767/2.767, allocations: 436.5 MB / 0.7104 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003283, allocations: 11.98 kB / 0.8708 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7254/0.7258, allocations: 153.7 MB / 1.021 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.2093/0.9351, allocations: 193.5 MB / 1.21 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0176/0.9528, allocations: 10.36 MB / 1.22 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002695/0.9555, allocations: 47.69 kB / 1.22 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003766/0.9593, allocations: 1.066 MB / 1.221 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.009759/0.9691, allocations: 2.968 MB / 1.224 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005365/0.9745, allocations: 1.585 MB / 1.225 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007612/0.9821, allocations: 2.542 MB / 1.228 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002433/0.9846, allocations: 1.194 MB / 1.229 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00336/0.988, allocations: 1.258 MB / 1.23 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002018/0.99, allocations: 0.9338 MB / 1.231 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002456/0.9903, allocations: 76 kB / 1.231 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0048/0.9951, allocations: 1.349 MB / 1.233 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006762/0.9958, allocations: 0.5336 MB / 1.233 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006517/0.9965, allocations: 400.8 kB / 1.234 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003635/1, allocations: 2.377 MB / 1.236 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/1, allocations: 0 / 1.236 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.983e-06/1, allocations: 0 / 1.236 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.578e-05/1, allocations: 0 / 1.236 GB, free: 4.379 MB / 0.9825 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.005127/1.005, allocations: 2.089 MB / 1.238 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/1.005, allocations: 12.03 kB / 1.238 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003371/1.009, allocations: 0.5284 MB / 1.238 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/1.011, allocations: 1.171 MB / 1.24 GB, free: 476 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/1.011, allocations: 98.66 kB / 1.24 GB, free: 376 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/1.012, allocations: 147.8 kB / 1.24 GB, free: 228 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002953/1.015, allocations: 1.662 MB / 1.241 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/1.015, allocations: 0 / 1.241 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/1.015, allocations: 52 kB / 1.241 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001358/1.015, allocations: 74.52 kB / 1.242 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002668/1.018, allocations: 1.443 MB / 1.243 GB, free: 12.92 MB / 0.9981 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.009465/1.027, allocations: 6.957 MB / 1.25 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/1.029, allocations: 1.216 MB / 1.251 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006731/1.03, allocations: 0.6892 MB / 1.252 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/1.031, allocations: 0.6063 MB / 1.252 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=110): time 4.458e-06/1.031, allocations: 4 kB / 1.252 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=110): time 0.003201/1.034, allocations: 1.576 MB / 1.254 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/1.034, allocations: 86.11 kB / 1.254 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6719/1.706, allocations: 1.183 MB / 1.255 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003065/1.706, allocations: 49.23 kB / 1.255 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000835/1.707, allocations: 0.6714 MB / 1.256 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004614/1.708, allocations: 386.6 kB / 1.256 GB, free: 231 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/1.708, allocations: 19.28 kB / 1.256 GB, free: 231 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.708, allocations: 349.4 kB / 1.256 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009198/1.709, allocations: 422.8 kB / 1.257 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009574/1.71, allocations: 0.5549 MB / 1.257 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009892/1.711, allocations: 497.3 kB / 1.258 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/1.711, allocations: 0.7188 kB / 1.258 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002871/1.714, allocations: 1.214 MB / 1.259 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002057/1.714, allocations: 0.9825 MB / 1.26 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/1.714, allocations: 2.438 kB / 1.26 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.147e-05/1.714, allocations: 10.92 kB / 1.26 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/1.715, allocations: 224.4 kB / 1.26 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.357e-05/1.715, allocations: 9.766 kB / 1.26 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/1.717, allocations: 185.9 kB / 1.26 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/1.717, allocations: 38.86 kB / 1.26 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/1.717, allocations: 3.969 kB / 1.26 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001997/1.719, allocations: 1.032 MB / 1.261 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.719, allocations: 10.25 kB / 1.261 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/1.719, allocations: 8.469 kB / 1.261 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/1.72, allocations: 209.7 kB / 1.262 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/1.72, allocations: 8.031 kB / 1.262 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/1.721, allocations: 184 kB / 1.262 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.353e-05/1.722, allocations: 36.02 kB / 1.262 GB, free: 228 MB / 0.9981 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.0009003/1.722, allocations: 492.2 kB / 1.262 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003022/1.723, allocations: 148.8 kB / 1.262 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/1.725, allocations: 1.249 MB / 1.264 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/1.725, allocations: 11.36 kB / 1.264 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/1.725, allocations: 4.094 kB / 1.264 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001902/1.727, allocations: 1.015 MB / 1.265 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006519/1.734, allocations: 3.167 MB / 1.268 GB, free: 225.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/1.734, allocations: 3.422 kB / 1.268 GB, free: 225.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/1.735, allocations: 236.9 kB / 1.268 GB, free: 225.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.176e-05/1.735, allocations: 10.8 kB / 1.268 GB, free: 225.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.425e-05/1.735, allocations: 29.67 kB / 1.268 GB, free: 225.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.917e-05/1.735, allocations: 14.39 kB / 1.268 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.735, allocations: 2.656 kB / 1.268 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0035/1.739, allocations: 2.05 MB / 1.27 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009634/1.74, allocations: 364.3 kB / 1.27 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/1.74, allocations: 25.33 kB / 1.27 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/1.741, allocations: 121.1 kB / 1.271 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/1.741, allocations: 77.83 kB / 1.271 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-05/1.742, allocations: 37.14 kB / 1.271 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001274/1.743, allocations: 0.8144 MB / 1.271 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.743, allocations: 1.219 kB / 1.271 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002267/1.745, allocations: 0.8421 MB / 1.272 GB, free: 223.1 MB / 0.9981 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 (110): * Single equations (assignments): 108 * 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.0013/1.746, allocations: 0.5815 MB / 1.273 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003009/1.749, allocations: 1.606 MB / 1.274 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/1.749, allocations: 2.125 kB / 1.274 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009867/1.75, allocations: 0.5716 MB / 1.275 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004175/1.755, allocations: 0.8073 MB / 1.276 GB, free: 222 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00616/1.761, allocations: 4.023 MB / 1.28 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/1.762, allocations: 1.401 MB / 1.281 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002462/1.764, allocations: 454.2 kB / 1.282 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003984/1.765, allocations: 118.1 kB / 1.282 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.052e-06/1.765, allocations: 0 / 1.282 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.04087/1.806, allocations: 27.66 MB / 1.309 GB, free: 196.6 MB / 0.9981 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