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.001411/0.001411, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001594/0.001594, allocations: 215.2 kB / 22.25 MB, free: 5.258 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.773 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.084/3.084, allocations: 0.49 GB / 0.7951 GB, free: 35.52 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.001919/0.001919, allocations: 66.39 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3281, allocations: 176.1 MB / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003469/0.3316, allocations: 1.74 MB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008358/0.34, allocations: 4.896 MB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.3401, allocations: 7.938 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.3414, allocations: 334.5 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.3416, allocations: 63.66 kB / 1.333 GB, free: 10.38 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.004509/0.3461, allocations: 1.611 MB / 1.334 GB, free: 8.766 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.3464, allocations: 159.4 kB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.529e-05/0.3465, allocations: 5.75 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.3466, allocations: 63.77 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.3469, allocations: 171.4 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.38e-05/0.3469, allocations: 16 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004407/0.3513, allocations: 2.55 MB / 1.337 GB, free: 5.801 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002841/0.3516, allocations: 287.7 kB / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002791/0.3519, allocations: 238.8 kB / 1.338 GB, free: 5.285 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003973/0.3559, allocations: 2.216 MB / 1.34 GB, free: 3.062 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3559, allocations: 0 / 1.34 GB, free: 3.062 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3559, allocations: 0 / 1.34 GB, free: 3.062 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.875e-05/0.3559, allocations: 0 / 1.34 GB, free: 3.062 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.01012/0.366, allocations: 1.338 MB / 1.341 GB, free: 1.688 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.3661, allocations: 12.03 kB / 1.341 GB, free: 1.676 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.3661, allocations: 34.73 kB / 1.341 GB, free: 1.633 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004509/0.3666, allocations: 100.2 kB / 1.341 GB, free: 1.535 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006941/0.3673, allocations: 352.5 kB / 1.342 GB, free: 1.156 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.3673, allocations: 4.312 kB / 1.342 GB, free: 1.152 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.224e-05/0.3673, allocations: 28.33 kB / 1.342 GB, free: 1.125 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004785/0.3678, allocations: 387.3 kB / 1.342 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.3678, allocations: 0 / 1.342 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3678, allocations: 0 / 1.342 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-06/0.3678, allocations: 0 / 1.342 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004762/0.3683, allocations: 439.7 kB / 1.343 GB, free: 312 kB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007363/0.369, allocations: 0.6182 MB / 1.343 GB, free: 15.64 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005974/0.3696, allocations: 0.5595 MB / 1.344 GB, free: 15.07 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/0.37, allocations: 329.6 kB / 1.344 GB, free: 14.74 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006358/0.3706, allocations: 135.8 kB / 1.344 GB, free: 14.61 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005186/0.3711, allocations: 404.8 kB / 1.345 GB, free: 14.19 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 2.345e-06/0.3711, allocations: 7.938 kB / 1.345 GB, free: 14.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.001544/0.3727, allocations: 1.297 MB / 1.346 GB, free: 12.88 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.538e-05/0.3728, allocations: 89.09 kB / 1.346 GB, free: 12.77 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.3742, allocations: 1.29 MB / 1.347 GB, free: 11.47 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/0.3742, allocations: 33.69 kB / 1.347 GB, free: 11.43 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.3745, allocations: 289.9 kB / 1.347 GB, free: 11.14 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.3745, allocations: 23.8 kB / 1.347 GB, free: 11.12 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003524/0.3749, allocations: 355.8 kB / 1.348 GB, free: 10.77 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.375, allocations: 318 kB / 1.348 GB, free: 10.45 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.3763, allocations: 1.373 MB / 1.349 GB, free: 9.078 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.3778, allocations: 1.501 MB / 1.351 GB, free: 7.566 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007198/0.385, allocations: 3.556 MB / 1.354 GB, free: 3.918 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.385, allocations: 0 / 1.354 GB, free: 3.918 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004562/0.3896, allocations: 4.03 MB / 1.358 GB, free: 15.85 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.3896, allocations: 9.5 kB / 1.358 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.3896, allocations: 7.984 kB / 1.358 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3897, allocations: 0 / 1.358 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.3898, allocations: 12 kB / 1.358 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3898, allocations: 320 / 1.358 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.3903, allocations: 245.3 kB / 1.359 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-05/0.3903, allocations: 32.02 kB / 1.359 GB, free: 15.55 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.0003403/0.3907, allocations: 246.1 kB / 1.359 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.487e-05/0.3908, allocations: 79.23 kB / 1.359 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.3918, allocations: 0.9524 MB / 1.36 GB, free: 14.26 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3918, allocations: 0 / 1.36 GB, free: 14.26 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3918, allocations: 0 / 1.36 GB, free: 14.26 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3918, allocations: 4 kB / 1.36 GB, free: 14.26 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.3923, allocations: 489.5 kB / 1.36 GB, free: 13.74 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.3923, allocations: 11.94 kB / 1.36 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.001e-05/0.3924, allocations: 7.984 kB / 1.36 GB, free: 13.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3924, allocations: 0 / 1.36 GB, free: 13.72 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3924, allocations: 4 kB / 1.36 GB, free: 13.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3924, allocations: 0 / 1.36 GB, free: 13.72 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3924, allocations: 3.984 kB / 1.36 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009691/0.3934, allocations: 1.014 MB / 1.361 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.3935, allocations: 87.23 kB / 1.361 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-05/0.3935, allocations: 7.984 kB / 1.361 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.3937, allocations: 7.938 kB / 1.361 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.3937, allocations: 11.98 kB / 1.361 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.3937, allocations: 7.984 kB / 1.361 GB, free: 12.56 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008235/0.3946, allocations: 0.7261 MB / 1.362 GB, free: 11.83 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3946, allocations: 0 / 1.362 GB, free: 11.83 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001475/0.396, allocations: 0.5884 MB / 1.363 GB, free: 11.24 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.003227/0.3993, allocations: 2.18 MB / 1.365 GB, free: 9.047 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002194/0.4015, allocations: 1.993 MB / 1.367 GB, free: 7.039 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.4015, allocations: 3.938 kB / 1.367 GB, free: 7.035 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003491/0.4018, allocations: 335.8 kB / 1.367 GB, free: 6.707 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.4022, allocations: 61.91 kB / 1.367 GB, free: 6.645 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/0.4188, allocations: 15.29 MB / 1.382 GB, free: 7.172 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.4192, allocations: 401.7 kB / 1.383 GB, free: 6.754 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000176/0.4194, allocations: 45.34 kB / 1.383 GB, free: 6.707 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/0.4197, allocations: 291.3 kB / 1.383 GB, free: 6.422 MB / 1.076 GB Notification: Performance of SimCode: time 1.413e-06/0.4197, allocations: 0 / 1.383 GB, free: 6.422 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06335/0.4831, allocations: 25.59 MB / 1.408 GB, free: 13.09 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.61, allocations: 4.5 kB / 1.408 GB, free: 13.09 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: 19.759702106995974]