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.001365/0.001365, 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.001639/0.001639, allocations: 210.5 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.797 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.133/3.133, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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_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.00232/0.00232, allocations: 69.11 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3176, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00269/0.3203, allocations: 1.434 MB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007006/0.3273, allocations: 3.85 MB / 1.369 GB, free: 8.762 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.3274, allocations: 7.938 kB / 1.369 GB, free: 8.754 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.3275, allocations: 15.86 kB / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.3277, allocations: 31.78 kB / 1.369 GB, free: 8.707 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.00453/0.3323, allocations: 1.588 MB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.3324, allocations: 87.73 kB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.3325, allocations: 4 kB / 1.37 GB, free: 7.023 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.438e-05/0.3326, allocations: 47.84 kB / 1.37 GB, free: 6.977 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.3328, allocations: 147.6 kB / 1.371 GB, free: 6.832 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.553e-05/0.3328, allocations: 12 kB / 1.371 GB, free: 6.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004159/0.337, allocations: 2.394 MB / 1.373 GB, free: 4.422 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002596/0.3373, allocations: 279.8 kB / 1.373 GB, free: 4.145 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00024/0.3375, allocations: 222.9 kB / 1.373 GB, free: 3.926 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003453/0.341, allocations: 2.138 MB / 1.375 GB, free: 1.781 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.341, allocations: 0 / 1.375 GB, free: 1.781 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/0.341, allocations: 0 / 1.375 GB, free: 1.781 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.557e-05/0.341, allocations: 0 / 1.375 GB, free: 1.781 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.009749/0.3507, allocations: 1.264 MB / 1.377 GB, free: 492 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3508, allocations: 12.03 kB / 1.377 GB, free: 480 kB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.763e-05/0.3508, allocations: 34.75 kB / 1.377 GB, free: 436 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003852/0.3512, allocations: 96.17 kB / 1.377 GB, free: 340 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.3517, allocations: 311.2 kB / 1.377 GB, free: 15.99 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3517, allocations: 4.312 kB / 1.377 GB, free: 15.99 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.3517, allocations: 8.375 kB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004665/0.3522, allocations: 395.3 kB / 1.377 GB, free: 15.58 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3522, allocations: 4 kB / 1.377 GB, free: 15.58 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3522, allocations: 0 / 1.377 GB, free: 15.58 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3522, allocations: 0 / 1.377 GB, free: 15.58 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000468/0.3527, allocations: 435.7 kB / 1.378 GB, free: 15.15 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006301/0.3533, allocations: 0.5894 MB / 1.378 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/0.3539, allocations: 0.5594 MB / 1.379 GB, free: 13.94 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.3542, allocations: 337.7 kB / 1.379 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006756/0.3549, allocations: 139.7 kB / 1.379 GB, free: 13.47 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004429/0.3553, allocations: 412.8 kB / 1.38 GB, free: 13.05 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.3553, allocations: 0 / 1.38 GB, free: 13.05 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.001432/0.3568, allocations: 1.301 MB / 1.381 GB, free: 11.74 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.3568, allocations: 77.11 kB / 1.381 GB, free: 11.64 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.3581, allocations: 1.215 MB / 1.382 GB, free: 10.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.3581, allocations: 33.7 kB / 1.382 GB, free: 10.38 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.3584, allocations: 265.9 kB / 1.383 GB, free: 10.11 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.3584, allocations: 27.73 kB / 1.383 GB, free: 10.08 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003399/0.3587, allocations: 347.6 kB / 1.383 GB, free: 9.738 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3589, allocations: 318 kB / 1.383 GB, free: 9.422 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.3602, allocations: 1.369 MB / 1.385 GB, free: 8.051 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.3617, allocations: 1.509 MB / 1.386 GB, free: 6.531 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007285/0.369, allocations: 3.553 MB / 1.39 GB, free: 2.887 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.369, allocations: 0 / 1.39 GB, free: 2.887 MB / 1.076 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004612/0.3736, allocations: 4.015 MB / 1.394 GB, free: 14.84 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3736, allocations: 8.031 kB / 1.394 GB, free: 14.83 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.3736, allocations: 4 kB / 1.394 GB, free: 14.82 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3736, allocations: 0 / 1.394 GB, free: 14.82 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.3738, allocations: 15.98 kB / 1.394 GB, free: 14.81 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.3738, allocations: 7.938 kB / 1.394 GB, free: 14.8 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004983/0.3743, allocations: 233.4 kB / 1.394 GB, free: 14.57 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-05/0.3743, allocations: 27.98 kB / 1.394 GB, free: 14.54 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.000322/0.3746, allocations: 245.1 kB / 1.394 GB, free: 14.3 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.28e-05/0.3747, allocations: 79.23 kB / 1.394 GB, free: 14.22 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.3758, allocations: 0.936 MB / 1.395 GB, free: 13.27 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3758, allocations: 3.938 kB / 1.395 GB, free: 13.27 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3758, allocations: 0 / 1.395 GB, free: 13.27 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3758, allocations: 0 / 1.395 GB, free: 13.27 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004895/0.3763, allocations: 479.9 kB / 1.396 GB, free: 12.76 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3763, allocations: 7.875 kB / 1.396 GB, free: 12.75 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.612e-05/0.3764, allocations: 7.984 kB / 1.396 GB, free: 12.75 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3764, allocations: 8.031 kB / 1.396 GB, free: 12.74 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.3764, allocations: 0 / 1.396 GB, free: 12.74 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3764, allocations: 0 / 1.396 GB, free: 12.74 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3764, allocations: 0 / 1.396 GB, free: 12.74 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.3774, allocations: 1.002 MB / 1.397 GB, free: 11.71 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.3775, allocations: 91.23 kB / 1.397 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.489e-05/0.3776, allocations: 3.984 kB / 1.397 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.3777, allocations: 7.984 kB / 1.397 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.3778, allocations: 8 kB / 1.397 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.3778, allocations: 15.97 kB / 1.397 GB, free: 11.59 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008443/0.3787, allocations: 0.6689 MB / 1.397 GB, free: 10.91 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/0.3787, allocations: 0 / 1.397 GB, free: 10.91 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001455/0.3801, allocations: 0.5845 MB / 1.398 GB, free: 10.33 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.003568/0.3837, allocations: 2.164 MB / 1.4 GB, free: 8.152 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002203/0.3859, allocations: 1.997 MB / 1.402 GB, free: 6.141 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3859, allocations: 0 / 1.402 GB, free: 6.141 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003587/0.3862, allocations: 331.8 kB / 1.402 GB, free: 5.816 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.3866, allocations: 36.59 kB / 1.402 GB, free: 5.777 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/0.4029, allocations: 15.28 MB / 1.417 GB, free: 6.312 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.4032, allocations: 376.1 kB / 1.418 GB, free: 5.922 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001534/0.4034, allocations: 32.47 kB / 1.418 GB, free: 5.891 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.4037, allocations: 267.3 kB / 1.418 GB, free: 5.629 MB / 1.107 GB Notification: Performance of SimCode: time 1.021e-06/0.4037, allocations: 0 / 1.418 GB, free: 5.629 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06951/0.4732, allocations: 25.17 MB / 1.442 GB, free: 12.7 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.07, allocations: 9.547 kB / 1.442 GB, free: 12.69 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.csv --start-time 0 --stop-time 4.12e+08 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 164800 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.csv","/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.334093539975584]