Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.001815/0.001815, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.002157/0.002157, allocations: 163.7 kB / 23.02 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.456/1.456, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.697/2.697, allocations: 359.1 MB / 0.6044 GB, free: 14.81 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [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.002258/0.002258, allocations: 67.89 kB / 0.9516 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3124, allocations: 169.9 MB / 1.118 GB, free: 2.441 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001988/0.3144, allocations: 0.5871 MB / 1.118 GB, free: 1.859 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.3159, allocations: 0.9918 MB / 1.119 GB, free: 0.8516 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.771e-05/0.3159, allocations: 4 kB / 1.119 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.3159, allocations: 0 / 1.119 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0007332/0.3167, allocations: 99.77 kB / 1.119 GB, free: 0.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.357e-05/0.3167, allocations: 11.94 kB / 1.119 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.588e-05/0.3167, allocations: 4 kB / 1.119 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.946e-05/0.3168, allocations: 3.984 kB / 1.119 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.036e-05/0.3168, allocations: 3.984 kB / 1.119 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.317, allocations: 43.89 kB / 1.119 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.317, allocations: 0 / 1.119 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.3172, allocations: 75.86 kB / 1.119 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.3172, allocations: 7.984 kB / 1.119 GB, free: 0.6016 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.3172, allocations: 0 / 1.119 GB, free: 0.6016 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.3174, allocations: 79.78 kB / 1.119 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3174, allocations: 4 kB / 1.119 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3174, allocations: 0 / 1.119 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.3174, allocations: 0 / 1.119 GB, free: 0.5195 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003266/0.3178, allocations: 254.2 kB / 1.12 GB, free: 248 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3178, allocations: 16.03 kB / 1.12 GB, free: 232 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.3178, allocations: 4.891 kB / 1.12 GB, free: 228 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.3179, allocations: 106.5 kB / 1.12 GB, free: 96 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.3179, allocations: 4.375 kB / 1.12 GB, free: 92 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.318, allocations: 4.359 kB / 1.12 GB, free: 88 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.294e-05/0.318, allocations: 33.81 kB / 1.12 GB, free: 48 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.318, allocations: 3.938 kB / 1.12 GB, free: 44 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.3181, allocations: 0 / 1.12 GB, free: 44 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.3181, allocations: 4 kB / 1.12 GB, free: 40 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.56e-05/0.3181, allocations: 0 / 1.12 GB, free: 40 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.3185, allocations: 339.2 kB / 1.12 GB, free: 15.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.691e-05/0.3185, allocations: 173.1 kB / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.394e-05/0.3186, allocations: 80.14 kB / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.3186, allocations: 83.25 kB / 1.12 GB, free: 15.33 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.85e-05/0.3187, allocations: 109.8 kB / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3187, allocations: 0 / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 7.439e-05/0.3188, allocations: 29.7 kB / 1.121 GB, free: 15.18 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.3188, allocations: 130.7 kB / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3189, allocations: 97.86 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.3189, allocations: 25.7 kB / 1.121 GB, free: 14.9 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.475e-05/0.319, allocations: 84.14 kB / 1.121 GB, free: 14.82 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-06/0.319, allocations: 4 kB / 1.121 GB, free: 14.81 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.319, allocations: 9.719 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3192, allocations: 318.8 kB / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.847e-06/0.3192, allocations: 3.938 kB / 1.121 GB, free: 14.47 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-06/0.3192, allocations: 3.938 kB / 1.121 GB, free: 14.47 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.047e-05/0.3192, allocations: 12.86 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3192, allocations: 3.938 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.582e-05/0.3193, allocations: 33.66 kB / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3193, allocations: 8 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3193, allocations: 4.094 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3193, allocations: 0 / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.562e-05/0.3194, allocations: 0 / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3194, allocations: 3.984 kB / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.632e-05/0.3194, allocations: 4 kB / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.3194, allocations: 0 / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001049/0.3195, allocations: 193 kB / 1.121 GB, free: 14.19 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.3196, allocations: 101 kB / 1.122 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.142e-05/0.3196, allocations: 112.1 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.132e-05/0.3197, allocations: 180.2 kB / 1.122 GB, free: 13.78 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.88e-05/0.3198, allocations: 184.3 kB / 1.122 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-05/0.3199, allocations: 188.2 kB / 1.122 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.3201, allocations: 360.8 kB / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-05/0.3201, allocations: 105 kB / 1.123 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.675e-05/0.3202, allocations: 104.9 kB / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-05/0.3203, allocations: 176.3 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-05/0.3203, allocations: 184.2 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.495e-05/0.3204, allocations: 176.3 kB / 1.123 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.5e-05/0.3205, allocations: 176.3 kB / 1.123 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.3207, allocations: 319.7 kB / 1.124 GB, free: 11.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-05/0.3207, allocations: 104.9 kB / 1.124 GB, free: 11.62 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.551e-05/0.3208, allocations: 188.3 kB / 1.124 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/0.3209, allocations: 105 kB / 1.124 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.645e-05/0.321, allocations: 180.2 kB / 1.124 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/0.321, allocations: 105 kB / 1.124 GB, free: 11.03 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.467e-05/0.3211, allocations: 75.47 kB / 1.124 GB, free: 10.95 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3211, allocations: 4 kB / 1.124 GB, free: 10.95 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002612/0.3213, allocations: 23.86 kB / 1.124 GB, free: 10.93 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003942/0.3217, allocations: 241.4 kB / 1.125 GB, free: 10.69 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.869e-05/0.3218, allocations: 11.92 kB / 1.125 GB, free: 10.68 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3218, allocations: 0 / 1.125 GB, free: 10.68 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.3218, allocations: 0 / 1.125 GB, free: 10.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.3222, allocations: 460.9 kB / 1.125 GB, free: 10.23 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.3226, allocations: 200 kB / 1.125 GB, free: 10 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.401e-05/0.3226, allocations: 59.36 kB / 1.125 GB, free: 9.926 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.906e-05/0.3227, allocations: 8.062 kB / 1.125 GB, free: 9.918 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.3227, allocations: 12.48 kB / 1.125 GB, free: 9.906 MB / 1.076 GB Notification: Performance of SimCode: time 6.12e-07/0.3227, allocations: 0 / 1.125 GB, free: 9.906 MB / 1.076 GB Notification: Performance of Templates: time 0.003157/0.3258, allocations: 0.6788 MB / 1.126 GB, free: 9.273 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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: 8.444504126906395]