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.001799/0.001799, allocations: 106.8 kB / 16.45 MB, free: 6.453 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.002011/0.002011, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.594/1.594, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.447/3.447, allocations: 0.49 GB / 0.7916 GB, free: 33.48 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.002068/0.002068, allocations: 71.12 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4131, allocations: 176.1 MB / 1.321 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.06456/0.4776, allocations: 54.18 MB / 1.374 GB, free: 12.45 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02054/0.4982, allocations: 11.52 MB / 1.385 GB, free: 0.9062 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003307/0.5015, allocations: 83.31 kB / 1.385 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002539/0.504, allocations: 0.7918 MB / 1.386 GB, free: 28 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007539/0.5116, allocations: 2.271 MB / 1.388 GB, free: 13.75 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004221/0.5158, allocations: 1.387 MB / 1.39 GB, free: 12.37 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00685/0.5226, allocations: 3.945 MB / 1.394 GB, free: 8.418 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00208/0.5247, allocations: 1.057 MB / 1.395 GB, free: 7.32 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00444/0.5292, allocations: 1.647 MB / 1.396 GB, free: 5.672 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.5313, allocations: 1.128 MB / 1.397 GB, free: 4.539 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002722/0.5316, allocations: 140 kB / 1.398 GB, free: 4.402 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.5344, allocations: 1.111 MB / 1.399 GB, free: 3.289 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005143/0.5349, allocations: 454.3 kB / 1.399 GB, free: 2.844 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.5361, allocations: 0.859 MB / 1.4 GB, free: 1.98 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004471/0.5405, allocations: 2.662 MB / 1.403 GB, free: 15.31 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5405, allocations: 0 / 1.403 GB, free: 15.31 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5405, allocations: 0 / 1.403 GB, free: 15.31 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.568e-05/0.5406, allocations: 0 / 1.403 GB, free: 15.31 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.004226/0.5448, allocations: 2.079 MB / 1.405 GB, free: 13.17 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.5449, allocations: 19.98 kB / 1.405 GB, free: 13.15 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003662/0.5485, allocations: 0.5696 MB / 1.405 GB, free: 12.58 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/0.5515, allocations: 1.431 MB / 1.407 GB, free: 11.1 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.5517, allocations: 111.7 kB / 1.407 GB, free: 10.98 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/0.5519, allocations: 99.94 kB / 1.407 GB, free: 10.89 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003376/0.5552, allocations: 1.354 MB / 1.408 GB, free: 9.496 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/0.5553, allocations: 4 kB / 1.408 GB, free: 9.492 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.5554, allocations: 39.98 kB / 1.408 GB, free: 9.453 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.352e-05/0.5554, allocations: 31.98 kB / 1.408 GB, free: 9.422 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004179/0.5596, allocations: 1.425 MB / 1.41 GB, free: 7.996 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.01039/0.57, allocations: 5.371 MB / 1.415 GB, free: 2.379 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00327/0.5733, allocations: 1.038 MB / 1.416 GB, free: 1.336 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/0.575, allocations: 0.5685 MB / 1.416 GB, free: 0.7617 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/0.5762, allocations: 1.073 MB / 1.417 GB, free: 15.45 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002025/0.5782, allocations: 0.6705 MB / 1.418 GB, free: 14.77 MB / 1.123 GB Notification: Performance of pre-optimization done (n=60): time 3.626e-06/0.5782, allocations: 0 / 1.418 GB, free: 14.77 MB / 1.123 GB Notification: Performance of matching and sorting (n=60): time 0.005964/0.5842, allocations: 1.767 MB / 1.42 GB, free: 12.99 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.5842, allocations: 55.97 kB / 1.42 GB, free: 12.93 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002823/0.587, allocations: 1.421 MB / 1.421 GB, free: 11.5 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001299/0.5872, allocations: 37.7 kB / 1.421 GB, free: 11.45 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007907/0.588, allocations: 0.655 MB / 1.422 GB, free: 10.79 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003108/0.5883, allocations: 218.1 kB / 1.422 GB, free: 10.57 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003751/0.5886, allocations: 162.6 kB / 1.422 GB, free: 10.41 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.5888, allocations: 337.9 kB / 1.423 GB, free: 10.07 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/0.5906, allocations: 0.5523 MB / 1.423 GB, free: 9.52 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/0.5926, allocations: 0.7535 MB / 1.424 GB, free: 8.691 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003573/0.5962, allocations: 1.193 MB / 1.425 GB, free: 7.43 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.5962, allocations: 4 kB / 1.425 GB, free: 7.426 MB / 1.123 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004346/0.6006, allocations: 1.441 MB / 1.426 GB, free: 5.977 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.6006, allocations: 11.94 kB / 1.426 GB, free: 5.965 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.6006, allocations: 4 kB / 1.426 GB, free: 5.961 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/0.6006, allocations: 8 kB / 1.426 GB, free: 5.953 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.602, allocations: 251.9 kB / 1.427 GB, free: 5.707 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.32e-05/0.602, allocations: 11.94 kB / 1.427 GB, free: 5.695 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.6037, allocations: 183.2 kB / 1.427 GB, free: 5.516 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.6038, allocations: 47.97 kB / 1.427 GB, free: 5.469 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.000856/0.6046, allocations: 361.5 kB / 1.427 GB, free: 5.105 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005366/0.6052, allocations: 155 kB / 1.427 GB, free: 4.953 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004408/0.6096, allocations: 1.415 MB / 1.429 GB, free: 3.531 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.6096, allocations: 8 kB / 1.429 GB, free: 3.523 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.6096, allocations: 0 / 1.429 GB, free: 3.523 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003582/0.6132, allocations: 1.263 MB / 1.43 GB, free: 2.227 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007261/0.6204, allocations: 2.977 MB / 1.433 GB, free: 15.16 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.6205, allocations: 3.938 kB / 1.433 GB, free: 15.15 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.6217, allocations: 200 kB / 1.433 GB, free: 14.96 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-05/0.6217, allocations: 4 kB / 1.433 GB, free: 14.95 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.903e-05/0.6218, allocations: 35.97 kB / 1.433 GB, free: 14.92 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.6218, allocations: 4 kB / 1.433 GB, free: 14.91 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.6218, allocations: 7.922 kB / 1.433 GB, free: 14.91 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006218/0.628, allocations: 2.235 MB / 1.435 GB, free: 12.63 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008476/0.6289, allocations: 363.9 kB / 1.436 GB, free: 12.25 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003453/0.6292, allocations: 12 kB / 1.436 GB, free: 12.24 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/0.6307, allocations: 119.9 kB / 1.436 GB, free: 12.12 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.6309, allocations: 52.44 kB / 1.436 GB, free: 12.07 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/0.631, allocations: 39.95 kB / 1.436 GB, free: 12.04 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002012/0.633, allocations: 0.9988 MB / 1.437 GB, free: 11.04 MB / 1.139 GB Notification: Performance of sort global known variables: time 8.1e-08/0.633, allocations: 0 / 1.437 GB, free: 11.04 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001745/0.6348, allocations: 463.1 kB / 1.437 GB, free: 10.59 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.001041/0.6358, allocations: 441.6 kB / 1.438 GB, free: 10.15 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004015/0.6398, allocations: 1.246 MB / 1.439 GB, free: 8.898 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.6398, allocations: 0 / 1.439 GB, free: 8.898 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001966/0.6418, allocations: 0.6246 MB / 1.44 GB, free: 8.27 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003964/0.6458, allocations: 0.7652 MB / 1.44 GB, free: 7.52 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006321/0.6521, allocations: 2.698 MB / 1.443 GB, free: 4.762 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.6534, allocations: 1.221 MB / 1.444 GB, free: 3.508 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.00136/0.6547, allocations: 311.1 kB / 1.444 GB, free: 3.203 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005149/0.6552, allocations: 127.4 kB / 1.445 GB, free: 3.078 MB / 1.139 GB Notification: Performance of SimCode: time 1.132e-06/0.6552, allocations: 0 / 1.445 GB, free: 3.078 MB / 1.139 GB Notification: Performance of Templates: time 0.05926/0.7145, allocations: 30.69 MB / 1.475 GB, free: 4.738 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: 10.885740713682026]