Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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.001424/0.001424, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001555/0.001555, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.469/1.469, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.798/2.798, allocations: 377.9 MB / 0.6228 GB, free: 12.61 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.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [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.002186/0.002186, allocations: 67.88 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.055, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002697/1.057, allocations: 1.732 MB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006383/1.064, allocations: 4.884 MB / 1.16 GB, free: 29.09 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.945e-05/1.064, allocations: 3.938 kB / 1.16 GB, free: 29.09 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001199/1.065, allocations: 342 kB / 1.161 GB, free: 28.96 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/1.065, allocations: 61.2 kB / 1.161 GB, free: 28.93 MB / 1.076 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.00354/1.069, allocations: 1.609 MB / 1.162 GB, free: 28.31 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002338/1.069, allocations: 161.5 kB / 1.163 GB, free: 28.25 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/1.069, allocations: 4.688 kB / 1.163 GB, free: 28.25 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.91e-05/1.069, allocations: 61.81 kB / 1.163 GB, free: 28.22 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/1.069, allocations: 170.4 kB / 1.163 GB, free: 28.17 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.306e-05/1.069, allocations: 18.34 kB / 1.163 GB, free: 28.17 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003138/1.073, allocations: 2.39 MB / 1.165 GB, free: 27.55 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001867/1.073, allocations: 280 kB / 1.165 GB, free: 27.48 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002013/1.073, allocations: 245.5 kB / 1.166 GB, free: 27.34 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002346/1.075, allocations: 2.213 MB / 1.168 GB, free: 26.69 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.075, allocations: 4 kB / 1.168 GB, free: 26.68 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.724e-06/1.075, allocations: 2.625 kB / 1.168 GB, free: 26.68 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.128e-05/1.075, allocations: 0 / 1.168 GB, free: 26.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01038/1.086, allocations: 1.346 MB / 1.169 GB, free: 25.77 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/1.086, allocations: 8.656 kB / 1.169 GB, free: 25.77 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000397/1.086, allocations: 103.8 kB / 1.169 GB, free: 25.71 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/1.087, allocations: 359 kB / 1.17 GB, free: 25.45 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/1.087, allocations: 7.25 kB / 1.17 GB, free: 25.45 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/1.087, allocations: 13.58 kB / 1.17 GB, free: 25.44 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004736/1.087, allocations: 389 kB / 1.17 GB, free: 25.38 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/1.087, allocations: 0.5 kB / 1.17 GB, free: 25.38 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/1.087, allocations: 4.781 kB / 1.17 GB, free: 25.38 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/1.087, allocations: 1.344 kB / 1.17 GB, free: 25.38 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007963/1.088, allocations: 436.5 kB / 1.17 GB, free: 25.37 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007005/1.089, allocations: 0.5999 MB / 1.171 GB, free: 25.03 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005877/1.089, allocations: 0.5569 MB / 1.172 GB, free: 24.98 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004046/1.09, allocations: 331.9 kB / 1.172 GB, free: 24.96 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006524/1.09, allocations: 131 kB / 1.172 GB, free: 24.95 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004922/1.091, allocations: 409.5 kB / 1.172 GB, free: 24.87 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/1.091, allocations: 0 / 1.172 GB, free: 24.87 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.001697/1.093, allocations: 1.299 MB / 1.174 GB, free: 24.75 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/1.093, allocations: 80.62 kB / 1.174 GB, free: 24.65 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/1.094, allocations: 1.298 MB / 1.175 GB, free: 24.14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/1.094, allocations: 36.53 kB / 1.175 GB, free: 24.1 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/1.094, allocations: 290.7 kB / 1.175 GB, free: 23.88 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/1.094, allocations: 20.78 kB / 1.175 GB, free: 23.86 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004065/1.095, allocations: 352 kB / 1.176 GB, free: 23.76 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.441e-05/1.095, allocations: 321.6 kB / 1.176 GB, free: 23.45 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/1.096, allocations: 1.366 MB / 1.177 GB, free: 23 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/1.098, allocations: 1.504 MB / 1.179 GB, free: 22.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00769/1.105, allocations: 3.566 MB / 1.182 GB, free: 20.62 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/1.105, allocations: 0 / 1.182 GB, free: 20.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004813/1.11, allocations: 4.013 MB / 1.186 GB, free: 18.64 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/1.11, allocations: 10.25 kB / 1.186 GB, free: 18.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/1.11, allocations: 6.281 kB / 1.186 GB, free: 18.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/1.11, allocations: 1.859 kB / 1.186 GB, free: 18.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/1.11, allocations: 14.33 kB / 1.186 GB, free: 18.63 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/1.11, allocations: 1.656 kB / 1.186 GB, free: 18.63 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006743/1.111, allocations: 249.2 kB / 1.186 GB, free: 18.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/1.111, allocations: 24.27 kB / 1.186 GB, free: 18.43 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0004307/1.112, allocations: 248.8 kB / 1.187 GB, free: 18.3 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.437e-05/1.112, allocations: 84.19 kB / 1.187 GB, free: 18.24 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/1.113, allocations: 0.947 MB / 1.188 GB, free: 18.16 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.113, allocations: 1.375 kB / 1.188 GB, free: 18.16 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.113, allocations: 6.078 kB / 1.188 GB, free: 18.15 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/1.113, allocations: 0.7031 kB / 1.188 GB, free: 18.15 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000562/1.114, allocations: 463.6 kB / 1.188 GB, free: 17.94 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/1.114, allocations: 1.062 kB / 1.188 GB, free: 17.94 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.745e-05/1.114, allocations: 11.11 kB / 1.188 GB, free: 17.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.114, allocations: 1.312 kB / 1.188 GB, free: 17.94 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/1.114, allocations: 7.688 kB / 1.188 GB, free: 17.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/1.114, allocations: 1.797 kB / 1.188 GB, free: 17.93 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.114, allocations: 1.375 kB / 1.188 GB, free: 17.93 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/1.115, allocations: 1.021 MB / 1.189 GB, free: 17.77 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/1.115, allocations: 89.08 kB / 1.189 GB, free: 17.7 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.994e-05/1.115, allocations: 6.406 kB / 1.189 GB, free: 17.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/1.115, allocations: 9.734 kB / 1.189 GB, free: 17.7 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/1.115, allocations: 5.438 kB / 1.189 GB, free: 17.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/1.115, allocations: 13.06 kB / 1.189 GB, free: 17.7 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009041/1.116, allocations: 0.7226 MB / 1.19 GB, free: 17.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.116, allocations: 1.188 kB / 1.19 GB, free: 17.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001939/1.118, allocations: 0.6002 MB / 1.191 GB, free: 17.34 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001945/1.12, allocations: 0.7083 MB / 1.191 GB, free: 17.07 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002635/1.123, allocations: 1.997 MB / 1.193 GB, free: 16.53 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.123, allocations: 0 / 1.193 GB, free: 16.53 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004749/1.123, allocations: 343.6 kB / 1.194 GB, free: 16.51 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/1.124, allocations: 57.14 kB / 1.194 GB, free: 16.47 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/1.126, allocations: 1.898 MB / 1.195 GB, free: 15.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/1.127, allocations: 392.8 kB / 1.196 GB, free: 15.73 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001601/1.127, allocations: 42.02 kB / 1.196 GB, free: 15.71 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/1.127, allocations: 29.02 kB / 1.196 GB, free: 15.71 MB / 1.076 GB Notification: Performance of SimCode: time 8.72e-07/1.127, allocations: 0 / 1.196 GB, free: 15.71 MB / 1.076 GB Notification: Performance of Templates: time 0.0316/1.159, allocations: 14.76 MB / 1.21 GB, free: 14.41 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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: 10.611328920000233]