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.001306/0.001306, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001439/0.001439, allocations: 216.4 kB / 23.04 MB, free: 4.844 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.047/3.047, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] 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.001988/0.001988, allocations: 66.3 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3385, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.07666/0.4152, allocations: 68.84 MB / 1.394 GB, free: 11.92 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03304/0.4482, allocations: 20.01 MB / 1.414 GB, free: 7.855 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004211/0.4524, allocations: 138.9 kB / 1.414 GB, free: 7.719 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.007163/0.4596, allocations: 2.192 MB / 1.416 GB, free: 5.52 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.4697, allocations: 3.383 MB / 1.419 GB, free: 2.121 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006666/0.4764, allocations: 2.337 MB / 1.422 GB, free: 15.8 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0128/0.4892, allocations: 8.036 MB / 1.43 GB, free: 7.746 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003357/0.4925, allocations: 1.604 MB / 1.431 GB, free: 6.086 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007034/0.4995, allocations: 2.808 MB / 1.434 GB, free: 3.277 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00349/0.503, allocations: 1.544 MB / 1.435 GB, free: 1.727 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0006944/0.5037, allocations: 211.9 kB / 1.436 GB, free: 1.52 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004602/0.5083, allocations: 1.727 MB / 1.437 GB, free: 15.79 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001099/0.5094, allocations: 0.8017 MB / 1.438 GB, free: 14.98 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002051/0.5115, allocations: 1.096 MB / 1.439 GB, free: 13.88 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.008103/0.5196, allocations: 4.441 MB / 1.444 GB, free: 9.426 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5196, allocations: 4 kB / 1.444 GB, free: 9.422 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5196, allocations: 0 / 1.444 GB, free: 9.422 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.612e-05/0.5197, allocations: 0 / 1.444 GB, free: 9.422 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.007092/0.5268, allocations: 3.198 MB / 1.447 GB, free: 6.168 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.5268, allocations: 8.031 kB / 1.447 GB, free: 6.16 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00713/0.534, allocations: 1.161 MB / 1.448 GB, free: 4.996 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006606/0.5406, allocations: 2.895 MB / 1.451 GB, free: 2.023 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.5408, allocations: 177.8 kB / 1.451 GB, free: 1.836 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003413/0.5412, allocations: 132 kB / 1.451 GB, free: 1.707 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004957/0.5461, allocations: 2.036 MB / 1.453 GB, free: 15.57 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.5461, allocations: 4 kB / 1.453 GB, free: 15.57 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.5463, allocations: 52 kB / 1.453 GB, free: 15.52 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.5463, allocations: 28 kB / 1.453 GB, free: 15.49 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006073/0.5524, allocations: 2.062 MB / 1.455 GB, free: 13.42 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.01409/0.5665, allocations: 6.419 MB / 1.461 GB, free: 6.848 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005204/0.5717, allocations: 1.58 MB / 1.463 GB, free: 5.254 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00227/0.574, allocations: 0.7054 MB / 1.463 GB, free: 4.547 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006026/0.58, allocations: 2.382 MB / 1.466 GB, free: 2.141 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.282e-05/0.58, allocations: 43 kB / 1.466 GB, free: 2.09 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008729/0.5809, allocations: 103.4 kB / 1.466 GB, free: 1.988 MB / 1.154 GB Notification: Performance of pre-optimization done (n=57): time 3.757e-06/0.5809, allocations: 0 / 1.466 GB, free: 1.988 MB / 1.154 GB Notification: Performance of matching and sorting (n=57): time 0.01331/0.5942, allocations: 2.982 MB / 1.469 GB, free: 14.99 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.5943, allocations: 55.91 kB / 1.469 GB, free: 14.93 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003978/0.5983, allocations: 2.43 MB / 1.471 GB, free: 12.48 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002193/0.5985, allocations: 37.7 kB / 1.471 GB, free: 12.44 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.5995, allocations: 1.138 MB / 1.472 GB, free: 11.29 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002937/0.5998, allocations: 222.2 kB / 1.473 GB, free: 11.07 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005637/0.6004, allocations: 346.6 kB / 1.473 GB, free: 10.73 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.6005, allocations: 304.9 kB / 1.473 GB, free: 10.43 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002516/0.603, allocations: 0.9128 MB / 1.474 GB, free: 9.52 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00309/0.6061, allocations: 1.603 MB / 1.476 GB, free: 7.676 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004905/0.611, allocations: 2.011 MB / 1.478 GB, free: 5.512 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/0.6111, allocations: 4 kB / 1.478 GB, free: 5.508 MB / 1.17 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.007873/0.6189, allocations: 2.715 MB / 1.48 GB, free: 2.781 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/0.619, allocations: 8.625 kB / 1.48 GB, free: 2.773 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.619, allocations: 19.94 kB / 1.48 GB, free: 2.754 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.6204, allocations: 0.5082 MB / 1.481 GB, free: 2.242 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.622, allocations: 367.4 kB / 1.481 GB, free: 1.883 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.6244, allocations: 1.13 MB / 1.482 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.6268, allocations: 199.8 kB / 1.483 GB, free: 0.5312 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/0.627, allocations: 75.95 kB / 1.483 GB, free: 468 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.001152/0.6282, allocations: 0.5573 MB / 1.483 GB, free: 15.89 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005173/0.6287, allocations: 226.4 kB / 1.483 GB, free: 15.66 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006545/0.6352, allocations: 2.095 MB / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.6353, allocations: 12 kB / 1.485 GB, free: 13.55 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.6353, allocations: 0 / 1.485 GB, free: 13.55 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.6353, allocations: 7.922 kB / 1.485 GB, free: 13.55 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009856/0.6451, allocations: 3.651 MB / 1.489 GB, free: 9.828 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.6451, allocations: 0 / 1.489 GB, free: 9.828 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.6463, allocations: 204.1 kB / 1.489 GB, free: 9.629 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/0.6475, allocations: 0.4926 MB / 1.49 GB, free: 9.133 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.439e-05/0.6476, allocations: 31.91 kB / 1.49 GB, free: 9.102 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002434/0.6501, allocations: 1.103 MB / 1.491 GB, free: 7.973 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.6501, allocations: 3.938 kB / 1.491 GB, free: 7.969 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007439/0.6575, allocations: 2.172 MB / 1.493 GB, free: 5.738 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/0.6589, allocations: 406.1 kB / 1.493 GB, free: 5.34 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000344/0.6592, allocations: 12 kB / 1.493 GB, free: 5.328 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/0.6609, allocations: 155.8 kB / 1.493 GB, free: 5.176 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.661, allocations: 60.28 kB / 1.493 GB, free: 5.117 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.6611, allocations: 39.95 kB / 1.494 GB, free: 5.078 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002748/0.6639, allocations: 1.637 MB / 1.495 GB, free: 3.434 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6639, allocations: 0 / 1.495 GB, free: 3.434 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002632/0.6665, allocations: 0.7639 MB / 1.496 GB, free: 2.668 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.00152/0.668, allocations: 0.6696 MB / 1.497 GB, free: 1.988 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.006144/0.6742, allocations: 1.917 MB / 1.498 GB, free: 72 kB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.6742, allocations: 4 kB / 1.498 GB, free: 68 kB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002947/0.6771, allocations: 0.8273 MB / 1.499 GB, free: 15.24 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004498/0.6816, allocations: 0.9527 MB / 1.5 GB, free: 14.32 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008591/0.6902, allocations: 4.266 MB / 1.504 GB, free: 9.973 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/0.6914, allocations: 1.056 MB / 1.505 GB, free: 8.883 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008366/0.6923, allocations: 191.3 kB / 1.506 GB, free: 8.695 MB / 1.201 GB Notification: Performance of SimCode: time 1.493e-06/0.6923, allocations: 4 kB / 1.506 GB, free: 8.691 MB / 1.201 GB Notification: Performance of Templates: time 0.07453/0.7668, allocations: 51.1 MB / 1.555 GB, free: 5.883 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 -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: 18.71412694104947]