Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001626/0.001626, allocations: 79.03 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.00185/0.00185, allocations: 157.2 kB / 23.01 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.487/1.487, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.843/2.843, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 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.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_12_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_12_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.003551/0.003551, allocations: 64.09 kB / 0.982 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9584/0.962, allocations: 176.1 MB / 1.154 GB, free: 33.38 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001663/0.9636, allocations: 0.5786 MB / 1.155 GB, free: 33.04 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.9647, allocations: 1.007 MB / 1.156 GB, free: 32.3 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.682e-05/0.9647, allocations: 7.938 kB / 1.156 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.9647, allocations: 0 / 1.156 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0006829/0.9654, allocations: 102.7 kB / 1.156 GB, free: 32.24 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 3.622e-05/0.9655, allocations: 12.58 kB / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 4.68e-05/0.9655, allocations: 2.688 kB / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.9655, allocations: 2.719 kB / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.645e-05/0.9656, allocations: 0 / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.9658, allocations: 38.33 kB / 1.156 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.9658, allocations: 0 / 1.156 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.966, allocations: 83.59 kB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.966, allocations: 6.5 kB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.966, allocations: 3.984 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.9662, allocations: 70.53 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.9662, allocations: 3.938 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.043e-06/0.9662, allocations: 0 / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.9662, allocations: 0 / 1.156 GB, free: 32.16 MB / 1.076 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.0003052/0.9665, allocations: 253.1 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.9665, allocations: 8.438 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.9666, allocations: 4.891 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.726e-05/0.9666, allocations: 116.7 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.9667, allocations: 4.375 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.9667, allocations: 3.281 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.972e-05/0.9667, allocations: 29.83 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.9668, allocations: 2.875 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.9668, allocations: 0 / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.9668, allocations: 0 / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.087e-05/0.9668, allocations: 3.938 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002822/0.9671, allocations: 335 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.297e-05/0.9671, allocations: 179.5 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.475e-05/0.9671, allocations: 80.14 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.9672, allocations: 79.28 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.9672, allocations: 112.6 kB / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.9672, allocations: 0 / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 6.53e-05/0.9672, allocations: 25.7 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.9673, allocations: 129.5 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.312e-05/0.9673, allocations: 102.8 kB / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.9674, allocations: 25.7 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.9674, allocations: 84.08 kB / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/0.9674, allocations: 0 / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.9674, allocations: 12.56 kB / 1.157 GB, free: 30.52 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.94e-05/0.9675, allocations: 317.7 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.388e-06/0.9675, allocations: 4 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.114e-06/0.9675, allocations: 9.953 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.137e-05/0.9675, allocations: 8.797 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.9675, allocations: 6.812 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.968e-05/0.9676, allocations: 39.19 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.9676, allocations: 5.344 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.9676, allocations: 0 / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.9676, allocations: 0 / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.845e-05/0.9676, allocations: 4 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.9677, allocations: 4.094 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.387e-05/0.9677, allocations: 3.422 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.9677, allocations: 2.562 kB / 1.158 GB, free: 30.13 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 5.047e-05/0.9677, allocations: 189.1 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.9678, allocations: 107.6 kB / 1.158 GB, free: 29.83 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.9678, allocations: 107 kB / 1.158 GB, free: 29.71 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-05/0.9678, allocations: 183.4 kB / 1.158 GB, free: 29.53 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.904e-05/0.9678, allocations: 179 kB / 1.158 GB, free: 29.35 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.349e-05/0.9679, allocations: 177.3 kB / 1.159 GB, free: 29.17 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.968, allocations: 363.2 kB / 1.159 GB, free: 28.78 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.968, allocations: 111.6 kB / 1.159 GB, free: 28.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.506e-05/0.968, allocations: 104.9 kB / 1.159 GB, free: 28.56 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.457e-05/0.9681, allocations: 176.3 kB / 1.159 GB, free: 28.38 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.9681, allocations: 179 kB / 1.16 GB, free: 28.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.867e-05/0.9681, allocations: 190.2 kB / 1.16 GB, free: 28.01 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.654e-05/0.9681, allocations: 176.3 kB / 1.16 GB, free: 27.83 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.588e-05/0.9682, allocations: 305.6 kB / 1.16 GB, free: 27.52 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.9682, allocations: 118.9 kB / 1.16 GB, free: 27.4 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.9683, allocations: 180.2 kB / 1.16 GB, free: 27.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.443e-05/0.9683, allocations: 103.5 kB / 1.161 GB, free: 27.11 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.9683, allocations: 187.6 kB / 1.161 GB, free: 26.92 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.9684, allocations: 103.9 kB / 1.161 GB, free: 26.82 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.533e-05/0.9684, allocations: 82.06 kB / 1.161 GB, free: 26.74 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9684, allocations: 0 / 1.161 GB, free: 26.74 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002536/0.9686, allocations: 21.52 kB / 1.161 GB, free: 26.73 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.0003422/0.969, allocations: 225 kB / 1.161 GB, free: 26.56 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.304e-05/0.9691, allocations: 10.44 kB / 1.161 GB, free: 26.55 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.9691, allocations: 3.938 kB / 1.161 GB, free: 26.55 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.9691, allocations: 0 / 1.161 GB, free: 26.55 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.9693, allocations: 462.9 kB / 1.162 GB, free: 26.09 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.9697, allocations: 201.8 kB / 1.162 GB, free: 25.9 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.17e-05/0.9697, allocations: 57.34 kB / 1.162 GB, free: 25.83 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.9697, allocations: 2.562 kB / 1.162 GB, free: 25.83 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.9698, allocations: 15.19 kB / 1.162 GB, free: 25.82 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.9698, allocations: 3.938 kB / 1.162 GB, free: 25.81 MB / 1.076 GB Notification: Performance of Templates: time 0.003164/0.9729, allocations: 0.6816 MB / 1.163 GB, free: 25.74 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.091466612997465]