Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001699/0.001699, allocations: 105.4 kB / 15.98 MB, free: 6.336 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.001578/0.001578, allocations: 197.6 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.782/2.782, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 68.42 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3845, allocations: 159.1 MB / 1.064 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 1.055/1.439, allocations: 233 MB / 1.292 GB, free: 80 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02017/1.46, allocations: 10.37 MB / 1.302 GB, free: 5.688 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0039/1.464, allocations: 51.69 kB / 1.302 GB, free: 5.637 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004101/1.468, allocations: 1.058 MB / 1.303 GB, free: 4.574 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01247/1.48, allocations: 3.446 MB / 1.306 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006849/1.487, allocations: 1.903 MB / 1.308 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.008546/1.496, allocations: 4.447 MB / 1.312 GB, free: 10.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003233/1.499, allocations: 1.536 MB / 1.314 GB, free: 9.195 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004448/1.503, allocations: 1.623 MB / 1.316 GB, free: 7.566 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004349/1.508, allocations: 1.581 MB / 1.317 GB, free: 5.988 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004494/1.508, allocations: 184 kB / 1.317 GB, free: 5.809 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009078/1.517, allocations: 3.374 MB / 1.321 GB, free: 2.426 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001707/1.519, allocations: 0.7089 MB / 1.321 GB, free: 1.715 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002538/1.522, allocations: 1.061 MB / 1.322 GB, free: 0.6484 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.007259/1.529, allocations: 2.854 MB / 1.325 GB, free: 13.79 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.529, allocations: 0 / 1.325 GB, free: 13.79 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.463e-06/1.529, allocations: 0 / 1.325 GB, free: 13.79 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.26e-05/1.529, allocations: 0 / 1.325 GB, free: 13.79 MB / 1.045 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.007257/1.536, allocations: 2.498 MB / 1.327 GB, free: 11.23 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/1.536, allocations: 12.03 kB / 1.327 GB, free: 11.22 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003753/1.54, allocations: 0.5128 MB / 1.328 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/1.543, allocations: 1.232 MB / 1.329 GB, free: 9.418 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/1.543, allocations: 99.47 kB / 1.329 GB, free: 9.32 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002579/1.543, allocations: 147.9 kB / 1.329 GB, free: 9.176 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003646/1.547, allocations: 1.67 MB / 1.331 GB, free: 7.438 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/1.547, allocations: 3.938 kB / 1.331 GB, free: 7.434 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/1.547, allocations: 55.98 kB / 1.331 GB, free: 7.379 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/1.547, allocations: 66.58 kB / 1.331 GB, free: 7.312 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002986/1.55, allocations: 1.451 MB / 1.333 GB, free: 5.855 MB / 1.045 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.01162/1.562, allocations: 6.962 MB / 1.339 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/1.564, allocations: 1.188 MB / 1.341 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/1.565, allocations: 0.6199 MB / 1.341 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/1.567, allocations: 0.8672 MB / 1.342 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/1.568, allocations: 0.604 MB / 1.343 GB, free: 10.92 MB / 1.061 GB Notification: Performance of pre-optimization done (n=110): time 4.969e-06/1.568, allocations: 0 / 1.343 GB, free: 10.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=110): time 0.003945/1.572, allocations: 1.572 MB / 1.344 GB, free: 9.344 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.803e-05/1.572, allocations: 90.05 kB / 1.344 GB, free: 9.234 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/1.574, allocations: 1.203 MB / 1.345 GB, free: 8.012 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/1.574, allocations: 45.7 kB / 1.345 GB, free: 7.961 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008325/1.575, allocations: 0.6698 MB / 1.346 GB, free: 7.285 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005498/1.575, allocations: 390.4 kB / 1.346 GB, free: 6.898 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003529/1.576, allocations: 178.6 kB / 1.347 GB, free: 6.719 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002399/1.576, allocations: 341.9 kB / 1.347 GB, free: 6.379 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008878/1.577, allocations: 432.6 kB / 1.347 GB, free: 5.953 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/1.578, allocations: 0.5556 MB / 1.348 GB, free: 5.363 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/1.58, allocations: 1.02 MB / 1.349 GB, free: 4.309 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.58, allocations: 4 kB / 1.349 GB, free: 4.305 MB / 1.061 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002771/1.583, allocations: 1.21 MB / 1.35 GB, free: 3.086 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/1.583, allocations: 8 kB / 1.35 GB, free: 3.078 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/1.583, allocations: 0 / 1.35 GB, free: 3.078 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-05/1.583, allocations: 12.25 kB / 1.35 GB, free: 3.066 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/1.584, allocations: 219.7 kB / 1.35 GB, free: 2.852 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.158e-05/1.584, allocations: 11.98 kB / 1.35 GB, free: 2.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/1.586, allocations: 178.9 kB / 1.351 GB, free: 2.664 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/1.586, allocations: 36 kB / 1.351 GB, free: 2.629 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001771/1.588, allocations: 0.744 MB / 1.351 GB, free: 1.879 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001036/1.589, allocations: 0.5439 MB / 1.352 GB, free: 1.301 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001978/1.591, allocations: 0.9893 MB / 1.353 GB, free: 288 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.224e-06/1.591, allocations: 4 kB / 1.353 GB, free: 284 kB / 1.061 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002773/1.594, allocations: 1.195 MB / 1.354 GB, free: 15.07 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/1.594, allocations: 5.875 kB / 1.354 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/1.594, allocations: 8.297 kB / 1.354 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/1.594, allocations: 11.94 kB / 1.354 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/1.595, allocations: 211.7 kB / 1.354 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.053e-05/1.595, allocations: 15.92 kB / 1.354 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/1.597, allocations: 160.4 kB / 1.354 GB, free: 14.67 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/1.597, allocations: 36 kB / 1.354 GB, free: 14.63 MB / 1.076 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 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004553/1.597, allocations: 244 kB / 1.355 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005589/1.598, allocations: 150.2 kB / 1.355 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003061/1.601, allocations: 1.237 MB / 1.356 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/1.601, allocations: 15.94 kB / 1.356 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/1.601, allocations: 0 / 1.356 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00201/1.603, allocations: 1.011 MB / 1.357 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007454/1.61, allocations: 3.163 MB / 1.36 GB, free: 8.668 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/1.61, allocations: 4 kB / 1.36 GB, free: 8.664 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/1.612, allocations: 231.7 kB / 1.36 GB, free: 8.438 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.469e-05/1.612, allocations: 4.312 kB / 1.36 GB, free: 8.434 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/1.612, allocations: 35.98 kB / 1.36 GB, free: 8.398 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.33e-05/1.612, allocations: 4 kB / 1.36 GB, free: 8.395 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.612, allocations: 7.938 kB / 1.36 GB, free: 8.387 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003939/1.616, allocations: 1.911 MB / 1.362 GB, free: 6.43 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/1.617, allocations: 362.9 kB / 1.363 GB, free: 6.055 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004826/1.618, allocations: 24 kB / 1.363 GB, free: 6.031 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/1.619, allocations: 107.8 kB / 1.363 GB, free: 5.926 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/1.619, allocations: 72.84 kB / 1.363 GB, free: 5.852 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/1.62, allocations: 39.98 kB / 1.363 GB, free: 5.812 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001833/1.621, allocations: 0.8259 MB / 1.364 GB, free: 4.984 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.7e-07/1.621, allocations: 3.938 kB / 1.364 GB, free: 4.98 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003358/1.625, allocations: 0.8377 MB / 1.364 GB, free: 4.141 MB / 1.076 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002444/1.627, allocations: 0.5899 MB / 1.365 GB, free: 3.711 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004635/1.632, allocations: 1.862 MB / 1.367 GB, free: 1.852 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/1.632, allocations: 4 kB / 1.367 GB, free: 1.848 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/1.633, allocations: 0.5638 MB / 1.367 GB, free: 1.285 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005001/1.638, allocations: 0.8695 MB / 1.368 GB, free: 452 kB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008509/1.647, allocations: 4.063 MB / 1.372 GB, free: 12.31 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001795/1.648, allocations: 1.368 MB / 1.373 GB, free: 10.91 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007109/1.649, allocations: 119.4 kB / 1.374 GB, free: 10.8 MB / 1.092 GB Notification: Performance of SimCode: time 1.453e-06/1.649, allocations: 0 / 1.374 GB, free: 10.8 MB / 1.092 GB Notification: Performance of Templates: time 0.05529/1.704, allocations: 25.28 MB / 1.398 GB, free: 1.684 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches