Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.002477/0.002477, 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.003068/0.003068, allocations: 214.3 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.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.857/2.857, allocations: 476 MB / 0.7707 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 176] 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.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [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.002206/0.002206, allocations: 70.45 kB / 1.118 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3827, allocations: 170 MB / 1.284 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002841/0.3855, allocations: 1.431 MB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007255/0.3928, allocations: 3.843 MB / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.854e-05/0.3929, allocations: 0 / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.393, allocations: 19.86 kB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.3933, allocations: 39.77 kB / 1.289 GB, free: 6.492 MB / 0.9825 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.004493/0.3978, allocations: 1.57 MB / 1.291 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.398, allocations: 103.7 kB / 1.291 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.899e-05/0.398, allocations: 4 kB / 1.291 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.789e-05/0.3981, allocations: 43.91 kB / 1.291 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.3984, allocations: 151.6 kB / 1.291 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.3984, allocations: 12 kB / 1.291 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004159/0.4026, allocations: 2.371 MB / 1.293 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002595/0.4028, allocations: 267.8 kB / 1.293 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.4031, allocations: 218.9 kB / 1.294 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003397/0.4065, allocations: 2.138 MB / 1.296 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4065, allocations: 4 kB / 1.296 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.545e-06/0.4065, allocations: 0 / 1.296 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.4065, allocations: 0 / 1.296 GB, free: 15.61 MB / 0.9981 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.01009/0.4166, allocations: 1.268 MB / 1.297 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.4166, allocations: 12.03 kB / 1.297 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004275/0.4171, allocations: 92.2 kB / 1.297 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000526/0.4176, allocations: 311.2 kB / 1.297 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.4176, allocations: 4.375 kB / 1.297 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.4176, allocations: 8.359 kB / 1.297 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.4182, allocations: 391.5 kB / 1.298 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4182, allocations: 3.844 kB / 1.298 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.4182, allocations: 4 kB / 1.298 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4182, allocations: 0 / 1.298 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005306/0.4187, allocations: 439.7 kB / 1.298 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007051/0.4195, allocations: 0.5731 MB / 1.299 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000642/0.4201, allocations: 0.5633 MB / 1.299 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003752/0.4205, allocations: 337.7 kB / 1.3 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000733/0.4212, allocations: 131.7 kB / 1.3 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000503/0.4217, allocations: 416.8 kB / 1.3 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.4217, allocations: 0 / 1.3 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001565/0.4233, allocations: 1.289 MB / 1.301 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.4233, allocations: 85.05 kB / 1.302 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.4247, allocations: 1.215 MB / 1.303 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.17e-05/0.4247, allocations: 37.69 kB / 1.303 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.425, allocations: 270 kB / 1.303 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.425, allocations: 23.83 kB / 1.303 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003772/0.4254, allocations: 351.6 kB / 1.303 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4255, allocations: 310 kB / 1.304 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.427, allocations: 1.369 MB / 1.305 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.4286, allocations: 1.505 MB / 1.306 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007631/0.4362, allocations: 3.56 MB / 1.31 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.4363, allocations: 0 / 1.31 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005162/0.4414, allocations: 4.007 MB / 1.314 GB, free: 12.74 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.4414, allocations: 7.938 kB / 1.314 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.4415, allocations: 4 kB / 1.314 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.4415, allocations: 0 / 1.314 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.4416, allocations: 19.92 kB / 1.314 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4416, allocations: 4.031 kB / 1.314 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005683/0.4422, allocations: 241.3 kB / 1.314 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-05/0.4423, allocations: 27.98 kB / 1.314 GB, free: 12.44 MB / 1.014 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.0003651/0.4426, allocations: 239.2 kB / 1.314 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.041e-05/0.4427, allocations: 79.22 kB / 1.314 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.4439, allocations: 0.936 MB / 1.315 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4439, allocations: 7.938 kB / 1.315 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4439, allocations: 4.031 kB / 1.315 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4439, allocations: 0 / 1.315 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.4444, allocations: 435.4 kB / 1.316 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4444, allocations: 4 kB / 1.316 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.887e-05/0.4445, allocations: 7.984 kB / 1.316 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.4445, allocations: 3.938 kB / 1.316 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.4445, allocations: 11.94 kB / 1.316 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4445, allocations: 0 / 1.316 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4445, allocations: 0 / 1.316 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.4457, allocations: 1.01 MB / 1.317 GB, free: 9.648 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-05/0.4458, allocations: 79.28 kB / 1.317 GB, free: 9.57 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.949e-05/0.4458, allocations: 7.938 kB / 1.317 GB, free: 9.562 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.446, allocations: 11.98 kB / 1.317 GB, free: 9.551 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.446, allocations: 0 / 1.317 GB, free: 9.551 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.4461, allocations: 19.97 kB / 1.317 GB, free: 9.531 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008511/0.4469, allocations: 0.6727 MB / 1.318 GB, free: 8.852 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4469, allocations: 0 / 1.318 GB, free: 8.852 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001766/0.4487, allocations: 0.5923 MB / 1.318 GB, free: 8.258 MB / 1.014 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.001898/0.4506, allocations: 0.6929 MB / 1.319 GB, free: 7.578 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00229/0.4529, allocations: 1.997 MB / 1.321 GB, free: 5.566 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4529, allocations: 0 / 1.321 GB, free: 5.566 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003838/0.4533, allocations: 343.8 kB / 1.321 GB, free: 5.23 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.4536, allocations: 37.91 kB / 1.321 GB, free: 5.191 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.456, allocations: 1.822 MB / 1.323 GB, free: 3.328 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.4564, allocations: 372.1 kB / 1.323 GB, free: 2.938 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.4565, allocations: 23.42 kB / 1.323 GB, free: 2.914 MB / 1.014 GB Notification: Performance of SimCode: time 7.52e-07/0.4565, allocations: 7.938 kB / 1.323 GB, free: 2.906 MB / 1.014 GB Notification: Performance of Templates: time 0.02571/0.4822, allocations: 14.24 MB / 1.337 GB, free: 4.676 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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: 16.539132927078754]