Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001442/0.001442, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002067/0.002067, allocations: 219 kB / 22.26 MB, free: 5.082 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.648/1.648, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.747/3.747, allocations: 0.4899 GB / 0.795 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002196/0.002196, allocations: 69.83 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4685/0.4707, allocations: 176.1 MB / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.06953/0.5402, allocations: 54.69 MB / 1.38 GB, free: 10.55 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02142/0.5616, allocations: 11.57 MB / 1.391 GB, free: 14.96 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003412/0.565, allocations: 87.31 kB / 1.391 GB, free: 14.88 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002952/0.568, allocations: 0.7879 MB / 1.392 GB, free: 14.08 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008989/0.577, allocations: 2.325 MB / 1.394 GB, free: 11.75 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004953/0.5819, allocations: 1.436 MB / 1.396 GB, free: 10.32 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.008741/0.5907, allocations: 4.034 MB / 1.399 GB, free: 6.281 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002603/0.5933, allocations: 1.003 MB / 1.4 GB, free: 5.238 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005904/0.5992, allocations: 1.668 MB / 1.402 GB, free: 3.57 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002939/0.6021, allocations: 1.136 MB / 1.403 GB, free: 2.43 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003807/0.6025, allocations: 140 kB / 1.403 GB, free: 2.293 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003707/0.6062, allocations: 1.131 MB / 1.404 GB, free: 1.16 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007198/0.6069, allocations: 466.2 kB / 1.405 GB, free: 0.7031 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.6086, allocations: 0.8553 MB / 1.406 GB, free: 15.84 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.006063/0.6147, allocations: 2.666 MB / 1.408 GB, free: 13.17 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.6147, allocations: 0 / 1.408 GB, free: 13.17 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6147, allocations: 3.938 kB / 1.408 GB, free: 13.16 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.295e-05/0.6147, allocations: 0 / 1.408 GB, free: 13.16 MB / 1.107 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.004895/0.6196, allocations: 2.003 MB / 1.41 GB, free: 11.12 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.6197, allocations: 8.031 kB / 1.41 GB, free: 11.11 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003745/0.6234, allocations: 0.5813 MB / 1.411 GB, free: 10.53 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003269/0.6267, allocations: 1.356 MB / 1.412 GB, free: 9.129 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.6269, allocations: 145.4 kB / 1.412 GB, free: 8.977 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.6271, allocations: 103.9 kB / 1.412 GB, free: 8.875 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0034/0.6305, allocations: 1.35 MB / 1.414 GB, free: 7.488 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/0.6305, allocations: 4 kB / 1.414 GB, free: 7.484 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.6306, allocations: 36 kB / 1.414 GB, free: 7.449 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.351e-05/0.6307, allocations: 24 kB / 1.414 GB, free: 7.426 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003975/0.6346, allocations: 1.425 MB / 1.415 GB, free: 6 MB / 1.107 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.01009/0.6447, allocations: 5.3 MB / 1.42 GB, free: 472 kB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003018/0.6477, allocations: 1.037 MB / 1.421 GB, free: 15.41 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/0.6495, allocations: 0.569 MB / 1.422 GB, free: 14.84 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004243/0.6499, allocations: 104.3 kB / 1.422 GB, free: 14.74 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001815/0.6517, allocations: 0.6658 MB / 1.423 GB, free: 14.07 MB / 1.123 GB Notification: Performance of pre-optimization done (n=60): time 3.146e-06/0.6517, allocations: 3.938 kB / 1.423 GB, free: 14.06 MB / 1.123 GB Notification: Performance of matching and sorting (n=60): time 0.00576/0.6575, allocations: 1.757 MB / 1.424 GB, free: 12.3 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.6576, allocations: 59.91 kB / 1.424 GB, free: 12.23 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/0.6601, allocations: 1.421 MB / 1.426 GB, free: 10.8 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.6603, allocations: 41.7 kB / 1.426 GB, free: 10.75 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007471/0.661, allocations: 0.655 MB / 1.427 GB, free: 10.09 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/0.6613, allocations: 214.1 kB / 1.427 GB, free: 9.875 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003184/0.6616, allocations: 170.6 kB / 1.427 GB, free: 9.703 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002197/0.6618, allocations: 334 kB / 1.427 GB, free: 9.371 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.6635, allocations: 0.5523 MB / 1.428 GB, free: 8.82 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/0.6654, allocations: 0.7535 MB / 1.429 GB, free: 7.992 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003268/0.6687, allocations: 1.197 MB / 1.43 GB, free: 6.73 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.6687, allocations: 4 kB / 1.43 GB, free: 6.727 MB / 1.123 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004359/0.6731, allocations: 1.445 MB / 1.431 GB, free: 5.273 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.6731, allocations: 11.94 kB / 1.431 GB, free: 5.262 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.6731, allocations: 4 kB / 1.431 GB, free: 5.258 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.057e-05/0.6731, allocations: 8 kB / 1.431 GB, free: 5.25 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.6744, allocations: 251.8 kB / 1.431 GB, free: 5.004 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.378e-05/0.6744, allocations: 11.94 kB / 1.431 GB, free: 4.992 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.6761, allocations: 191.1 kB / 1.432 GB, free: 4.805 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-05/0.6762, allocations: 43.97 kB / 1.432 GB, free: 4.762 MB / 1.123 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.0007467/0.6769, allocations: 360.5 kB / 1.432 GB, free: 4.402 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003278/0.6773, allocations: 159 kB / 1.432 GB, free: 4.246 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004022/0.6813, allocations: 1.421 MB / 1.433 GB, free: 2.805 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/0.6813, allocations: 8 kB / 1.433 GB, free: 2.797 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.6813, allocations: 0 / 1.433 GB, free: 2.797 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003392/0.6847, allocations: 1.273 MB / 1.435 GB, free: 1.496 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006908/0.6916, allocations: 2.955 MB / 1.438 GB, free: 14.45 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/0.6916, allocations: 0 / 1.438 GB, free: 14.45 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/0.6928, allocations: 204 kB / 1.438 GB, free: 14.25 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.6928, allocations: 8 kB / 1.438 GB, free: 14.25 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.21e-05/0.6929, allocations: 27.97 kB / 1.438 GB, free: 14.22 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.6929, allocations: 8 kB / 1.438 GB, free: 14.21 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.6929, allocations: 7.938 kB / 1.438 GB, free: 14.2 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005957/0.6989, allocations: 2.253 MB / 1.44 GB, free: 11.91 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009274/0.6998, allocations: 278.7 kB / 1.44 GB, free: 11.63 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.7, allocations: 16 kB / 1.44 GB, free: 11.62 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.7013, allocations: 111.9 kB / 1.44 GB, free: 11.51 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.7014, allocations: 60.34 kB / 1.44 GB, free: 11.45 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.479e-05/0.7015, allocations: 39.95 kB / 1.441 GB, free: 11.41 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001752/0.7033, allocations: 0.9988 MB / 1.442 GB, free: 10.41 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.7033, allocations: 0 / 1.442 GB, free: 10.41 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001529/0.7048, allocations: 475 kB / 1.442 GB, free: 9.949 MB / 1.139 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.0008741/0.7057, allocations: 433 kB / 1.442 GB, free: 9.52 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003778/0.7095, allocations: 1.246 MB / 1.444 GB, free: 8.273 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.7095, allocations: 0 / 1.444 GB, free: 8.273 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001834/0.7113, allocations: 0.6281 MB / 1.444 GB, free: 7.648 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003774/0.7151, allocations: 0.7741 MB / 1.445 GB, free: 6.895 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005683/0.7208, allocations: 2.703 MB / 1.448 GB, free: 4.133 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.7218, allocations: 1.221 MB / 1.449 GB, free: 2.879 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001446/0.7232, allocations: 307.5 kB / 1.449 GB, free: 2.574 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/0.7236, allocations: 123.4 kB / 1.449 GB, free: 2.453 MB / 1.139 GB Notification: Performance of SimCode: time 1.253e-06/0.7236, allocations: 0 / 1.449 GB, free: 2.453 MB / 1.139 GB Notification: Performance of Templates: time 0.06487/0.7885, allocations: 31.14 MB / 1.48 GB, free: 3.656 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.613737164996564]