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.002143/0.002143, allocations: 107.6 kB / 18.95 MB, free: 2.812 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.003129/0.003129, allocations: 208.3 kB / 22.24 MB, free: 5.105 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.675/1.675, allocations: 230.6 MB / 256 MB, free: 7.793 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.577/3.577, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 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.002204/0.002204, allocations: 68.27 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.473/0.4752, allocations: 176.1 MB / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.06275/0.538, allocations: 49.31 MB / 1.374 GB, free: 352 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02231/0.5603, allocations: 10.7 MB / 1.384 GB, free: 5.621 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003022/0.5633, allocations: 83.31 kB / 1.384 GB, free: 5.539 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002398/0.5657, allocations: 0.749 MB / 1.385 GB, free: 4.785 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007466/0.5731, allocations: 2.313 MB / 1.387 GB, free: 2.465 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00427/0.5774, allocations: 1.396 MB / 1.389 GB, free: 1.078 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006773/0.5842, allocations: 4.011 MB / 1.392 GB, free: 13.06 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001933/0.5861, allocations: 1.007 MB / 1.393 GB, free: 12.02 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004658/0.5908, allocations: 1.68 MB / 1.395 GB, free: 10.34 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.5924, allocations: 1.058 MB / 1.396 GB, free: 9.273 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002306/0.5927, allocations: 136 kB / 1.396 GB, free: 9.141 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002707/0.5954, allocations: 0.8811 MB / 1.397 GB, free: 8.258 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005177/0.5959, allocations: 462.3 kB / 1.398 GB, free: 7.805 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008973/0.5968, allocations: 0.6803 MB / 1.398 GB, free: 7.121 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004148/0.6009, allocations: 2.616 MB / 1.401 GB, free: 4.496 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.6009, allocations: 0 / 1.401 GB, free: 4.496 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6009, allocations: 4 kB / 1.401 GB, free: 4.492 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.485e-05/0.601, allocations: 0 / 1.401 GB, free: 4.492 MB / 1.092 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.004303/0.6053, allocations: 1.999 MB / 1.403 GB, free: 2.449 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.6053, allocations: 12.03 kB / 1.403 GB, free: 2.438 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003381/0.6087, allocations: 0.5734 MB / 1.403 GB, free: 1.863 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002878/0.6116, allocations: 1.363 MB / 1.405 GB, free: 468 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.6118, allocations: 141.4 kB / 1.405 GB, free: 316 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.6119, allocations: 96 kB / 1.405 GB, free: 220 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003259/0.6152, allocations: 1.504 MB / 1.406 GB, free: 14.64 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.6152, allocations: 3.953 kB / 1.406 GB, free: 14.63 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.6153, allocations: 44 kB / 1.406 GB, free: 14.59 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.552e-05/0.6154, allocations: 24 kB / 1.406 GB, free: 14.57 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0038/0.6192, allocations: 1.421 MB / 1.408 GB, free: 13.14 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.0087/0.6279, allocations: 4.168 MB / 1.412 GB, free: 8.887 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002975/0.6309, allocations: 1.024 MB / 1.413 GB, free: 7.852 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.6325, allocations: 0.5683 MB / 1.413 GB, free: 7.281 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004171/0.6329, allocations: 100.4 kB / 1.414 GB, free: 7.184 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001932/0.6348, allocations: 0.8242 MB / 1.414 GB, free: 6.312 MB / 1.107 GB Notification: Performance of pre-optimization done (n=60): time 3.937e-06/0.6348, allocations: 4 kB / 1.414 GB, free: 6.309 MB / 1.107 GB Notification: Performance of matching and sorting (n=60): time 0.005457/0.6403, allocations: 1.745 MB / 1.416 GB, free: 4.555 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.6403, allocations: 55.91 kB / 1.416 GB, free: 4.488 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.6423, allocations: 1.224 MB / 1.417 GB, free: 3.258 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.6424, allocations: 45.7 kB / 1.417 GB, free: 3.207 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007193/0.6431, allocations: 0.6694 MB / 1.418 GB, free: 2.531 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/0.6434, allocations: 218.1 kB / 1.418 GB, free: 2.316 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000318/0.6437, allocations: 166.6 kB / 1.418 GB, free: 2.148 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.6439, allocations: 337.9 kB / 1.419 GB, free: 1.812 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.6455, allocations: 0.5523 MB / 1.419 GB, free: 1.262 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/0.6475, allocations: 1.008 MB / 1.42 GB, free: 120 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003264/0.6508, allocations: 1.194 MB / 1.421 GB, free: 14.86 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.6508, allocations: 3.938 kB / 1.421 GB, free: 14.86 MB / 1.123 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004017/0.6548, allocations: 1.437 MB / 1.423 GB, free: 13.41 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.6548, allocations: 4 kB / 1.423 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.6548, allocations: 11.94 kB / 1.423 GB, free: 13.39 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/0.6549, allocations: 8 kB / 1.423 GB, free: 13.39 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.6561, allocations: 240.1 kB / 1.423 GB, free: 13.15 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/0.6561, allocations: 15.94 kB / 1.423 GB, free: 13.14 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.6575, allocations: 159.4 kB / 1.423 GB, free: 12.98 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.182e-05/0.6576, allocations: 43.97 kB / 1.423 GB, free: 12.94 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.0007772/0.6584, allocations: 357.6 kB / 1.424 GB, free: 12.58 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/0.6586, allocations: 131.2 kB / 1.424 GB, free: 12.45 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003875/0.6625, allocations: 1.411 MB / 1.425 GB, free: 11.02 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/0.6625, allocations: 8 kB / 1.425 GB, free: 11.01 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.6625, allocations: 0 / 1.425 GB, free: 11.01 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003476/0.666, allocations: 1.281 MB / 1.426 GB, free: 9.703 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006591/0.6726, allocations: 2.623 MB / 1.429 GB, free: 7.02 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.6726, allocations: 0 / 1.429 GB, free: 7.02 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.6738, allocations: 199.8 kB / 1.429 GB, free: 6.824 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.955e-05/0.6738, allocations: 8 kB / 1.429 GB, free: 6.816 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-05/0.6739, allocations: 23.97 kB / 1.429 GB, free: 6.793 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/0.6739, allocations: 7.938 kB / 1.429 GB, free: 6.785 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.6739, allocations: 4 kB / 1.429 GB, free: 6.781 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005907/0.6798, allocations: 2.227 MB / 1.431 GB, free: 4.516 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008792/0.6807, allocations: 266.8 kB / 1.432 GB, free: 4.254 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000311/0.681, allocations: 12 kB / 1.432 GB, free: 4.242 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.6823, allocations: 111.9 kB / 1.432 GB, free: 4.133 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.6825, allocations: 56.34 kB / 1.432 GB, free: 4.078 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.6826, allocations: 35.97 kB / 1.432 GB, free: 4.043 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001655/0.6842, allocations: 0.8331 MB / 1.433 GB, free: 3.207 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6842, allocations: 0 / 1.433 GB, free: 3.207 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001905/0.6861, allocations: 494.8 kB / 1.433 GB, free: 2.723 MB / 1.123 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.001143/0.6873, allocations: 428.8 kB / 1.433 GB, free: 2.297 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003978/0.6913, allocations: 1.25 MB / 1.435 GB, free: 1.047 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.6913, allocations: 0 / 1.435 GB, free: 1.047 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001915/0.6932, allocations: 0.632 MB / 1.435 GB, free: 428 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/0.6964, allocations: 0.5772 MB / 1.436 GB, free: 15.86 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006607/0.703, allocations: 2.66 MB / 1.438 GB, free: 13.14 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.7042, allocations: 0.6396 MB / 1.439 GB, free: 12.46 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001422/0.7056, allocations: 272.7 kB / 1.439 GB, free: 12.2 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004739/0.7061, allocations: 107.4 kB / 1.439 GB, free: 12.09 MB / 1.139 GB Notification: Performance of SimCode: time 2.064e-06/0.7061, allocations: 0 / 1.439 GB, free: 12.09 MB / 1.139 GB Notification: Performance of Templates: time 0.05529/0.7614, allocations: 28.89 MB / 1.468 GB, free: 15.69 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.618351383134723]