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.001152/0.001152, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001283/0.001283, allocations: 168.7 kB / 15.95 MB, free: 200 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.638/1.638, allocations: 223.2 MB / 240 MB, free: 5.43 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.767/2.767, allocations: 390.9 MB / 0.666 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003815, allocations: 8 kB / 0.8153 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138/1.138, allocations: 142.4 MB / 0.9544 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.2938/1.432, allocations: 215 MB / 1.164 GB, free: 7.887 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02374/1.456, allocations: 9.791 MB / 1.174 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004682/1.461, allocations: 55.62 kB / 1.174 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003824/1.465, allocations: 0.8079 MB / 1.175 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01035/1.475, allocations: 2.655 MB / 1.177 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.008716/1.484, allocations: 1.44 MB / 1.179 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01354/1.497, allocations: 5.281 MB / 1.184 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004167/1.502, allocations: 1.182 MB / 1.185 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005065/1.507, allocations: 1.354 MB / 1.186 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003934/1.511, allocations: 1.405 MB / 1.188 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0007861/1.512, allocations: 76 kB / 1.188 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006845/1.519, allocations: 1.617 MB / 1.19 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001519/1.52, allocations: 0.5724 MB / 1.19 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001497/1.522, allocations: 408.7 kB / 1.19 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005821/1.527, allocations: 2.58 MB / 1.193 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/1.527, allocations: 0 / 1.193 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.996e-06/1.528, allocations: 0 / 1.193 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001412/1.528, allocations: 0 / 1.193 GB, free: 10.57 MB / 0.9512 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.007012/1.535, allocations: 2.143 MB / 1.195 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/1.535, allocations: 8.031 kB / 1.195 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004227/1.539, allocations: 0.5245 MB / 1.196 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003901/1.543, allocations: 1.179 MB / 1.197 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/1.543, allocations: 102.6 kB / 1.197 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005546/1.544, allocations: 136 kB / 1.197 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004478/1.548, allocations: 1.666 MB / 1.199 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.657e-05/1.548, allocations: 7.844 kB / 1.199 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000214/1.548, allocations: 56 kB / 1.199 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/1.549, allocations: 70.58 kB / 1.199 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003326/1.552, allocations: 1.447 MB / 1.2 GB, free: 3.051 MB / 0.9512 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.01152/1.563, allocations: 6.973 MB / 1.207 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/1.566, allocations: 1.202 MB / 1.208 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/1.567, allocations: 0.6084 MB / 1.209 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009215/1.568, allocations: 0.8633 MB / 1.21 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001186/1.569, allocations: 0.6102 MB / 1.21 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=110): time 3.686e-06/1.569, allocations: 0 / 1.21 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of matching and sorting (n=110): time 0.003359/1.572, allocations: 1.576 MB / 1.212 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/1.572, allocations: 86.11 kB / 1.212 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/1.574, allocations: 1.186 MB / 1.213 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001269/1.575, allocations: 45.7 kB / 1.213 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007466/1.575, allocations: 0.6788 MB / 1.214 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005059/1.576, allocations: 390.3 kB / 1.214 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/1.576, allocations: 16 kB / 1.214 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001651/1.576, allocations: 349.9 kB / 1.214 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000778/1.577, allocations: 417.8 kB / 1.215 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008758/1.578, allocations: 0.5596 MB / 1.215 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009025/1.579, allocations: 498.9 kB / 1.216 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.579, allocations: 0 / 1.216 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002384/1.581, allocations: 1.222 MB / 1.217 GB, free: 1 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/1.581, allocations: 159.4 kB / 1.217 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/1.581, allocations: 7.984 kB / 1.217 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/1.581, allocations: 8 kB / 1.217 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000954/1.582, allocations: 215.7 kB / 1.217 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.689e-05/1.582, allocations: 11.94 kB / 1.217 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/1.584, allocations: 179 kB / 1.218 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/1.584, allocations: 39.98 kB / 1.218 GB, free: 368 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/1.584, allocations: 4 kB / 1.218 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001785/1.586, allocations: 1.039 MB / 1.219 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/1.586, allocations: 4 kB / 1.219 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.586, allocations: 7.953 kB / 1.219 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008713/1.587, allocations: 211.7 kB / 1.219 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/1.587, allocations: 8 kB / 1.219 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/1.588, allocations: 187.1 kB / 1.219 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/1.588, allocations: 36 kB / 1.219 GB, free: 14.86 MB / 0.9825 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.001003/1.59, allocations: 497 kB / 1.219 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004516/1.59, allocations: 146.2 kB / 1.22 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/1.592, allocations: 1.243 MB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/1.592, allocations: 19.94 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.592, allocations: 0 / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00165/1.594, allocations: 1.015 MB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005849/1.6, allocations: 3.17 MB / 1.225 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/1.6, allocations: 4.312 kB / 1.225 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/1.601, allocations: 235.7 kB / 1.225 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.805e-05/1.601, allocations: 4 kB / 1.225 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-05/1.601, allocations: 28 kB / 1.225 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/1.601, allocations: 11.94 kB / 1.225 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.601, allocations: 4 kB / 1.225 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003581/1.605, allocations: 1.919 MB / 1.227 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/1.606, allocations: 355 kB / 1.227 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005556/1.607, allocations: 24 kB / 1.227 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/1.609, allocations: 121.4 kB / 1.228 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/1.609, allocations: 76.88 kB / 1.228 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/1.609, allocations: 39.98 kB / 1.228 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001993/1.611, allocations: 0.8141 MB / 1.228 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.6e-07/1.611, allocations: 0 / 1.228 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00379/1.615, allocations: 0.8415 MB / 1.229 GB, free: 4.102 MB / 0.9825 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.002021/1.617, allocations: 0.5892 MB / 1.23 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003443/1.621, allocations: 1.604 MB / 1.231 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.621, allocations: 0 / 1.231 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/1.622, allocations: 0.5729 MB / 1.232 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00452/1.626, allocations: 0.822 MB / 1.233 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007607/1.634, allocations: 4.024 MB / 1.237 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/1.635, allocations: 1.364 MB / 1.238 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002388/1.638, allocations: 455.6 kB / 1.238 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005545/1.638, allocations: 115.4 kB / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of SimCode: time 1.282e-06/1.638, allocations: 0 / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of Templates: time 0.7244/2.363, allocations: 27.69 MB / 1.266 GB, free: 275 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches