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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001119/0.001119, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001652/0.001652, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.592/1.592, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.011/3.011, allocations: 482.2 MB / 0.7548 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 68.38 kB / 0.9238 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351/1.353, allocations: 162.2 MB / 1.082 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.34/1.693, allocations: 233.1 MB / 1.31 GB, free: 5.605 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01965/1.713, allocations: 10.37 MB / 1.32 GB, free: 11.21 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003608/1.717, allocations: 51.69 kB / 1.32 GB, free: 11.16 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003987/1.721, allocations: 1.061 MB / 1.321 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01184/1.733, allocations: 3.435 MB / 1.324 GB, free: 6.645 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.007713/1.74, allocations: 1.896 MB / 1.326 GB, free: 4.754 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01104/1.751, allocations: 4.455 MB / 1.331 GB, free: 292 kB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004312/1.756, allocations: 1.543 MB / 1.332 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007049/1.763, allocations: 1.884 MB / 1.334 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005695/1.769, allocations: 1.565 MB / 1.335 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0008914/1.77, allocations: 184 kB / 1.336 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01669/1.786, allocations: 3.37 MB / 1.339 GB, free: 7.695 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.003117/1.79, allocations: 0.7011 MB / 1.34 GB, free: 6.992 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0043/1.794, allocations: 1.062 MB / 1.341 GB, free: 5.926 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.009787/1.804, allocations: 2.861 MB / 1.343 GB, free: 3.059 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/1.804, allocations: 0 / 1.343 GB, free: 3.059 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.886e-06/1.804, allocations: 0 / 1.343 GB, free: 3.059 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001132/1.804, allocations: 0 / 1.343 GB, free: 3.059 MB / 1.061 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.01267/1.817, allocations: 2.486 MB / 1.346 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/1.817, allocations: 8.031 kB / 1.346 GB, free: 0.5078 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007065/1.824, allocations: 0.5246 MB / 1.346 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005123/1.829, allocations: 1.228 MB / 1.348 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002158/1.829, allocations: 102.7 kB / 1.348 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006752/1.83, allocations: 136 kB / 1.348 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006697/1.837, allocations: 1.673 MB / 1.349 GB, free: 12.72 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.851e-05/1.837, allocations: 7.906 kB / 1.349 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003224/1.837, allocations: 63.98 kB / 1.349 GB, free: 12.65 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001816/1.837, allocations: 74.5 kB / 1.35 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005715/1.843, allocations: 1.439 MB / 1.351 GB, free: 11.13 MB / 1.076 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.01987/1.863, allocations: 7.044 MB / 1.358 GB, free: 3.609 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003686/1.867, allocations: 1.199 MB / 1.359 GB, free: 2.367 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001847/1.869, allocations: 0.6128 MB / 1.36 GB, free: 1.758 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001599/1.87, allocations: 0.8594 MB / 1.36 GB, free: 0.7148 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001942/1.872, allocations: 0.6063 MB / 1.361 GB, free: 100 kB / 1.076 GB Notification: Performance of pre-optimization done (n=110): time 4.949e-06/1.872, allocations: 0 / 1.361 GB, free: 100 kB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.006108/1.878, allocations: 1.576 MB / 1.363 GB, free: 14.52 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.878, allocations: 94.09 kB / 1.363 GB, free: 14.41 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003419/1.882, allocations: 1.187 MB / 1.364 GB, free: 13.2 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002013/1.882, allocations: 49.7 kB / 1.364 GB, free: 13.14 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001149/1.883, allocations: 0.6815 MB / 1.365 GB, free: 12.46 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007542/1.884, allocations: 390.3 kB / 1.365 GB, free: 12.07 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005284/1.885, allocations: 170.7 kB / 1.365 GB, free: 11.9 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002489/1.885, allocations: 349.9 kB / 1.365 GB, free: 11.55 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/1.886, allocations: 424.6 kB / 1.366 GB, free: 11.13 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/1.888, allocations: 0.5557 MB / 1.366 GB, free: 10.54 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003254/1.891, allocations: 1.005 MB / 1.367 GB, free: 9.5 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.892, allocations: 4 kB / 1.367 GB, free: 9.496 MB / 1.092 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004686/1.896, allocations: 1.222 MB / 1.368 GB, free: 8.266 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/1.896, allocations: 4 kB / 1.369 GB, free: 8.262 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/1.896, allocations: 4 kB / 1.369 GB, free: 8.258 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.114e-05/1.896, allocations: 11.94 kB / 1.369 GB, free: 8.246 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/1.898, allocations: 216 kB / 1.369 GB, free: 8.035 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.206e-05/1.898, allocations: 19.88 kB / 1.369 GB, free: 8.016 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003559/1.902, allocations: 182.8 kB / 1.369 GB, free: 7.836 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/1.902, allocations: 39.98 kB / 1.369 GB, free: 7.797 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00303/1.905, allocations: 0.7323 MB / 1.37 GB, free: 7.062 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001676/1.907, allocations: 0.5401 MB / 1.37 GB, free: 6.488 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003295/1.91, allocations: 0.9932 MB / 1.371 GB, free: 5.461 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.568e-06/1.91, allocations: 4 kB / 1.371 GB, free: 5.457 MB / 1.092 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.004844/1.915, allocations: 1.195 MB / 1.372 GB, free: 4.254 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/1.915, allocations: 10.19 kB / 1.372 GB, free: 4.246 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.915, allocations: 0 / 1.372 GB, free: 4.246 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/1.915, allocations: 8 kB / 1.372 GB, free: 4.238 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/1.917, allocations: 219.9 kB / 1.373 GB, free: 4.023 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.208e-05/1.917, allocations: 11.94 kB / 1.373 GB, free: 4.012 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003106/1.92, allocations: 163.2 kB / 1.373 GB, free: 3.852 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/1.92, allocations: 36.09 kB / 1.373 GB, free: 3.816 MB / 1.092 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.0007613/1.921, allocations: 246.2 kB / 1.373 GB, free: 3.57 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009703/1.922, allocations: 150.2 kB / 1.373 GB, free: 3.422 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005306/1.928, allocations: 1.25 MB / 1.374 GB, free: 2.16 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.23e-05/1.928, allocations: 12 kB / 1.374 GB, free: 2.148 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/1.928, allocations: 0 / 1.374 GB, free: 2.148 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003537/1.931, allocations: 1.003 MB / 1.375 GB, free: 1.133 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/1.944, allocations: 3.17 MB / 1.378 GB, free: 13.84 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/1.944, allocations: 0 / 1.378 GB, free: 13.84 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002275/1.946, allocations: 231.6 kB / 1.379 GB, free: 13.61 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.649e-05/1.946, allocations: 8 kB / 1.379 GB, free: 13.6 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001537/1.946, allocations: 31.98 kB / 1.379 GB, free: 13.57 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-05/1.946, allocations: 4 kB / 1.379 GB, free: 13.57 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/1.946, allocations: 12.25 kB / 1.379 GB, free: 13.55 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006166/1.952, allocations: 1.899 MB / 1.381 GB, free: 11.61 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/1.954, allocations: 362.9 kB / 1.381 GB, free: 11.23 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000552/1.954, allocations: 27.98 kB / 1.381 GB, free: 11.2 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002472/1.957, allocations: 112.6 kB / 1.381 GB, free: 11.09 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002983/1.957, allocations: 80.84 kB / 1.381 GB, free: 11.02 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/1.957, allocations: 39.98 kB / 1.381 GB, free: 10.98 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002579/1.96, allocations: 0.8219 MB / 1.382 GB, free: 10.15 MB / 1.107 GB Notification: Performance of sort global known variables: time 4.11e-07/1.96, allocations: 0 / 1.382 GB, free: 10.15 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.004164/1.964, allocations: 0.8416 MB / 1.383 GB, free: 9.309 MB / 1.107 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.00328/1.968, allocations: 0.5675 MB / 1.383 GB, free: 8.898 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.007417/1.975, allocations: 1.862 MB / 1.385 GB, free: 7.039 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.975, allocations: 0 / 1.385 GB, free: 7.039 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001939/1.977, allocations: 0.5757 MB / 1.386 GB, free: 6.465 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008517/1.986, allocations: 0.8849 MB / 1.387 GB, free: 5.605 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/1.998, allocations: 4.055 MB / 1.391 GB, free: 1.477 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002185/2, allocations: 1.364 MB / 1.392 GB, free: 84 kB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/2.001, allocations: 119.5 kB / 1.392 GB, free: 15.96 MB / 1.123 GB Notification: Performance of SimCode: time 1.683e-06/2.001, allocations: 0 / 1.392 GB, free: 15.96 MB / 1.123 GB Notification: Performance of Templates: time 0.08009/2.081, allocations: 25.28 MB / 1.417 GB, free: 6.84 MB / 1.139 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches