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.001666/0.001666, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002043/0.002043, allocations: 211.3 kB / 22.24 MB, free: 4.859 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.425/1.425, 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 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.076/3.076, allocations: 0.4892 GB / 0.7943 GB, free: 35.58 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.001962/0.001962, allocations: 70.58 kB / 1.153 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3347, allocations: 176.1 MB / 1.325 GB, free: 2.301 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003143/0.3379, allocations: 1.74 MB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008058/0.3459, allocations: 4.9 MB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.346, allocations: 0 / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.3473, allocations: 338.5 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.3474, allocations: 59.67 kB / 1.332 GB, free: 11.24 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.004045/0.3515, allocations: 1.594 MB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.3517, allocations: 159.4 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.411e-05/0.3518, allocations: 5.75 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.758e-05/0.3519, allocations: 67.7 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.3521, allocations: 167.4 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.3521, allocations: 12 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003893/0.356, allocations: 2.406 MB / 1.336 GB, free: 6.832 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.3563, allocations: 279.8 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000246/0.3565, allocations: 238.8 kB / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003154/0.3597, allocations: 2.208 MB / 1.339 GB, free: 4.109 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3597, allocations: 0 / 1.339 GB, free: 4.109 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3597, allocations: 4 kB / 1.339 GB, free: 4.105 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.3597, allocations: 0 / 1.339 GB, free: 4.105 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.009545/0.3692, allocations: 1.342 MB / 1.34 GB, free: 2.727 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3693, allocations: 12.03 kB / 1.34 GB, free: 2.715 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.176e-05/0.3693, allocations: 34.69 kB / 1.34 GB, free: 2.672 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003966/0.3697, allocations: 104.1 kB / 1.34 GB, free: 2.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006107/0.3703, allocations: 344.5 kB / 1.341 GB, free: 2.199 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.3704, allocations: 12.36 kB / 1.341 GB, free: 2.188 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/0.3704, allocations: 8.375 kB / 1.341 GB, free: 2.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.3709, allocations: 391.3 kB / 1.341 GB, free: 1.785 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3709, allocations: 0 / 1.341 GB, free: 1.785 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3709, allocations: 4 kB / 1.341 GB, free: 1.781 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3709, allocations: 0 / 1.341 GB, free: 1.781 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004864/0.3714, allocations: 439.7 kB / 1.342 GB, free: 1.352 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000636/0.372, allocations: 0.6182 MB / 1.342 GB, free: 0.6914 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005844/0.3726, allocations: 0.5633 MB / 1.343 GB, free: 112 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/0.373, allocations: 333.7 kB / 1.343 GB, free: 15.78 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005893/0.3736, allocations: 127.9 kB / 1.343 GB, free: 15.65 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004376/0.374, allocations: 408.8 kB / 1.344 GB, free: 15.23 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.374, allocations: 4 kB / 1.344 GB, free: 15.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.001562/0.3756, allocations: 1.301 MB / 1.345 GB, free: 13.92 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.3756, allocations: 81.11 kB / 1.345 GB, free: 13.82 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.3771, allocations: 1.298 MB / 1.346 GB, free: 12.52 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.3771, allocations: 29.7 kB / 1.346 GB, free: 12.48 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.3774, allocations: 293.8 kB / 1.346 GB, free: 12.19 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.3774, allocations: 23.8 kB / 1.346 GB, free: 12.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003565/0.3778, allocations: 359.7 kB / 1.347 GB, free: 11.81 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3779, allocations: 322 kB / 1.347 GB, free: 11.49 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/0.3794, allocations: 1.369 MB / 1.348 GB, free: 10.12 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.381, allocations: 1.505 MB / 1.35 GB, free: 8.602 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007326/0.3884, allocations: 3.553 MB / 1.353 GB, free: 4.957 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3884, allocations: 3.938 kB / 1.353 GB, free: 4.953 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004609/0.393, allocations: 4.023 MB / 1.357 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.393, allocations: 4 kB / 1.357 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.393, allocations: 4 kB / 1.357 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.393, allocations: 0 / 1.357 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.3932, allocations: 19.98 kB / 1.357 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.3932, allocations: 7.938 kB / 1.357 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.3937, allocations: 237.3 kB / 1.358 GB, free: 0.625 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.3938, allocations: 28.02 kB / 1.358 GB, free: 0.5977 MB / 1.045 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.0003402/0.3941, allocations: 242.2 kB / 1.358 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.597e-05/0.3942, allocations: 83.23 kB / 1.358 GB, free: 276 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.3953, allocations: 0.9447 MB / 1.359 GB, free: 15.31 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3953, allocations: 0 / 1.359 GB, free: 15.31 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3953, allocations: 3.984 kB / 1.359 GB, free: 15.31 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3953, allocations: 7.984 kB / 1.359 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004751/0.3958, allocations: 497.4 kB / 1.359 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.3958, allocations: 3.938 kB / 1.359 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.049e-05/0.3959, allocations: 7.984 kB / 1.359 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3959, allocations: 0 / 1.359 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.3959, allocations: 4 kB / 1.359 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3959, allocations: 0 / 1.359 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3959, allocations: 0 / 1.359 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.3969, allocations: 1.014 MB / 1.36 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.397, allocations: 95.23 kB / 1.36 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.028e-05/0.3971, allocations: 0 / 1.36 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.3972, allocations: 7.984 kB / 1.36 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.3972, allocations: 7.984 kB / 1.36 GB, free: 13.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.3973, allocations: 15.98 kB / 1.36 GB, free: 13.61 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008096/0.3981, allocations: 0.726 MB / 1.361 GB, free: 12.88 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3981, allocations: 0 / 1.361 GB, free: 12.88 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001521/0.3996, allocations: 0.5962 MB / 1.362 GB, free: 12.28 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.003113/0.4027, allocations: 2.174 MB / 1.364 GB, free: 10.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002097/0.4048, allocations: 1.996 MB / 1.366 GB, free: 8.082 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4048, allocations: 0 / 1.366 GB, free: 8.082 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.4052, allocations: 335.8 kB / 1.366 GB, free: 7.754 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.4056, allocations: 64.7 kB / 1.366 GB, free: 7.688 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/0.4214, allocations: 15.29 MB / 1.381 GB, free: 8.215 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.4218, allocations: 397.6 kB / 1.382 GB, free: 7.801 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001844/0.422, allocations: 45.39 kB / 1.382 GB, free: 7.754 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.4224, allocations: 283.3 kB / 1.382 GB, free: 7.477 MB / 1.076 GB Notification: Performance of SimCode: time 1.082e-06/0.4224, allocations: 0 / 1.382 GB, free: 7.477 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06673/0.4891, allocations: 25.57 MB / 1.407 GB, free: 14.17 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.08, allocations: 12 kB / 1.407 GB, free: 14.16 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.205714914016426]