Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001499/0.001499, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00171/0.00171, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.174/3.174, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) [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.002211/0.002211, allocations: 67.77 kB / 1.186 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3528, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002942/0.3557, allocations: 1.442 MB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007509/0.3632, allocations: 3.85 MB / 1.369 GB, free: 8.703 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.3633, allocations: 0 / 1.369 GB, free: 8.703 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.3635, allocations: 15.86 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.3638, allocations: 31.78 kB / 1.369 GB, free: 8.656 MB / 1.061 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.005088/0.3689, allocations: 1.587 MB / 1.37 GB, free: 7.066 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.3691, allocations: 91.67 kB / 1.37 GB, free: 6.977 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.421e-05/0.3691, allocations: 7.984 kB / 1.37 GB, free: 6.969 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.3693, allocations: 47.89 kB / 1.37 GB, free: 6.922 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.3696, allocations: 147.6 kB / 1.371 GB, free: 6.777 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.45e-05/0.3696, allocations: 15.94 kB / 1.371 GB, free: 6.762 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004759/0.3744, allocations: 2.402 MB / 1.373 GB, free: 4.355 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002954/0.3747, allocations: 263.9 kB / 1.373 GB, free: 4.094 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002759/0.3749, allocations: 222.9 kB / 1.373 GB, free: 3.875 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004441/0.3794, allocations: 2.138 MB / 1.375 GB, free: 1.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3794, allocations: 8 kB / 1.375 GB, free: 1.723 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3794, allocations: 0 / 1.375 GB, free: 1.723 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.125e-05/0.3794, allocations: 0 / 1.375 GB, free: 1.723 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01014/0.3896, allocations: 1.26 MB / 1.377 GB, free: 436 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3896, allocations: 11.97 kB / 1.377 GB, free: 424 kB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.77e-05/0.3896, allocations: 34.73 kB / 1.377 GB, free: 380 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004109/0.3901, allocations: 92.25 kB / 1.377 GB, free: 288 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000492/0.3905, allocations: 311.3 kB / 1.377 GB, free: 15.94 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.3906, allocations: 4.375 kB / 1.377 GB, free: 15.93 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.3906, allocations: 12.38 kB / 1.377 GB, free: 15.92 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005036/0.3911, allocations: 391.3 kB / 1.377 GB, free: 15.53 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3911, allocations: 0 / 1.377 GB, free: 15.53 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3911, allocations: 0 / 1.377 GB, free: 15.53 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3911, allocations: 0 / 1.377 GB, free: 15.53 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004802/0.3916, allocations: 439.7 kB / 1.378 GB, free: 15.1 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006492/0.3923, allocations: 0.5855 MB / 1.378 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000612/0.3929, allocations: 0.5671 MB / 1.379 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.3932, allocations: 341.7 kB / 1.379 GB, free: 13.54 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007361/0.394, allocations: 131.7 kB / 1.379 GB, free: 13.41 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004838/0.3945, allocations: 412.8 kB / 1.38 GB, free: 12.99 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 2.004e-06/0.3945, allocations: 0 / 1.38 GB, free: 12.99 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.001556/0.396, allocations: 1.289 MB / 1.381 GB, free: 11.7 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.3961, allocations: 89.03 kB / 1.381 GB, free: 11.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.3974, allocations: 1.215 MB / 1.382 GB, free: 10.36 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.3975, allocations: 33.7 kB / 1.382 GB, free: 10.32 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.3977, allocations: 261.9 kB / 1.383 GB, free: 10.06 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.3977, allocations: 35.89 kB / 1.383 GB, free: 10.02 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004377/0.3982, allocations: 347.6 kB / 1.383 GB, free: 9.68 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3983, allocations: 314 kB / 1.383 GB, free: 9.367 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.3998, allocations: 1.369 MB / 1.385 GB, free: 7.996 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.4013, allocations: 1.505 MB / 1.386 GB, free: 6.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007404/0.4087, allocations: 3.553 MB / 1.39 GB, free: 2.836 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.4087, allocations: 4 kB / 1.39 GB, free: 2.832 MB / 1.076 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004867/0.4136, allocations: 4.011 MB / 1.394 GB, free: 14.79 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.4136, allocations: 4 kB / 1.394 GB, free: 14.78 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.4137, allocations: 4 kB / 1.394 GB, free: 14.78 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.4137, allocations: 0 / 1.394 GB, free: 14.78 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.4138, allocations: 23.86 kB / 1.394 GB, free: 14.75 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4138, allocations: 0 / 1.394 GB, free: 14.75 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/0.4143, allocations: 245.4 kB / 1.394 GB, free: 14.51 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.4144, allocations: 28.3 kB / 1.394 GB, free: 14.48 MB / 1.092 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.0003432/0.4147, allocations: 233.7 kB / 1.394 GB, free: 14.25 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.548e-05/0.4148, allocations: 79.23 kB / 1.394 GB, free: 14.17 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.4159, allocations: 0.9399 MB / 1.395 GB, free: 13.22 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.4159, allocations: 7.938 kB / 1.395 GB, free: 13.21 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.4159, allocations: 4 kB / 1.395 GB, free: 13.21 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4159, allocations: 4.031 kB / 1.395 GB, free: 13.2 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004774/0.4164, allocations: 471.9 kB / 1.396 GB, free: 12.7 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4164, allocations: 3.938 kB / 1.396 GB, free: 12.7 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.581e-05/0.4165, allocations: 7.984 kB / 1.396 GB, free: 12.69 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.4165, allocations: 0 / 1.396 GB, free: 12.69 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.4165, allocations: 4 kB / 1.396 GB, free: 12.69 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4165, allocations: 0 / 1.396 GB, free: 12.69 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4165, allocations: 3.938 kB / 1.396 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.4175, allocations: 1.006 MB / 1.397 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.4177, allocations: 95.22 kB / 1.397 GB, free: 11.56 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.546e-05/0.4178, allocations: 0 / 1.397 GB, free: 11.56 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.4179, allocations: 7.984 kB / 1.397 GB, free: 11.55 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.418, allocations: 7.984 kB / 1.397 GB, free: 11.55 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.418, allocations: 7.984 kB / 1.397 GB, free: 11.54 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008285/0.4188, allocations: 0.6689 MB / 1.397 GB, free: 10.86 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.4188, allocations: 4 kB / 1.397 GB, free: 10.86 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001533/0.4204, allocations: 0.5845 MB / 1.398 GB, free: 10.27 MB / 1.092 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.003365/0.4237, allocations: 2.152 MB / 1.4 GB, free: 8.109 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002361/0.4261, allocations: 1.993 MB / 1.402 GB, free: 6.102 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.4261, allocations: 4 kB / 1.402 GB, free: 6.098 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000384/0.4265, allocations: 339.8 kB / 1.402 GB, free: 5.766 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.4268, allocations: 40.59 kB / 1.402 GB, free: 5.723 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/0.444, allocations: 15.28 MB / 1.417 GB, free: 6.262 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.4444, allocations: 376 kB / 1.418 GB, free: 5.871 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001748/0.4445, allocations: 36.41 kB / 1.418 GB, free: 5.836 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/0.4449, allocations: 271.5 kB / 1.418 GB, free: 5.57 MB / 1.107 GB Notification: Performance of SimCode: time 1.283e-06/0.4449, allocations: 0 / 1.418 GB, free: 5.57 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06489/0.5098, allocations: 25.16 MB / 1.442 GB, free: 12.65 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.13, allocations: 19.84 kB / 1.442 GB, free: 12.63 MB / 1.139 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --stepSize=164800 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.866302738897502]