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_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.001338/0.001338, 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.001634/0.001634, allocations: 211.7 kB / 22.24 MB, free: 4.855 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.391/1.391, allocations: 230.6 MB / 256 MB, free: 7.805 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.061/3.061, allocations: 0.5107 GB / 0.8158 GB, free: 17.87 MB / 0.6231 GB " [Timeout remaining time 177] 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_SmallScaleValidation,fileNamePrefix="Buildings_latest_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_latest_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.002031/0.002031, allocations: 65.41 kB / 1.186 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3391, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002963/0.3421, allocations: 1.732 MB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007991/0.3501, allocations: 4.896 MB / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.3502, allocations: 7.938 kB / 1.37 GB, free: 7.398 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.3514, allocations: 330.5 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.3515, allocations: 59.67 kB / 1.37 GB, free: 7.016 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.003982/0.3555, allocations: 1.587 MB / 1.372 GB, free: 5.426 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000279/0.3558, allocations: 171.3 kB / 1.372 GB, free: 5.258 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.3559, allocations: 5.75 kB / 1.372 GB, free: 5.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.607e-05/0.3559, allocations: 63.7 kB / 1.372 GB, free: 5.188 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.3562, allocations: 171.4 kB / 1.372 GB, free: 5.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/0.3562, allocations: 16 kB / 1.372 GB, free: 5.004 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004053/0.3603, allocations: 2.386 MB / 1.375 GB, free: 2.613 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002758/0.3606, allocations: 275.8 kB / 1.375 GB, free: 2.344 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.3608, allocations: 258.6 kB / 1.375 GB, free: 2.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003667/0.3645, allocations: 2.204 MB / 1.377 GB, free: 15.88 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3645, allocations: 0 / 1.377 GB, free: 15.88 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3645, allocations: 4 kB / 1.377 GB, free: 15.88 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.3645, allocations: 0 / 1.377 GB, free: 15.88 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.01011/0.3746, allocations: 1.331 MB / 1.379 GB, free: 14.51 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3747, allocations: 12.03 kB / 1.379 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.499e-05/0.3747, allocations: 38.75 kB / 1.379 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003861/0.3751, allocations: 100.2 kB / 1.379 GB, free: 14.35 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006294/0.3757, allocations: 348.5 kB / 1.379 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.3758, allocations: 8.375 kB / 1.379 GB, free: 13.97 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.3758, allocations: 4.375 kB / 1.379 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.3763, allocations: 395.2 kB / 1.379 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3763, allocations: 4 kB / 1.379 GB, free: 13.56 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3763, allocations: 0 / 1.379 GB, free: 13.56 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3763, allocations: 0 / 1.379 GB, free: 13.56 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000494/0.3768, allocations: 431.8 kB / 1.38 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006772/0.3775, allocations: 0.6183 MB / 1.38 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.3781, allocations: 0.5632 MB / 1.381 GB, free: 11.9 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/0.3785, allocations: 333.7 kB / 1.381 GB, free: 11.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006191/0.3791, allocations: 143.7 kB / 1.381 GB, free: 11.43 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004678/0.3795, allocations: 416.7 kB / 1.382 GB, free: 11 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.3795, allocations: 0 / 1.382 GB, free: 11 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.001531/0.3811, allocations: 1.301 MB / 1.383 GB, free: 9.691 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.3811, allocations: 85.05 kB / 1.383 GB, free: 9.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.3825, allocations: 1.298 MB / 1.384 GB, free: 8.281 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.509e-05/0.3826, allocations: 29.69 kB / 1.385 GB, free: 8.246 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/0.3828, allocations: 289.9 kB / 1.385 GB, free: 7.957 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.3829, allocations: 23.83 kB / 1.385 GB, free: 7.934 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003469/0.3832, allocations: 351.6 kB / 1.385 GB, free: 7.586 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3834, allocations: 322 kB / 1.385 GB, free: 7.266 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.3848, allocations: 1.365 MB / 1.387 GB, free: 5.898 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.3863, allocations: 1.509 MB / 1.388 GB, free: 4.379 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007609/0.394, allocations: 3.56 MB / 1.392 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.394, allocations: 0 / 1.392 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004806/0.3988, allocations: 4.019 MB / 1.396 GB, free: 12.67 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3988, allocations: 8.031 kB / 1.396 GB, free: 12.66 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.3988, allocations: 4 kB / 1.396 GB, free: 12.66 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3988, allocations: 0 / 1.396 GB, free: 12.66 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.399, allocations: 19.92 kB / 1.396 GB, free: 12.64 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.399, allocations: 8 kB / 1.396 GB, free: 12.63 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005241/0.3995, allocations: 237.4 kB / 1.396 GB, free: 12.4 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/0.3995, allocations: 23.98 kB / 1.396 GB, free: 12.38 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.0003531/0.3999, allocations: 245.7 kB / 1.396 GB, free: 12.12 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.134e-05/0.4, allocations: 91.19 kB / 1.396 GB, free: 12.04 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.4011, allocations: 0.9446 MB / 1.397 GB, free: 11.08 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4011, allocations: 0 / 1.397 GB, free: 11.08 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4011, allocations: 0 / 1.397 GB, free: 11.08 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4011, allocations: 4 kB / 1.397 GB, free: 11.08 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.4016, allocations: 489.5 kB / 1.398 GB, free: 10.56 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4016, allocations: 7.938 kB / 1.398 GB, free: 10.55 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.966e-05/0.4017, allocations: 4 kB / 1.398 GB, free: 10.55 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.4017, allocations: 4.031 kB / 1.398 GB, free: 10.55 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.4017, allocations: 15.92 kB / 1.398 GB, free: 10.53 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4017, allocations: 0 / 1.398 GB, free: 10.53 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4017, allocations: 0 / 1.398 GB, free: 10.53 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.4028, allocations: 1.01 MB / 1.399 GB, free: 9.5 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.4029, allocations: 95.12 kB / 1.399 GB, free: 9.406 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.361e-05/0.403, allocations: 4 kB / 1.399 GB, free: 9.402 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.4031, allocations: 4 kB / 1.399 GB, free: 9.398 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.4032, allocations: 15.92 kB / 1.399 GB, free: 9.383 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.4032, allocations: 15.97 kB / 1.399 GB, free: 9.367 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008478/0.4041, allocations: 0.7183 MB / 1.4 GB, free: 8.645 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4041, allocations: 0 / 1.4 GB, free: 8.645 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001598/0.4057, allocations: 0.5962 MB / 1.4 GB, free: 8.047 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.003315/0.409, allocations: 2.161 MB / 1.402 GB, free: 5.875 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002225/0.4112, allocations: 2.003 MB / 1.404 GB, free: 3.859 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4112, allocations: 0 / 1.404 GB, free: 3.859 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.4116, allocations: 331.8 kB / 1.404 GB, free: 3.535 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.412, allocations: 56.83 kB / 1.405 GB, free: 3.477 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/0.4285, allocations: 15.3 MB / 1.419 GB, free: 3.996 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.4289, allocations: 397.7 kB / 1.42 GB, free: 3.586 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000166/0.4291, allocations: 45.39 kB / 1.42 GB, free: 3.539 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/0.4295, allocations: 287.3 kB / 1.42 GB, free: 3.258 MB / 1.107 GB Notification: Performance of SimCode: time 1.012e-06/0.4295, allocations: 0 / 1.42 GB, free: 3.258 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06384/0.4933, allocations: 25.52 MB / 1.445 GB, free: 9.996 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.14, allocations: 15.77 kB / 1.445 GB, free: 9.984 MB / 1.139 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.csv --start-time 0 --stop-time 1.8e+12 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 7.2e+08 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.239331197924912]