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.001852/0.001852, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002453/0.002453, allocations: 214.6 kB / 22.25 MB, free: 5.078 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 8.016 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.308/3.308, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] 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.001994/0.001994, allocations: 71.86 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3951, allocations: 180.2 MB / 1.353 GB, free: 8.406 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002776/0.3979, allocations: 1.451 MB / 1.354 GB, free: 6.945 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00708/0.4049, allocations: 4.301 MB / 1.359 GB, free: 2.625 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.657e-05/0.405, allocations: 0 / 1.359 GB, free: 2.625 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.4051, allocations: 11.86 kB / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.4054, allocations: 39.77 kB / 1.359 GB, free: 2.574 MB / 1.045 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.004537/0.4099, allocations: 1.601 MB / 1.36 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.4101, allocations: 95.67 kB / 1.36 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.263e-05/0.4101, allocations: 4 kB / 1.36 GB, free: 0.875 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.08e-05/0.4102, allocations: 47.83 kB / 1.36 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.4105, allocations: 147.6 kB / 1.36 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/0.4105, allocations: 16 kB / 1.36 GB, free: 0.668 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004416/0.4149, allocations: 2.66 MB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002572/0.4152, allocations: 259.9 kB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.4155, allocations: 286.2 kB / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003623/0.4191, allocations: 2.154 MB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4191, allocations: 0 / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4191, allocations: 0 / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.4191, allocations: 3.938 kB / 1.366 GB, free: 11.3 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.009156/0.4283, allocations: 1.274 MB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.4283, allocations: 12.03 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.4283, allocations: 38.67 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003904/0.4287, allocations: 88.25 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.4292, allocations: 307.2 kB / 1.367 GB, free: 9.516 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4292, allocations: 8.375 kB / 1.367 GB, free: 9.508 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.4292, allocations: 8.375 kB / 1.367 GB, free: 9.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.4297, allocations: 391.3 kB / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4297, allocations: 3.938 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.4297, allocations: 4 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.4297, allocations: 3.938 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004434/0.4301, allocations: 435.7 kB / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000635/0.4308, allocations: 0.6167 MB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006109/0.4314, allocations: 0.5632 MB / 1.369 GB, free: 7.426 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.4317, allocations: 337.7 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006565/0.4324, allocations: 131.9 kB / 1.37 GB, free: 6.961 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004357/0.4328, allocations: 408.8 kB / 1.37 GB, free: 6.543 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.4328, allocations: 0 / 1.37 GB, free: 6.543 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.001611/0.4344, allocations: 1.289 MB / 1.371 GB, free: 5.246 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.4345, allocations: 85.05 kB / 1.372 GB, free: 5.145 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.4357, allocations: 1.219 MB / 1.373 GB, free: 3.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.4358, allocations: 29.7 kB / 1.373 GB, free: 3.875 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.436, allocations: 269.9 kB / 1.373 GB, free: 3.605 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.436, allocations: 27.92 kB / 1.373 GB, free: 3.578 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003376/0.4363, allocations: 351.6 kB / 1.373 GB, free: 3.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4365, allocations: 314 kB / 1.374 GB, free: 2.918 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.4378, allocations: 1.373 MB / 1.375 GB, free: 1.543 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/0.4393, allocations: 1.497 MB / 1.376 GB, free: 36 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007205/0.4465, allocations: 3.56 MB / 1.38 GB, free: 12.38 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.4465, allocations: 3.938 kB / 1.38 GB, free: 12.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004933/0.4514, allocations: 4.005 MB / 1.384 GB, free: 8.34 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.4514, allocations: 11.98 kB / 1.384 GB, free: 8.328 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.4514, allocations: 0 / 1.384 GB, free: 8.328 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.4515, allocations: 4 kB / 1.384 GB, free: 8.324 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.4516, allocations: 19.97 kB / 1.384 GB, free: 8.305 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.4516, allocations: 4.297 kB / 1.384 GB, free: 8.301 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004807/0.4521, allocations: 241.3 kB / 1.384 GB, free: 8.062 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.194e-05/0.4521, allocations: 27.98 kB / 1.384 GB, free: 8.035 MB / 1.076 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.000339/0.4525, allocations: 243.4 kB / 1.384 GB, free: 7.789 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.077e-05/0.4525, allocations: 71.28 kB / 1.384 GB, free: 7.719 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.4536, allocations: 0.9554 MB / 1.385 GB, free: 6.75 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.4536, allocations: 0 / 1.385 GB, free: 6.75 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4536, allocations: 4 kB / 1.385 GB, free: 6.746 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.4536, allocations: 3.984 kB / 1.385 GB, free: 6.742 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/0.4541, allocations: 467.9 kB / 1.386 GB, free: 6.246 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4541, allocations: 3.938 kB / 1.386 GB, free: 6.242 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.008e-05/0.4542, allocations: 8 kB / 1.386 GB, free: 6.234 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4542, allocations: 0 / 1.386 GB, free: 6.234 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.4542, allocations: 19.95 kB / 1.386 GB, free: 6.215 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4542, allocations: 0 / 1.386 GB, free: 6.215 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4542, allocations: 0 / 1.386 GB, free: 6.215 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009311/0.4551, allocations: 0.998 MB / 1.387 GB, free: 5.195 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.4553, allocations: 79.28 kB / 1.387 GB, free: 5.117 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/0.4554, allocations: 15.98 kB / 1.387 GB, free: 5.102 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.4555, allocations: 4 kB / 1.387 GB, free: 5.098 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.4555, allocations: 7.984 kB / 1.387 GB, free: 5.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.4556, allocations: 11.98 kB / 1.387 GB, free: 5.078 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000716/0.4563, allocations: 0.6728 MB / 1.388 GB, free: 4.398 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4563, allocations: 3.938 kB / 1.388 GB, free: 4.395 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001483/0.4578, allocations: 0.5845 MB / 1.388 GB, free: 3.809 MB / 1.076 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.003119/0.4609, allocations: 2.143 MB / 1.39 GB, free: 1.648 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002105/0.463, allocations: 2.001 MB / 1.392 GB, free: 15.63 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.463, allocations: 0 / 1.392 GB, free: 15.63 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000407/0.4634, allocations: 339.7 kB / 1.393 GB, free: 15.3 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.4637, allocations: 32.52 kB / 1.393 GB, free: 15.27 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/0.4801, allocations: 15.28 MB / 1.407 GB, free: 15.81 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005834/0.4807, allocations: 0.9679 MB / 1.408 GB, free: 14.81 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001357/0.4809, allocations: 40.45 kB / 1.408 GB, free: 14.77 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.4812, allocations: 267.3 kB / 1.409 GB, free: 14.51 MB / 1.107 GB Notification: Performance of SimCode: time 1.132e-06/0.4812, allocations: 0 / 1.409 GB, free: 14.51 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06199/0.5432, allocations: 24.19 MB / 1.432 GB, free: 6.473 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.46, allocations: 0 / 1.432 GB, free: 6.473 MB / 1.123 GB " [Timeout remaining time 286] (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: 21.08494931399946]