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.001589/0.001589, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001668/0.001668, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.658/1.658, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.918/2.918, allocations: 0.49 GB / 0.7923 GB, free: 1.27 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.002085/0.002085, allocations: 67.89 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9967/0.9988, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.07959/1.078, allocations: 75.7 MB / 1.396 GB, free: 2.824 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0385/1.117, allocations: 21.58 MB / 1.417 GB, free: 3.473 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005851/1.123, allocations: 134.1 kB / 1.417 GB, free: 3.406 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.008318/1.131, allocations: 2.209 MB / 1.419 GB, free: 2.359 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01209/1.143, allocations: 3.343 MB / 1.422 GB, free: 420 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.007803/1.151, allocations: 2.323 MB / 1.425 GB, free: 15.23 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01556/1.167, allocations: 7.894 MB / 1.432 GB, free: 12.06 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004308/1.171, allocations: 1.672 MB / 1.434 GB, free: 11.1 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007768/1.179, allocations: 2.404 MB / 1.436 GB, free: 9.648 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004038/1.183, allocations: 1.643 MB / 1.438 GB, free: 8.598 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0009993/1.184, allocations: 217 kB / 1.438 GB, free: 8.598 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006549/1.19, allocations: 2.113 MB / 1.44 GB, free: 7.465 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001646/1.192, allocations: 0.8104 MB / 1.441 GB, free: 6.875 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003256/1.195, allocations: 1.409 MB / 1.442 GB, free: 5.895 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01146/1.207, allocations: 4.576 MB / 1.447 GB, free: 2.805 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.207, allocations: 5.438 kB / 1.447 GB, free: 2.801 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.864e-06/1.207, allocations: 0 / 1.447 GB, free: 2.801 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001352/1.207, allocations: 3.938 kB / 1.447 GB, free: 2.797 MB / 1.123 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.008798/1.216, allocations: 3.305 MB / 1.45 GB, free: 320 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/1.216, allocations: 10.31 kB / 1.45 GB, free: 320 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007799/1.223, allocations: 1.158 MB / 1.451 GB, free: 15.79 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007473/1.231, allocations: 3.022 MB / 1.454 GB, free: 13.71 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000301/1.231, allocations: 158.2 kB / 1.454 GB, free: 13.61 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004374/1.232, allocations: 128.6 kB / 1.455 GB, free: 13.57 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005464/1.237, allocations: 1.934 MB / 1.456 GB, free: 12.4 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/1.237, allocations: 1.469 kB / 1.456 GB, free: 12.4 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/1.237, allocations: 52.16 kB / 1.456 GB, free: 12.36 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/1.237, allocations: 39.25 kB / 1.457 GB, free: 12.35 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006615/1.244, allocations: 2.064 MB / 1.459 GB, free: 11.37 MB / 1.139 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.01722/1.261, allocations: 8.654 MB / 1.467 GB, free: 4.141 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005539/1.267, allocations: 1.586 MB / 1.469 GB, free: 2.633 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00236/1.269, allocations: 0.7051 MB / 1.469 GB, free: 1.922 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007523/1.277, allocations: 3.796 MB / 1.473 GB, free: 13.84 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/1.277, allocations: 43.06 kB / 1.473 GB, free: 13.79 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001318/1.278, allocations: 139 kB / 1.473 GB, free: 13.65 MB / 1.154 GB Notification: Performance of pre-optimization done (n=57): time 4.929e-06/1.278, allocations: 0 / 1.473 GB, free: 13.65 MB / 1.154 GB Notification: Performance of matching and sorting (n=57): time 0.0144/1.292, allocations: 3.079 MB / 1.476 GB, free: 10.55 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/1.292, allocations: 55.97 kB / 1.476 GB, free: 10.48 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005021/1.297, allocations: 2.658 MB / 1.479 GB, free: 7.805 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002898/1.298, allocations: 45.7 kB / 1.479 GB, free: 7.754 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/1.299, allocations: 1.116 MB / 1.48 GB, free: 6.629 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/1.299, allocations: 218.2 kB / 1.48 GB, free: 6.414 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00061/1.3, allocations: 338.6 kB / 1.48 GB, free: 6.078 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.3, allocations: 305.1 kB / 1.481 GB, free: 5.777 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002685/1.303, allocations: 0.9089 MB / 1.482 GB, free: 4.871 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003188/1.306, allocations: 1.34 MB / 1.483 GB, free: 3.355 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005315/1.311, allocations: 2.01 MB / 1.485 GB, free: 1.195 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/1.311, allocations: 4 kB / 1.485 GB, free: 1.191 MB / 1.154 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.00867/1.32, allocations: 2.741 MB / 1.488 GB, free: 14.43 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/1.32, allocations: 12 kB / 1.488 GB, free: 14.42 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/1.32, allocations: 12.06 kB / 1.488 GB, free: 14.41 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/1.321, allocations: 0.5082 MB / 1.488 GB, free: 13.9 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/1.323, allocations: 375.1 kB / 1.488 GB, free: 13.54 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/1.326, allocations: 1.118 MB / 1.49 GB, free: 12.39 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003159/1.329, allocations: 224.6 kB / 1.49 GB, free: 12.17 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002555/1.329, allocations: 71.95 kB / 1.49 GB, free: 12.1 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.001276/1.33, allocations: 0.5521 MB / 1.49 GB, free: 11.54 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007086/1.331, allocations: 254.3 kB / 1.491 GB, free: 11.29 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007054/1.338, allocations: 2.104 MB / 1.493 GB, free: 9.176 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/1.338, allocations: 4 kB / 1.493 GB, free: 9.172 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.338, allocations: 4 kB / 1.493 GB, free: 9.168 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/1.338, allocations: 7.984 kB / 1.493 GB, free: 9.16 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/1.35, allocations: 4.103 MB / 1.497 GB, free: 4.953 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.35, allocations: 0 / 1.497 GB, free: 4.953 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/1.351, allocations: 204.1 kB / 1.497 GB, free: 4.754 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/1.352, allocations: 0.4887 MB / 1.497 GB, free: 4.262 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/1.353, allocations: 31.91 kB / 1.497 GB, free: 4.23 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002608/1.355, allocations: 1.111 MB / 1.498 GB, free: 3.094 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/1.355, allocations: 7.938 kB / 1.498 GB, free: 3.086 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008217/1.363, allocations: 2.186 MB / 1.501 GB, free: 0.8398 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/1.365, allocations: 0.503 MB / 1.501 GB, free: 324 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000534/1.366, allocations: 12 kB / 1.501 GB, free: 312 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/1.368, allocations: 167.8 kB / 1.501 GB, free: 144 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/1.368, allocations: 60.38 kB / 1.501 GB, free: 84 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/1.368, allocations: 39.95 kB / 1.501 GB, free: 44 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003449/1.371, allocations: 1.831 MB / 1.503 GB, free: 14.21 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/1.371, allocations: 0 / 1.503 GB, free: 14.21 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003117/1.374, allocations: 0.7447 MB / 1.504 GB, free: 13.46 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.001761/1.376, allocations: 0.6764 MB / 1.505 GB, free: 12.78 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.006642/1.383, allocations: 1.92 MB / 1.506 GB, free: 10.86 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.383, allocations: 4 kB / 1.506 GB, free: 10.86 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003215/1.386, allocations: 0.8201 MB / 1.507 GB, free: 10.04 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00635/1.392, allocations: 1.159 MB / 1.508 GB, free: 8.902 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009762/1.402, allocations: 4.285 MB / 1.513 GB, free: 4.535 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/1.404, allocations: 1.629 MB / 1.514 GB, free: 2.875 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/1.405, allocations: 203.3 kB / 1.514 GB, free: 2.676 MB / 1.186 GB Notification: Performance of SimCode: time 1.152e-06/1.405, allocations: 0 / 1.514 GB, free: 2.676 MB / 1.186 GB Notification: Performance of Templates: time 0.08209/1.487, allocations: 52.83 MB / 1.566 GB, free: 14.18 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: 21.59704088100989]