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_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.001804/0.001804, 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.002385/0.002385, allocations: 211.2 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.801 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.216/3.216, allocations: 0.4892 GB / 0.7943 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] 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_1borehole_5meters,fileNamePrefix="Buildings_12_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_12_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.002028/0.002028, allocations: 66.48 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3246, allocations: 176.1 MB / 1.325 GB, free: 2.273 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002562/0.3272, allocations: 1.438 MB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006463/0.3336, allocations: 3.861 MB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.707e-05/0.3337, allocations: 4 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.3338, allocations: 11.86 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.3341, allocations: 35.84 kB / 1.33 GB, free: 12.9 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.004064/0.3381, allocations: 1.589 MB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.3383, allocations: 91.72 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.3384, allocations: 11.98 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.375e-05/0.3384, allocations: 47.84 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.3387, allocations: 151.6 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.52e-05/0.3387, allocations: 19.94 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004015/0.3427, allocations: 2.394 MB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.343, allocations: 263.9 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.3432, allocations: 222.9 kB / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003328/0.3465, allocations: 2.15 MB / 1.337 GB, free: 5.961 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3465, allocations: 3.938 kB / 1.337 GB, free: 5.957 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3465, allocations: 0 / 1.337 GB, free: 5.957 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.3465, allocations: 0 / 1.337 GB, free: 5.957 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.009594/0.3561, allocations: 1.264 MB / 1.338 GB, free: 4.656 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.3562, allocations: 12.03 kB / 1.338 GB, free: 4.645 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.3562, allocations: 34.75 kB / 1.338 GB, free: 4.602 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003863/0.3566, allocations: 96.23 kB / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.357, allocations: 303.2 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.3571, allocations: 8.375 kB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/0.3571, allocations: 4.375 kB / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/0.3576, allocations: 387.3 kB / 1.339 GB, free: 3.773 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3576, allocations: 3.938 kB / 1.339 GB, free: 3.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.3576, allocations: 7.984 kB / 1.339 GB, free: 3.762 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3576, allocations: 8 kB / 1.339 GB, free: 3.754 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.358, allocations: 427.8 kB / 1.34 GB, free: 3.336 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006032/0.3586, allocations: 0.5971 MB / 1.34 GB, free: 2.695 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005778/0.3592, allocations: 0.5671 MB / 1.341 GB, free: 2.109 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.3596, allocations: 329.7 kB / 1.341 GB, free: 1.781 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006738/0.3602, allocations: 135.9 kB / 1.341 GB, free: 1.648 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004513/0.3607, allocations: 412.8 kB / 1.342 GB, free: 1.227 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.654e-06/0.3607, allocations: 0 / 1.342 GB, free: 1.227 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.001427/0.3621, allocations: 1.285 MB / 1.343 GB, free: 15.93 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.3622, allocations: 89.17 kB / 1.343 GB, free: 15.83 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.3634, allocations: 1.219 MB / 1.344 GB, free: 14.59 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.3634, allocations: 25.7 kB / 1.344 GB, free: 14.56 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.3636, allocations: 269.9 kB / 1.344 GB, free: 14.29 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.3637, allocations: 23.83 kB / 1.344 GB, free: 14.27 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/0.364, allocations: 351.6 kB / 1.345 GB, free: 13.92 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3641, allocations: 310 kB / 1.345 GB, free: 13.61 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.3654, allocations: 1.373 MB / 1.346 GB, free: 12.24 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.3669, allocations: 1.501 MB / 1.348 GB, free: 10.73 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007344/0.3742, allocations: 3.564 MB / 1.351 GB, free: 7.07 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3742, allocations: 4 kB / 1.351 GB, free: 7.066 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004613/0.3788, allocations: 4.003 MB / 1.355 GB, free: 3.027 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.3789, allocations: 8 kB / 1.355 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.3789, allocations: 0 / 1.355 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.3789, allocations: 8.031 kB / 1.355 GB, free: 3.012 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.379, allocations: 23.86 kB / 1.355 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.379, allocations: 0 / 1.355 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/0.3795, allocations: 241.4 kB / 1.356 GB, free: 2.75 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.3796, allocations: 19.98 kB / 1.356 GB, free: 2.73 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.0003247/0.3799, allocations: 242.1 kB / 1.356 GB, free: 2.484 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/0.38, allocations: 75.27 kB / 1.356 GB, free: 2.41 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.3811, allocations: 0.952 MB / 1.357 GB, free: 1.449 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3811, allocations: 0 / 1.357 GB, free: 1.449 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3811, allocations: 7.938 kB / 1.357 GB, free: 1.441 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3811, allocations: 0 / 1.357 GB, free: 1.441 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.3815, allocations: 464 kB / 1.357 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3815, allocations: 3.938 kB / 1.357 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.945e-05/0.3816, allocations: 11.94 kB / 1.357 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3816, allocations: 3.984 kB / 1.357 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.3816, allocations: 4 kB / 1.357 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3816, allocations: 4.031 kB / 1.357 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.3816, allocations: 80 / 1.357 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009903/0.3826, allocations: 1.006 MB / 1.358 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.779e-05/0.3827, allocations: 79.28 kB / 1.358 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.894e-05/0.3827, allocations: 4 kB / 1.358 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.3829, allocations: 0 / 1.358 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.3829, allocations: 7.984 kB / 1.358 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.383, allocations: 19.97 kB / 1.358 GB, free: 15.79 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007496/0.3837, allocations: 0.6767 MB / 1.359 GB, free: 15.1 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3837, allocations: 0 / 1.359 GB, free: 15.1 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001551/0.3853, allocations: 0.5884 MB / 1.36 GB, free: 14.51 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.003262/0.3885, allocations: 2.152 MB / 1.362 GB, free: 12.35 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002208/0.3907, allocations: 1.997 MB / 1.364 GB, free: 10.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3907, allocations: 0 / 1.364 GB, free: 10.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003612/0.3911, allocations: 347.7 kB / 1.364 GB, free: 9.996 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.3914, allocations: 45.23 kB / 1.364 GB, free: 9.953 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/0.4079, allocations: 15.28 MB / 1.379 GB, free: 10.49 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.4083, allocations: 376.1 kB / 1.379 GB, free: 10.1 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001508/0.4084, allocations: 40.41 kB / 1.379 GB, free: 10.05 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/0.4088, allocations: 263.5 kB / 1.38 GB, free: 9.797 MB / 1.076 GB Notification: Performance of SimCode: time 9.92e-07/0.4088, allocations: 0 / 1.38 GB, free: 9.797 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06107/0.4698, allocations: 25.18 MB / 1.404 GB, free: 0.8477 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.83, allocations: 7.922 kB / 1.404 GB, free: 0.8398 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.csv --start-time 0 --stop-time 4.12e+08 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 164800 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.12469014292583]