Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 214.3 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.652/1.652, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.815/3.815, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003828/0.003828, allocations: 70.17 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5646/0.5684, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.06298/0.6314, allocations: 49.32 MB / 1.412 GB, free: 12.1 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02316/0.6545, allocations: 10.68 MB / 1.422 GB, free: 1.391 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004722/0.6593, allocations: 83.31 kB / 1.423 GB, free: 1.309 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004199/0.6635, allocations: 0.7605 MB / 1.423 GB, free: 0.543 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01113/0.6746, allocations: 2.302 MB / 1.426 GB, free: 14.23 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.006353/0.681, allocations: 1.405 MB / 1.427 GB, free: 12.84 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.008891/0.6898, allocations: 4.002 MB / 1.431 GB, free: 8.828 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002981/0.6928, allocations: 1.007 MB / 1.432 GB, free: 7.785 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005516/0.6983, allocations: 1.689 MB / 1.433 GB, free: 6.098 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00298/0.7013, allocations: 1.05 MB / 1.434 GB, free: 5.043 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0006838/0.702, allocations: 136 kB / 1.435 GB, free: 4.91 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003672/0.7057, allocations: 0.8695 MB / 1.435 GB, free: 4.039 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000896/0.7066, allocations: 462.2 kB / 1.436 GB, free: 3.586 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002055/0.7086, allocations: 0.6881 MB / 1.437 GB, free: 2.895 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006527/0.7152, allocations: 2.616 MB / 1.439 GB, free: 276 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.7152, allocations: 0 / 1.439 GB, free: 276 kB / 1.123 GB Notification: Performance of FrontEnd: time 1.788e-05/0.7152, allocations: 0 / 1.439 GB, free: 276 kB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001046/0.7153, allocations: 0 / 1.439 GB, free: 276 kB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.006122/0.7214, allocations: 1.995 MB / 1.441 GB, free: 14.23 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.7215, allocations: 12.03 kB / 1.441 GB, free: 14.22 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003736/0.7252, allocations: 0.5773 MB / 1.442 GB, free: 13.64 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003574/0.7288, allocations: 1.363 MB / 1.443 GB, free: 12.23 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/0.729, allocations: 141.4 kB / 1.443 GB, free: 12.09 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002808/0.7293, allocations: 96 kB / 1.443 GB, free: 11.99 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003839/0.7331, allocations: 1.504 MB / 1.445 GB, free: 10.41 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.425e-05/0.7331, allocations: 0 / 1.445 GB, free: 10.41 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.7333, allocations: 43.94 kB / 1.445 GB, free: 10.37 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.42e-05/0.7333, allocations: 24 kB / 1.445 GB, free: 10.35 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004136/0.7375, allocations: 1.425 MB / 1.446 GB, free: 8.926 MB / 1.139 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.009401/0.7469, allocations: 4.164 MB / 1.45 GB, free: 4.668 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003068/0.7499, allocations: 1.028 MB / 1.451 GB, free: 3.633 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/0.7516, allocations: 0.5722 MB / 1.452 GB, free: 3.059 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004392/0.7521, allocations: 96.44 kB / 1.452 GB, free: 2.961 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002033/0.7541, allocations: 0.8242 MB / 1.453 GB, free: 2.086 MB / 1.139 GB Notification: Performance of pre-optimization done (n=60): time 3.086e-06/0.7541, allocations: 3.938 kB / 1.453 GB, free: 2.082 MB / 1.139 GB Notification: Performance of matching and sorting (n=60): time 0.005615/0.7597, allocations: 1.749 MB / 1.454 GB, free: 340 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.7598, allocations: 55.91 kB / 1.454 GB, free: 268 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/0.7619, allocations: 1.228 MB / 1.456 GB, free: 15.02 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.761e-05/0.762, allocations: 37.7 kB / 1.456 GB, free: 14.98 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007599/0.7628, allocations: 0.6849 MB / 1.456 GB, free: 14.29 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.7631, allocations: 214.1 kB / 1.456 GB, free: 14.08 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003129/0.7634, allocations: 166.5 kB / 1.457 GB, free: 13.91 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.7636, allocations: 341.9 kB / 1.457 GB, free: 13.57 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/0.7654, allocations: 0.5484 MB / 1.458 GB, free: 13.03 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002125/0.7675, allocations: 1.01 MB / 1.458 GB, free: 11.88 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003452/0.771, allocations: 1.19 MB / 1.46 GB, free: 10.63 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.771, allocations: 0 / 1.46 GB, free: 10.63 MB / 1.154 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004394/0.7754, allocations: 1.425 MB / 1.461 GB, free: 9.199 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.7754, allocations: 8 kB / 1.461 GB, free: 9.191 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-05/0.7754, allocations: 7.938 kB / 1.461 GB, free: 9.184 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.442e-05/0.7755, allocations: 12.38 kB / 1.461 GB, free: 9.172 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.7768, allocations: 255.6 kB / 1.461 GB, free: 8.922 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.127e-05/0.7768, allocations: 11.94 kB / 1.461 GB, free: 8.91 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.7782, allocations: 155.4 kB / 1.461 GB, free: 8.758 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.955e-05/0.7783, allocations: 43.97 kB / 1.462 GB, free: 8.715 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,onOff.pulseStart,$PRE.onOff.pulseStart,onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0009169/0.7792, allocations: 357.5 kB / 1.462 GB, free: 8.355 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/0.7795, allocations: 131.2 kB / 1.462 GB, free: 8.227 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004011/0.7835, allocations: 1.415 MB / 1.463 GB, free: 6.793 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-05/0.7835, allocations: 8 kB / 1.463 GB, free: 6.785 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.7835, allocations: 0 / 1.463 GB, free: 6.785 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003453/0.787, allocations: 1.269 MB / 1.465 GB, free: 5.484 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006317/0.7933, allocations: 2.619 MB / 1.467 GB, free: 2.805 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.7933, allocations: 4 kB / 1.467 GB, free: 2.801 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.7945, allocations: 203.9 kB / 1.467 GB, free: 2.602 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/0.7945, allocations: 4 kB / 1.467 GB, free: 2.598 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.8e-05/0.7945, allocations: 27.97 kB / 1.467 GB, free: 2.57 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.7946, allocations: 4 kB / 1.467 GB, free: 2.566 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.7946, allocations: 7.938 kB / 1.467 GB, free: 2.559 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005841/0.8004, allocations: 2.223 MB / 1.47 GB, free: 304 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007065/0.8011, allocations: 262.8 kB / 1.47 GB, free: 40 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.8013, allocations: 15.98 kB / 1.47 GB, free: 24 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.8024, allocations: 107.9 kB / 1.47 GB, free: 15.92 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.8026, allocations: 60.28 kB / 1.47 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.8027, allocations: 35.95 kB / 1.47 GB, free: 15.82 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001358/0.804, allocations: 0.8371 MB / 1.471 GB, free: 14.98 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.31e-07/0.804, allocations: 7.938 kB / 1.471 GB, free: 14.98 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001649/0.8057, allocations: 478.8 kB / 1.471 GB, free: 14.51 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,onOff.y,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * 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.0008802/0.8065, allocations: 433.4 kB / 1.472 GB, free: 14.08 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003701/0.8102, allocations: 1.243 MB / 1.473 GB, free: 12.84 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.8102, allocations: 4.125 kB / 1.473 GB, free: 12.83 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001902/0.8122, allocations: 0.6355 MB / 1.474 GB, free: 12.2 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.8147, allocations: 0.568 MB / 1.474 GB, free: 11.64 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005847/0.8205, allocations: 2.656 MB / 1.477 GB, free: 8.926 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007712/0.8213, allocations: 0.6318 MB / 1.477 GB, free: 8.262 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001126/0.8224, allocations: 283.7 kB / 1.478 GB, free: 7.984 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003995/0.8228, allocations: 115.4 kB / 1.478 GB, free: 7.871 MB / 1.17 GB Notification: Performance of SimCode: time 3.7e-07/0.8228, allocations: 0 / 1.478 GB, free: 7.871 MB / 1.17 GB Notification: Performance of Templates: time 0.05425/0.8771, allocations: 28.85 MB / 1.506 GB, free: 11.52 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.00969916023314]