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.001684/0.001684, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002116/0.002116, allocations: 218.8 kB / 22.26 MB, free: 5.125 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.388/1.388, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.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 3.069/3.069, allocations: 0.49 GB / 0.7951 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.001912/0.001912, allocations: 72 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3453, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00308/0.3484, allocations: 1.806 MB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008147/0.3565, allocations: 5.495 MB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.3567, allocations: 0 / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.3579, allocations: 379.4 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.358, allocations: 63.66 kB / 1.334 GB, free: 10.15 MB / 1.029 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.00395/0.362, allocations: 1.624 MB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.3623, allocations: 159.4 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.953e-05/0.3623, allocations: 5.75 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.851e-05/0.3624, allocations: 67.7 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.3627, allocations: 167.4 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.3627, allocations: 20 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003993/0.3667, allocations: 2.66 MB / 1.338 GB, free: 5.449 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.3669, allocations: 279.8 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00029/0.3672, allocations: 302.1 kB / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003237/0.3705, allocations: 2.235 MB / 1.341 GB, free: 2.637 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3705, allocations: 7.984 kB / 1.341 GB, free: 2.629 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3705, allocations: 0 / 1.341 GB, free: 2.629 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.3705, allocations: 0 / 1.341 GB, free: 2.629 MB / 1.029 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.009035/0.3795, allocations: 1.335 MB / 1.342 GB, free: 1.258 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.3796, allocations: 12.03 kB / 1.342 GB, free: 1.246 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.483e-05/0.3796, allocations: 34.73 kB / 1.342 GB, free: 1.203 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004072/0.38, allocations: 104.2 kB / 1.342 GB, free: 1.102 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006177/0.3806, allocations: 344.6 kB / 1.343 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.3806, allocations: 8.359 kB / 1.343 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.3807, allocations: 12.36 kB / 1.343 GB, free: 0.7109 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/0.3812, allocations: 391.2 kB / 1.343 GB, free: 324 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3812, allocations: 0 / 1.343 GB, free: 324 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.3812, allocations: 7.938 kB / 1.343 GB, free: 316 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.3812, allocations: 7.984 kB / 1.343 GB, free: 308 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/0.3817, allocations: 431.8 kB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007093/0.3824, allocations: 0.6377 MB / 1.344 GB, free: 15.2 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005856/0.383, allocations: 0.5594 MB / 1.345 GB, free: 14.62 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.3833, allocations: 337.7 kB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006309/0.384, allocations: 127.9 kB / 1.345 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004639/0.3844, allocations: 416.8 kB / 1.345 GB, free: 13.73 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.3844, allocations: 0 / 1.345 GB, free: 13.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.001526/0.386, allocations: 1.297 MB / 1.347 GB, free: 12.43 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.386, allocations: 81.11 kB / 1.347 GB, free: 12.33 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.3875, allocations: 1.302 MB / 1.348 GB, free: 11.02 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.3875, allocations: 33.69 kB / 1.348 GB, free: 10.98 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.3878, allocations: 285.9 kB / 1.348 GB, free: 10.7 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.3878, allocations: 23.8 kB / 1.348 GB, free: 10.67 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003451/0.3882, allocations: 355.6 kB / 1.349 GB, free: 10.32 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3883, allocations: 318 kB / 1.349 GB, free: 10 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.3897, allocations: 1.373 MB / 1.35 GB, free: 8.629 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.3912, allocations: 1.509 MB / 1.352 GB, free: 7.109 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007275/0.3985, allocations: 3.56 MB / 1.355 GB, free: 3.457 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3985, allocations: 0 / 1.355 GB, free: 3.457 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004776/0.4032, allocations: 4.015 MB / 1.359 GB, free: 15.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.4033, allocations: 4 kB / 1.359 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.4033, allocations: 4 kB / 1.359 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.4033, allocations: 3.984 kB / 1.359 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.4034, allocations: 15.94 kB / 1.359 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.4034, allocations: 320 / 1.359 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000511/0.404, allocations: 253.2 kB / 1.36 GB, free: 15.13 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.983e-05/0.404, allocations: 23.98 kB / 1.36 GB, free: 15.11 MB / 1.061 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.0003571/0.4044, allocations: 246.2 kB / 1.36 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.436e-05/0.4044, allocations: 79.23 kB / 1.36 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.4055, allocations: 0.9524 MB / 1.361 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4055, allocations: 0 / 1.361 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4055, allocations: 4 kB / 1.361 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4055, allocations: 4 kB / 1.361 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005117/0.406, allocations: 497.4 kB / 1.361 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.4061, allocations: 11.97 kB / 1.361 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.981e-05/0.4061, allocations: 7.938 kB / 1.361 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4061, allocations: 0 / 1.361 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.4061, allocations: 7.984 kB / 1.361 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4061, allocations: 0 / 1.361 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4062, allocations: 3.984 kB / 1.361 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.4072, allocations: 1.014 MB / 1.362 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.967e-05/0.4073, allocations: 91.22 kB / 1.362 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.036e-05/0.4073, allocations: 0 / 1.362 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.4075, allocations: 8 kB / 1.362 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.4075, allocations: 7.984 kB / 1.362 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.766e-05/0.4076, allocations: 15.92 kB / 1.362 GB, free: 12.1 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008449/0.4084, allocations: 0.7222 MB / 1.363 GB, free: 11.37 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4084, allocations: 4 kB / 1.363 GB, free: 11.37 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00162/0.41, allocations: 0.5962 MB / 1.364 GB, free: 10.77 MB / 1.061 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.003153/0.4132, allocations: 2.163 MB / 1.366 GB, free: 8.59 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002197/0.4154, allocations: 1.992 MB / 1.368 GB, free: 6.586 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4154, allocations: 4 kB / 1.368 GB, free: 6.582 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003439/0.4157, allocations: 335.8 kB / 1.368 GB, free: 6.254 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.4161, allocations: 77.06 kB / 1.368 GB, free: 6.176 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.4329, allocations: 15.29 MB / 1.383 GB, free: 6.703 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006506/0.4336, allocations: 0.9839 MB / 1.384 GB, free: 5.691 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001641/0.4337, allocations: 45.39 kB / 1.384 GB, free: 5.645 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003568/0.4341, allocations: 287.3 kB / 1.384 GB, free: 5.363 MB / 1.076 GB Notification: Performance of SimCode: time 1.483e-06/0.4341, allocations: 0 / 1.384 GB, free: 5.363 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06306/0.4971, allocations: 24.47 MB / 1.408 GB, free: 13.08 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.18, allocations: 6.312 kB / 1.408 GB, free: 13.08 MB / 1.107 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.csv --start-time 0 --stop-time 1.8e+12 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 7.2e+08 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.csv","/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: 20.278048006999597]