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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009189/0.0009187, allocations: 100.1 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.000947/0.0009471, allocations: 177.3 kB / 15.95 MB, free: 216 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.319/1.319, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.355/2.355, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002967, allocations: 12 kB / 0.8145 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6299/0.6302, allocations: 142.3 MB / 0.9535 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.2015/0.8317, allocations: 193.5 MB / 1.143 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01593/0.8477, allocations: 10.34 MB / 1.153 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002323/0.8501, allocations: 55.69 kB / 1.153 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004536/0.8546, allocations: 1.058 MB / 1.154 GB, free: 2.656 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009734/0.8644, allocations: 2.971 MB / 1.157 GB, free: 15.68 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004862/0.8693, allocations: 1.591 MB / 1.158 GB, free: 14.11 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004893/0.8742, allocations: 2.538 MB / 1.161 GB, free: 11.56 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002132/0.8763, allocations: 1.202 MB / 1.162 GB, free: 10.33 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002659/0.879, allocations: 1.25 MB / 1.163 GB, free: 9.078 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/0.8808, allocations: 0.9377 MB / 1.164 GB, free: 8.137 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003942/0.8812, allocations: 76 kB / 1.164 GB, free: 8.062 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003901/0.8851, allocations: 1.353 MB / 1.165 GB, free: 6.707 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0008298/0.886, allocations: 0.5336 MB / 1.166 GB, free: 6.172 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008296/0.8868, allocations: 404.8 kB / 1.166 GB, free: 5.77 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00342/0.8903, allocations: 2.369 MB / 1.169 GB, free: 3.395 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.8903, allocations: 0 / 1.169 GB, free: 3.395 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8903, allocations: 0 / 1.169 GB, free: 3.395 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.779e-05/0.8904, allocations: 0 / 1.169 GB, free: 3.395 MB / 0.92 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.005184/0.8956, allocations: 2.093 MB / 1.171 GB, free: 1.246 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.8956, allocations: 8.031 kB / 1.171 GB, free: 1.238 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003672/0.8993, allocations: 0.5361 MB / 1.171 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/0.9019, allocations: 1.171 MB / 1.172 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.902, allocations: 102.6 kB / 1.172 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003147/0.9024, allocations: 140 kB / 1.172 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003129/0.9055, allocations: 1.65 MB / 1.174 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/0.9056, allocations: 7.906 kB / 1.174 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/0.9057, allocations: 52 kB / 1.174 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.899e-05/0.9058, allocations: 70.52 kB / 1.174 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00277/0.9086, allocations: 1.447 MB / 1.176 GB, free: 11.93 MB / 0.9356 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.00955/0.9181, allocations: 6.969 MB / 1.182 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/0.92, allocations: 1.217 MB / 1.184 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006419/0.9207, allocations: 0.697 MB / 1.184 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.9217, allocations: 0.5986 MB / 1.185 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 3.166e-06/0.9218, allocations: 0 / 1.185 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of matching and sorting (n=110): time 0.003134/0.9249, allocations: 1.576 MB / 1.186 GB, free: 212 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.925, allocations: 90.11 kB / 1.187 GB, free: 104 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/0.9267, allocations: 1.182 MB / 1.188 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.9268, allocations: 57.64 kB / 1.188 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005438/0.9274, allocations: 0.6698 MB / 1.188 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003854/0.9278, allocations: 394.2 kB / 1.189 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.9278, allocations: 20 kB / 1.189 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.928, allocations: 345.9 kB / 1.189 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007521/0.9287, allocations: 425.7 kB / 1.19 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008431/0.9296, allocations: 0.544 MB / 1.19 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008542/0.9305, allocations: 498.8 kB / 1.191 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.9305, allocations: 4 kB / 1.191 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00207/0.9325, allocations: 1.214 MB / 1.192 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.000325/0.9329, allocations: 0.9899 MB / 1.193 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.9329, allocations: 4 kB / 1.193 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.9329, allocations: 8 kB / 1.193 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009911/0.9339, allocations: 211.7 kB / 1.193 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.338e-05/0.934, allocations: 8 kB / 1.193 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.9354, allocations: 186.9 kB / 1.193 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-05/0.9355, allocations: 39.98 kB / 1.193 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.9356, allocations: 4 kB / 1.193 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001687/0.9373, allocations: 1.035 MB / 1.194 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.9373, allocations: 8.031 kB / 1.194 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.9373, allocations: 4 kB / 1.194 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009194/0.9382, allocations: 215.7 kB / 1.194 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.9383, allocations: 8 kB / 1.194 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.9397, allocations: 174.9 kB / 1.195 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.665e-05/0.9398, allocations: 40 kB / 1.195 GB, free: 7.727 MB / 0.9512 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.0008482/0.9406, allocations: 494.8 kB / 1.195 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004015/0.9411, allocations: 146.2 kB / 1.195 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.9433, allocations: 1.25 MB / 1.196 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.9434, allocations: 8 kB / 1.196 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.9434, allocations: 0 / 1.196 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001574/0.9449, allocations: 1.011 MB / 1.197 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005213/0.9502, allocations: 3.186 MB / 1.201 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.9502, allocations: 4 kB / 1.201 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.9513, allocations: 231.7 kB / 1.201 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.652e-05/0.9514, allocations: 4 kB / 1.201 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-05/0.9515, allocations: 28.31 kB / 1.201 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-05/0.9515, allocations: 15.98 kB / 1.201 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.9515, allocations: 4.047 kB / 1.201 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002928/0.9544, allocations: 2.049 MB / 1.203 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.9555, allocations: 358.9 kB / 1.203 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003733/0.9559, allocations: 31.98 kB / 1.203 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/0.9577, allocations: 113.5 kB / 1.203 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/0.958, allocations: 76.83 kB / 1.203 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.9581, allocations: 35.98 kB / 1.203 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001778/0.9599, allocations: 0.818 MB / 1.204 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9599, allocations: 0 / 1.204 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002969/0.9629, allocations: 0.8338 MB / 1.205 GB, free: 12.75 MB / 0.9669 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.001852/0.9648, allocations: 0.5938 MB / 1.206 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004144/0.9689, allocations: 1.607 MB / 1.207 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/0.969, allocations: 9.109 kB / 1.207 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.9704, allocations: 0.5684 MB / 1.208 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005515/0.9759, allocations: 0.8125 MB / 1.208 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009464/0.9854, allocations: 4.02 MB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00181/0.9873, allocations: 1.403 MB / 1.214 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.003331/0.9906, allocations: 455.6 kB / 1.214 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005909/0.9912, allocations: 111.4 kB / 1.214 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of SimCode: time 1.242e-06/0.9912, allocations: 0 / 1.214 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of Templates: time 0.05089/1.042, allocations: 27.66 MB / 1.241 GB, free: 7.969 MB / 0.9981 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