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.278/2.278, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001136/0.001136, allocations: 184.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.001028/0.001028, allocations: 99.94 kB / 0.9318 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.934e-05/2.937e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2941, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.078/5.372, allocations: 1.931 GB / 3.15 GB, free: 382.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004057/5.373, allocations: 91.95 kB / 3.15 GB, free: 382.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.667/9.04, allocations: 1.078 GB / 4.228 GB, free: 171.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.723e-06/9.04, allocations: 4 kB / 4.228 GB, free: 171.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001367/9.04, allocations: 47.98 kB / 4.228 GB, free: 171.2 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.006122/9.046, allocations: 2.161 MB / 4.23 GB, free: 169 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/9.046, allocations: 8.031 kB / 4.23 GB, free: 169 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003567/9.049, allocations: 0.5244 MB / 4.23 GB, free: 168.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/9.052, allocations: 1.26 MB / 4.232 GB, free: 167.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.483e-05/9.052, allocations: 106.7 kB / 4.232 GB, free: 167 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/9.052, allocations: 139.9 kB / 4.232 GB, free: 166.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/9.055, allocations: 1.615 MB / 4.234 GB, free: 165.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/9.055, allocations: 4 kB / 4.234 GB, free: 165.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/9.055, allocations: 56 kB / 4.234 GB, free: 165.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.514e-05/9.055, allocations: 70.08 kB / 4.234 GB, free: 165.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/9.057, allocations: 1.349 MB / 4.235 GB, free: 163.7 MB / 1.167 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.0083/9.066, allocations: 7.177 MB / 4.242 GB, free: 156.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/9.067, allocations: 1.161 MB / 4.243 GB, free: 154.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007136/9.068, allocations: 0.585 MB / 4.244 GB, free: 154.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007745/9.069, allocations: 0.871 MB / 4.245 GB, free: 153.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008555/9.069, allocations: 0.5792 MB / 4.245 GB, free: 152.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=110): time 4.138e-06/9.069, allocations: 0 / 4.245 GB, free: 152.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=110): time 0.002182/9.072, allocations: 1.12 MB / 4.246 GB, free: 151.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/9.072, allocations: 94.11 kB / 4.246 GB, free: 151.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/9.073, allocations: 1.021 MB / 4.247 GB, free: 150.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/9.073, allocations: 49.7 kB / 4.247 GB, free: 150.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005617/9.074, allocations: 0.679 MB / 4.248 GB, free: 149.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003258/9.074, allocations: 394.3 kB / 4.248 GB, free: 149.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/9.074, allocations: 22.95 kB / 4.248 GB, free: 149.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.041e-05/9.074, allocations: 345.9 kB / 4.249 GB, free: 148.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005454/9.075, allocations: 393.9 kB / 4.249 GB, free: 148.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/9.076, allocations: 0.5569 MB / 4.25 GB, free: 147.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006537/9.076, allocations: 480.7 kB / 4.25 GB, free: 147.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/9.076, allocations: 0 / 4.25 GB, free: 147.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001723/9.078, allocations: 1.179 MB / 4.251 GB, free: 146.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001945/9.078, allocations: 0.986 MB / 4.252 GB, free: 145.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.567e-06/9.078, allocations: 0 / 4.252 GB, free: 145.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-05/9.078, allocations: 8 kB / 4.252 GB, free: 145.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009592/9.079, allocations: 219.7 kB / 4.252 GB, free: 145 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/9.079, allocations: 15.94 kB / 4.252 GB, free: 145 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/9.081, allocations: 183 kB / 4.253 GB, free: 144.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/9.081, allocations: 39.98 kB / 4.253 GB, free: 144.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/9.081, allocations: 4 kB / 4.253 GB, free: 144.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001416/9.082, allocations: 1.015 MB / 4.254 GB, free: 143.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/9.083, allocations: 4 kB / 4.254 GB, free: 143.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/9.083, allocations: 11.84 kB / 4.254 GB, free: 143.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008211/9.083, allocations: 211.7 kB / 4.254 GB, free: 143.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/9.083, allocations: 8 kB / 4.254 GB, free: 143.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/9.085, allocations: 187.2 kB / 4.254 GB, free: 143.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.173e-05/9.085, allocations: 39.95 kB / 4.254 GB, free: 143.3 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 () * 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.0002745/9.085, allocations: 174.2 kB / 4.254 GB, free: 143.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/9.086, allocations: 150.2 kB / 4.254 GB, free: 143 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/9.088, allocations: 1.205 MB / 4.256 GB, free: 141.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/9.088, allocations: 16 kB / 4.256 GB, free: 141.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/9.088, allocations: 0 / 4.256 GB, free: 141.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001231/9.089, allocations: 0.9789 MB / 4.257 GB, free: 140.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004616/9.093, allocations: 3.147 MB / 4.26 GB, free: 137.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/9.094, allocations: 4 kB / 4.26 GB, free: 137.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/9.095, allocations: 240 kB / 4.26 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/9.095, allocations: 4 kB / 4.26 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.511e-05/9.095, allocations: 31.98 kB / 4.26 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-05/9.095, allocations: 15.94 kB / 4.26 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/9.095, allocations: 7.984 kB / 4.26 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/9.097, allocations: 1.991 MB / 4.262 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007454/9.098, allocations: 371 kB / 4.262 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/9.098, allocations: 27.98 kB / 4.262 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/9.099, allocations: 115.7 kB / 4.262 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/9.099, allocations: 69 kB / 4.262 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.039e-05/9.099, allocations: 43.92 kB / 4.262 GB, free: 134.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009799/9.1, allocations: 0.8005 MB / 4.263 GB, free: 133.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/9.1, allocations: 4 kB / 4.263 GB, free: 133.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002746/9.103, allocations: 1.095 MB / 4.264 GB, free: 132.5 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) * 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.003951/9.107, allocations: 2.869 MB / 4.267 GB, free: 129.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002359/9.109, allocations: 1.604 MB / 4.269 GB, free: 128 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/9.109, allocations: 5.188 kB / 4.269 GB, free: 128 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006549/9.11, allocations: 0.5294 MB / 4.269 GB, free: 127.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003942/9.114, allocations: 0.8252 MB / 4.27 GB, free: 126.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/9.118, allocations: 2.752 MB / 4.273 GB, free: 123.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006667/9.119, allocations: 1.398 MB / 4.274 GB, free: 122.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002365/9.121, allocations: 0.597 MB / 4.275 GB, free: 121.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/9.122, allocations: 95.42 kB / 4.275 GB, free: 121.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.252e-06/9.122, allocations: 0 / 4.275 GB, free: 121.7 MB / 1.167 GB Notification: Performance of Templates: time 0.08131/9.203, allocations: 65.26 MB / 4.338 GB, free: 56.59 MB / 1.167 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