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.001674/0.001674, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00235/0.00235, allocations: 215.6 kB / 22.99 MB, free: 4.945 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.531/3.531, allocations: 0.4892 GB / 0.7951 GB, free: 35.59 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.002093/0.002093, allocations: 73.69 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3678, allocations: 176.1 MB / 1.326 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.08933/0.4572, allocations: 68.83 MB / 1.394 GB, free: 12.77 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03538/0.4926, allocations: 20.02 MB / 1.413 GB, free: 8.699 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004359/0.4969, allocations: 134.9 kB / 1.413 GB, free: 8.566 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.007609/0.5045, allocations: 2.18 MB / 1.415 GB, free: 6.379 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.5152, allocations: 3.389 MB / 1.419 GB, free: 2.977 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.007138/0.5223, allocations: 2.345 MB / 1.421 GB, free: 0.6445 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0134/0.5357, allocations: 8.02 MB / 1.429 GB, free: 8.609 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00377/0.5395, allocations: 1.615 MB / 1.43 GB, free: 6.938 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007298/0.5468, allocations: 2.804 MB / 1.433 GB, free: 4.133 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003367/0.5501, allocations: 1.556 MB / 1.435 GB, free: 2.57 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0007928/0.5509, allocations: 208 kB / 1.435 GB, free: 2.367 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005075/0.556, allocations: 1.72 MB / 1.436 GB, free: 0.6445 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001451/0.5574, allocations: 0.7978 MB / 1.437 GB, free: 15.84 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002647/0.5601, allocations: 1.096 MB / 1.438 GB, free: 14.74 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.008871/0.569, allocations: 4.445 MB / 1.443 GB, free: 10.28 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.569, allocations: 0 / 1.443 GB, free: 10.28 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.634e-06/0.569, allocations: 0 / 1.443 GB, free: 10.28 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001343/0.5691, allocations: 4 kB / 1.443 GB, free: 10.28 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.008165/0.5773, allocations: 3.194 MB / 1.446 GB, free: 7.027 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.5773, allocations: 8.031 kB / 1.446 GB, free: 7.02 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007026/0.5843, allocations: 1.161 MB / 1.447 GB, free: 5.855 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007105/0.5914, allocations: 2.891 MB / 1.45 GB, free: 2.887 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002952/0.5917, allocations: 181.8 kB / 1.45 GB, free: 2.695 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004232/0.5922, allocations: 128 kB / 1.45 GB, free: 2.57 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005584/0.5978, allocations: 2.032 MB / 1.452 GB, free: 452 kB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/0.5978, allocations: 7.875 kB / 1.452 GB, free: 444 kB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00021/0.598, allocations: 52 kB / 1.452 GB, free: 392 kB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/0.598, allocations: 32 kB / 1.452 GB, free: 360 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006384/0.6044, allocations: 2.059 MB / 1.454 GB, free: 14.29 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.01523/0.6197, allocations: 6.419 MB / 1.46 GB, free: 7.711 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005311/0.625, allocations: 1.587 MB / 1.462 GB, free: 6.113 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002224/0.6272, allocations: 0.7054 MB / 1.463 GB, free: 5.406 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005927/0.6331, allocations: 2.374 MB / 1.465 GB, free: 3.008 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/0.6332, allocations: 43.06 kB / 1.465 GB, free: 2.957 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001005/0.6342, allocations: 103.4 kB / 1.465 GB, free: 2.855 MB / 1.154 GB Notification: Performance of pre-optimization done (n=57): time 5.069e-06/0.6342, allocations: 0 / 1.465 GB, free: 2.855 MB / 1.154 GB Notification: Performance of matching and sorting (n=57): time 0.01366/0.6478, allocations: 2.978 MB / 1.468 GB, free: 15.87 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.6479, allocations: 59.91 kB / 1.468 GB, free: 15.8 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005042/0.6529, allocations: 2.422 MB / 1.47 GB, free: 13.36 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000255/0.6532, allocations: 49.7 kB / 1.47 GB, free: 13.3 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001239/0.6544, allocations: 1.134 MB / 1.472 GB, free: 12.16 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003986/0.6548, allocations: 218.2 kB / 1.472 GB, free: 11.95 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007592/0.6556, allocations: 338.6 kB / 1.472 GB, free: 11.61 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6557, allocations: 305.1 kB / 1.472 GB, free: 11.31 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002666/0.6584, allocations: 0.9167 MB / 1.473 GB, free: 10.39 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003283/0.6617, allocations: 1.615 MB / 1.475 GB, free: 8.539 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005159/0.6668, allocations: 1.995 MB / 1.477 GB, free: 6.387 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.876e-05/0.6668, allocations: 8 kB / 1.477 GB, free: 6.379 MB / 1.17 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.008247/0.6751, allocations: 2.723 MB / 1.479 GB, free: 3.645 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.6751, allocations: 10.19 kB / 1.479 GB, free: 3.637 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/0.6752, allocations: 16.61 kB / 1.479 GB, free: 3.621 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.6766, allocations: 0.5082 MB / 1.48 GB, free: 3.109 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.6784, allocations: 371.4 kB / 1.48 GB, free: 2.746 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/0.6809, allocations: 1.126 MB / 1.481 GB, free: 1.594 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/0.6834, allocations: 203.8 kB / 1.482 GB, free: 1.395 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002479/0.6836, allocations: 71.95 kB / 1.482 GB, free: 1.324 MB / 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.001349/0.685, allocations: 0.5626 MB / 1.482 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007251/0.6857, allocations: 230.4 kB / 1.482 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007028/0.6928, allocations: 2.092 MB / 1.485 GB, free: 14.43 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/0.6928, allocations: 12 kB / 1.485 GB, free: 14.42 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.6928, allocations: 0 / 1.485 GB, free: 14.42 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.6928, allocations: 3.984 kB / 1.485 GB, free: 14.41 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/0.7037, allocations: 3.658 MB / 1.488 GB, free: 10.68 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.7037, allocations: 0 / 1.488 GB, free: 10.68 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.7048, allocations: 204 kB / 1.488 GB, free: 10.48 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001353/0.7062, allocations: 0.4887 MB / 1.489 GB, free: 9.992 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.221e-05/0.7062, allocations: 31.95 kB / 1.489 GB, free: 9.961 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/0.7087, allocations: 1.107 MB / 1.49 GB, free: 8.828 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.7087, allocations: 0 / 1.49 GB, free: 8.828 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007383/0.7161, allocations: 2.172 MB / 1.492 GB, free: 6.602 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/0.7175, allocations: 406.1 kB / 1.492 GB, free: 6.203 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006019/0.7181, allocations: 12 kB / 1.492 GB, free: 6.191 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/0.72, allocations: 159.8 kB / 1.493 GB, free: 6.035 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.7202, allocations: 52.3 kB / 1.493 GB, free: 5.984 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.7203, allocations: 39.95 kB / 1.493 GB, free: 5.945 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.003472/0.7238, allocations: 1.637 MB / 1.494 GB, free: 4.301 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7238, allocations: 0 / 1.494 GB, free: 4.301 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002798/0.7266, allocations: 0.7716 MB / 1.495 GB, free: 3.527 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.001717/0.7283, allocations: 0.6637 MB / 1.496 GB, free: 2.855 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.006237/0.7345, allocations: 1.921 MB / 1.498 GB, free: 0.9297 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.7345, allocations: 3.984 kB / 1.498 GB, free: 0.9258 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002956/0.7375, allocations: 0.8232 MB / 1.498 GB, free: 104 kB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005053/0.7425, allocations: 0.9508 MB / 1.499 GB, free: 15.18 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009663/0.7522, allocations: 4.276 MB / 1.503 GB, free: 10.83 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001664/0.7539, allocations: 1.048 MB / 1.504 GB, free: 9.746 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008795/0.7547, allocations: 191.3 kB / 1.505 GB, free: 9.559 MB / 1.201 GB Notification: Performance of SimCode: time 1.212e-06/0.7547, allocations: 3.938 kB / 1.505 GB, free: 9.555 MB / 1.201 GB Notification: Performance of Templates: time 0.08101/0.8357, allocations: 51.1 MB / 1.555 GB, free: 6.75 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: 20.301882580854]