Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.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.001755/0.001755, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002221/0.002221, allocations: 210.5 kB / 22.99 MB, free: 4.957 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.736/1.736, allocations: 230.6 MB / 256.8 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.638/3.638, allocations: 0.49 GB / 0.7959 GB, free: 35.62 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.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QGen_flow|chi.QEva_flow|chi.QCon_flow|chi.CR|chi.PLR|per.PLRMax|per.PLRMin|QEva_QGen.y|QEva_P.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QGen_flow|chi.QEva_flow|chi.QCon_flow|chi.CR|chi.PLR|per.PLRMax|per.PLRMin|QEva_QGen.y|QEva_P.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") [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.002694/0.002694, allocations: 63.59 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5015/0.5042, allocations: 176.1 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.08901/0.5932, allocations: 68.84 MB / 1.394 GB, free: 11.96 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03741/0.6306, allocations: 20.01 MB / 1.414 GB, free: 7.895 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005618/0.6362, allocations: 134.9 kB / 1.414 GB, free: 7.762 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.007834/0.644, allocations: 2.19 MB / 1.416 GB, free: 5.562 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01309/0.6571, allocations: 3.395 MB / 1.419 GB, free: 2.156 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.007944/0.6651, allocations: 2.347 MB / 1.422 GB, free: 15.82 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01565/0.6807, allocations: 8.063 MB / 1.43 GB, free: 7.746 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004871/0.6856, allocations: 1.643 MB / 1.431 GB, free: 6.047 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00893/0.6945, allocations: 2.802 MB / 1.434 GB, free: 3.242 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004573/0.6991, allocations: 1.657 MB / 1.436 GB, free: 1.578 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001267/0.7004, allocations: 204 kB / 1.436 GB, free: 1.379 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006775/0.7071, allocations: 1.778 MB / 1.437 GB, free: 15.6 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001914/0.709, allocations: 0.794 MB / 1.438 GB, free: 14.8 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.003497/0.7125, allocations: 1.096 MB / 1.439 GB, free: 13.7 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.724, allocations: 4.449 MB / 1.444 GB, free: 9.234 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.974e-06/0.724, allocations: 0 / 1.444 GB, free: 9.234 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.134e-06/0.724, allocations: 0 / 1.444 GB, free: 9.234 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001554/0.7242, allocations: 4 kB / 1.444 GB, free: 9.23 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.008536/0.7327, allocations: 3.195 MB / 1.447 GB, free: 5.98 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.7328, allocations: 8.031 kB / 1.447 GB, free: 5.973 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007191/0.74, allocations: 1.153 MB / 1.448 GB, free: 4.816 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006915/0.7469, allocations: 2.899 MB / 1.451 GB, free: 1.84 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002975/0.7472, allocations: 181.8 kB / 1.451 GB, free: 1.648 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003434/0.7475, allocations: 136 kB / 1.451 GB, free: 1.516 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00522/0.7527, allocations: 2.024 MB / 1.453 GB, free: 15.39 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.7528, allocations: 7.938 kB / 1.453 GB, free: 15.39 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/0.7529, allocations: 48 kB / 1.453 GB, free: 15.34 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/0.753, allocations: 36 kB / 1.453 GB, free: 15.3 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006442/0.7594, allocations: 2.062 MB / 1.455 GB, free: 13.23 MB / 1.154 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.01779/0.7772, allocations: 6.411 MB / 1.461 GB, free: 6.668 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005641/0.7828, allocations: 1.587 MB / 1.463 GB, free: 5.074 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002421/0.7853, allocations: 0.7015 MB / 1.464 GB, free: 4.371 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007294/0.7926, allocations: 2.382 MB / 1.466 GB, free: 1.965 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.447e-05/0.7926, allocations: 39.06 kB / 1.466 GB, free: 1.918 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001202/0.7938, allocations: 111.4 kB / 1.466 GB, free: 1.809 MB / 1.154 GB Notification: Performance of pre-optimization done (n=57): time 8.516e-06/0.7938, allocations: 3.984 kB / 1.466 GB, free: 1.805 MB / 1.154 GB Notification: Performance of matching and sorting (n=57): time 0.01456/0.8084, allocations: 2.974 MB / 1.469 GB, free: 14.82 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.8085, allocations: 63.91 kB / 1.469 GB, free: 14.75 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005819/0.8143, allocations: 2.419 MB / 1.471 GB, free: 12.31 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002587/0.8145, allocations: 37.7 kB / 1.471 GB, free: 12.27 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001429/0.816, allocations: 1.142 MB / 1.473 GB, free: 11.12 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004322/0.8164, allocations: 222.2 kB / 1.473 GB, free: 10.9 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008393/0.8172, allocations: 342.6 kB / 1.473 GB, free: 10.56 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.8174, allocations: 305.1 kB / 1.473 GB, free: 10.26 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002823/0.8202, allocations: 0.9205 MB / 1.474 GB, free: 9.34 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003437/0.8237, allocations: 1.607 MB / 1.476 GB, free: 7.492 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005367/0.829, allocations: 1.999 MB / 1.478 GB, free: 5.336 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.932e-05/0.829, allocations: 4 kB / 1.478 GB, free: 5.332 MB / 1.17 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.009279/0.8383, allocations: 2.723 MB / 1.48 GB, free: 2.598 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/0.8384, allocations: 11.94 kB / 1.481 GB, free: 2.586 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.98e-05/0.8384, allocations: 12 kB / 1.481 GB, free: 2.574 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/0.84, allocations: 0.5124 MB / 1.481 GB, free: 2.059 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/0.8419, allocations: 371.4 kB / 1.481 GB, free: 1.695 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/0.8447, allocations: 1.126 MB / 1.482 GB, free: 0.543 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/0.8476, allocations: 207.8 kB / 1.483 GB, free: 348 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003316/0.848, allocations: 71.95 kB / 1.483 GB, free: 276 kB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001798/0.8498, allocations: 0.553 MB / 1.483 GB, free: 15.7 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00113/0.8509, allocations: 230.4 kB / 1.483 GB, free: 15.48 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007743/0.8586, allocations: 2.092 MB / 1.486 GB, free: 13.38 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.239e-05/0.8587, allocations: 12 kB / 1.486 GB, free: 13.37 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.8587, allocations: 0 / 1.486 GB, free: 13.37 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.8587, allocations: 3.984 kB / 1.486 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01289/0.8716, allocations: 3.639 MB / 1.489 GB, free: 9.656 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/0.8716, allocations: 11.97 kB / 1.489 GB, free: 9.645 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.8728, allocations: 199.7 kB / 1.489 GB, free: 9.449 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/0.8742, allocations: 0.4965 MB / 1.49 GB, free: 8.949 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/0.8743, allocations: 27.97 kB / 1.49 GB, free: 8.922 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002594/0.8769, allocations: 1.107 MB / 1.491 GB, free: 7.789 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.8769, allocations: 4 kB / 1.491 GB, free: 7.785 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008013/0.8849, allocations: 2.172 MB / 1.493 GB, free: 5.559 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/0.8868, allocations: 402.1 kB / 1.493 GB, free: 5.164 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008736/0.8876, allocations: 20 kB / 1.493 GB, free: 5.145 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002321/0.89, allocations: 155.8 kB / 1.494 GB, free: 4.992 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.8901, allocations: 60.28 kB / 1.494 GB, free: 4.934 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.8903, allocations: 39.95 kB / 1.494 GB, free: 4.895 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.004148/0.8944, allocations: 1.629 MB / 1.495 GB, free: 3.258 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.8944, allocations: 0 / 1.495 GB, free: 3.258 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00358/0.898, allocations: 0.7717 MB / 1.496 GB, free: 2.484 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001972/0.9, allocations: 0.6614 MB / 1.497 GB, free: 1.816 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.006816/0.9068, allocations: 1.924 MB / 1.499 GB, free: 15.89 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.9068, allocations: 0 / 1.499 GB, free: 15.89 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003046/0.9098, allocations: 0.824 MB / 1.499 GB, free: 15.06 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005516/0.9154, allocations: 0.9439 MB / 1.5 GB, free: 14.14 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.9266, allocations: 4.167 MB / 1.504 GB, free: 9.906 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002125/0.9288, allocations: 1.064 MB / 1.505 GB, free: 8.809 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.002491/0.9313, allocations: 439.8 kB / 1.506 GB, free: 8.383 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009574/0.9322, allocations: 167.4 kB / 1.506 GB, free: 8.219 MB / 1.201 GB Notification: Performance of SimCode: time 1.903e-06/0.9322, allocations: 0 / 1.506 GB, free: 8.219 MB / 1.201 GB Notification: Performance of Templates: time 0.09736/1.03, allocations: 49.69 MB / 1.554 GB, free: 7.391 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & ./Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.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.533363009992172]