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.001282/0.001282, allocations: 113 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.001419/0.001419, allocations: 209.4 kB / 22.25 MB, free: 5.086 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.409/1.409, allocations: 230.6 MB / 256 MB, free: 8.012 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.047/3.047, allocations: 0.49 GB / 0.7951 GB, free: 33.43 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_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.001984/0.001984, allocations: 76.77 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3272, allocations: 176.1 MB / 1.326 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002611/0.3298, allocations: 1.47 MB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006846/0.3367, allocations: 4.292 MB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.3368, allocations: 3.938 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.337, allocations: 15.86 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.3372, allocations: 31.83 kB / 1.332 GB, free: 12.07 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.004362/0.3416, allocations: 1.621 MB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000166/0.3418, allocations: 83.75 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.3418, allocations: 4 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.283e-05/0.3419, allocations: 55.77 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.3422, allocations: 147.6 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.3422, allocations: 12 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004316/0.3465, allocations: 2.663 MB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002449/0.3468, allocations: 267.9 kB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002573/0.347, allocations: 282.2 kB / 1.337 GB, free: 6.938 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003415/0.3504, allocations: 2.157 MB / 1.339 GB, free: 4.773 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3504, allocations: 4 kB / 1.339 GB, free: 4.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3504, allocations: 0 / 1.339 GB, free: 4.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.3505, allocations: 0 / 1.339 GB, free: 4.77 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.008871/0.3593, allocations: 1.268 MB / 1.34 GB, free: 3.465 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.3594, allocations: 15.97 kB / 1.34 GB, free: 3.449 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.457e-05/0.3594, allocations: 34.69 kB / 1.34 GB, free: 3.406 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003851/0.3598, allocations: 92.23 kB / 1.34 GB, free: 3.316 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.3602, allocations: 315.2 kB / 1.34 GB, free: 2.973 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3602, allocations: 4.375 kB / 1.34 GB, free: 2.969 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.3603, allocations: 8.375 kB / 1.34 GB, free: 2.961 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005115/0.3608, allocations: 387.3 kB / 1.341 GB, free: 2.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3608, allocations: 3.984 kB / 1.341 GB, free: 2.566 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3608, allocations: 0 / 1.341 GB, free: 2.566 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3608, allocations: 0 / 1.341 GB, free: 2.566 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004862/0.3613, allocations: 439.7 kB / 1.341 GB, free: 2.137 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006798/0.362, allocations: 0.6166 MB / 1.342 GB, free: 1.477 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005514/0.3625, allocations: 0.5673 MB / 1.342 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.3629, allocations: 341.6 kB / 1.343 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008797/0.3638, allocations: 135.8 kB / 1.343 GB, free: 428 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004435/0.3642, allocations: 408.8 kB / 1.343 GB, free: 0 / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.3642, allocations: 4.047 kB / 1.343 GB, free: 15.99 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.001461/0.3657, allocations: 1.285 MB / 1.344 GB, free: 14.7 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.3657, allocations: 85.09 kB / 1.345 GB, free: 14.6 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.3672, allocations: 1.211 MB / 1.346 GB, free: 13.38 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/0.3672, allocations: 37.81 kB / 1.346 GB, free: 13.33 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.3674, allocations: 265.9 kB / 1.346 GB, free: 13.07 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.3675, allocations: 27.81 kB / 1.346 GB, free: 13.04 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003471/0.3678, allocations: 351.6 kB / 1.346 GB, free: 12.69 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3679, allocations: 310 kB / 1.347 GB, free: 12.38 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.3693, allocations: 1.373 MB / 1.348 GB, free: 11.01 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.3707, allocations: 1.505 MB / 1.35 GB, free: 9.492 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00717/0.3779, allocations: 3.553 MB / 1.353 GB, free: 5.848 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.3779, allocations: 0 / 1.353 GB, free: 5.848 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004438/0.3823, allocations: 4.011 MB / 1.357 GB, free: 1.801 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.3823, allocations: 17.38 kB / 1.357 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.3824, allocations: 0 / 1.357 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.3824, allocations: 4 kB / 1.357 GB, free: 1.781 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.3825, allocations: 23.92 kB / 1.357 GB, free: 1.758 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3825, allocations: 320 / 1.357 GB, free: 1.758 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000477/0.383, allocations: 233.4 kB / 1.357 GB, free: 1.527 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.3831, allocations: 27.97 kB / 1.357 GB, free: 1.5 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.0003227/0.3834, allocations: 242.1 kB / 1.357 GB, free: 1.254 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.3834, allocations: 79.28 kB / 1.358 GB, free: 1.176 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.3845, allocations: 0.9477 MB / 1.358 GB, free: 224 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3845, allocations: 0 / 1.358 GB, free: 224 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3845, allocations: 4 kB / 1.358 GB, free: 220 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3845, allocations: 0 / 1.358 GB, free: 220 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/0.385, allocations: 467.9 kB / 1.359 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.385, allocations: 3.938 kB / 1.359 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-05/0.385, allocations: 16.02 kB / 1.359 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.385, allocations: 0 / 1.359 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.3851, allocations: 8 kB / 1.359 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3851, allocations: 0 / 1.359 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3851, allocations: 3.938 kB / 1.359 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000985/0.386, allocations: 1.006 MB / 1.36 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.649e-05/0.3861, allocations: 79.28 kB / 1.36 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-05/0.3862, allocations: 4 kB / 1.36 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.3863, allocations: 3.984 kB / 1.36 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.3864, allocations: 8 kB / 1.36 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.3864, allocations: 19.97 kB / 1.36 GB, free: 14.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007573/0.3872, allocations: 0.6689 MB / 1.361 GB, free: 13.87 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3872, allocations: 0 / 1.361 GB, free: 13.87 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001567/0.3887, allocations: 0.5923 MB / 1.361 GB, free: 13.28 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.003193/0.3919, allocations: 2.156 MB / 1.363 GB, free: 11.11 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002184/0.3941, allocations: 1.997 MB / 1.365 GB, free: 9.094 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3941, allocations: 0 / 1.365 GB, free: 9.094 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003559/0.3945, allocations: 335.8 kB / 1.366 GB, free: 8.766 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.3948, allocations: 33.92 kB / 1.366 GB, free: 8.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/0.4111, allocations: 15.28 MB / 1.381 GB, free: 9.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006394/0.4118, allocations: 0.964 MB / 1.382 GB, free: 8.277 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001497/0.4119, allocations: 44.44 kB / 1.382 GB, free: 8.23 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/0.4123, allocations: 263.3 kB / 1.382 GB, free: 7.973 MB / 1.076 GB Notification: Performance of SimCode: time 1.713e-06/0.4123, allocations: 3.938 kB / 1.382 GB, free: 7.969 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06222/0.4745, allocations: 24.21 MB / 1.405 GB, free: 15.93 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.9, allocations: 5.062 kB / 1.405 GB, free: 15.93 MB / 1.107 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.017682648998743]