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.001747/0.001747, 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.002125/0.002125, allocations: 215.7 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.781 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.157/3.157, allocations: 0.49 GB / 0.7951 GB, free: 35.44 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.002049/0.002049, allocations: 71.42 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3725, allocations: 176.1 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002759/0.3753, allocations: 1.433 MB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006913/0.3822, allocations: 3.868 MB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.055e-05/0.3823, allocations: 4 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.3824, allocations: 11.86 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.3826, allocations: 35.83 kB / 1.331 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.004324/0.387, allocations: 1.604 MB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.3871, allocations: 91.67 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.3872, allocations: 8 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.904e-05/0.3872, allocations: 47.83 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.3875, allocations: 151.6 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.3875, allocations: 16 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004356/0.3919, allocations: 2.543 MB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.3922, allocations: 275.8 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.3924, allocations: 218.9 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003323/0.3957, allocations: 2.15 MB / 1.338 GB, free: 4.969 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3957, allocations: 0 / 1.338 GB, free: 4.969 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.265e-06/0.3957, allocations: 0 / 1.338 GB, free: 4.969 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.3958, allocations: 0 / 1.338 GB, free: 4.969 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.008315/0.4041, allocations: 1.272 MB / 1.339 GB, free: 3.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.4041, allocations: 12.03 kB / 1.339 GB, free: 3.648 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.146e-05/0.4042, allocations: 38.73 kB / 1.339 GB, free: 3.602 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004046/0.4046, allocations: 88.25 kB / 1.339 GB, free: 3.516 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.4051, allocations: 303.2 kB / 1.34 GB, free: 3.184 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.4051, allocations: 4.375 kB / 1.34 GB, free: 3.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/0.4051, allocations: 8.375 kB / 1.34 GB, free: 3.172 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004989/0.4056, allocations: 399.2 kB / 1.34 GB, free: 2.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4056, allocations: 0 / 1.34 GB, free: 2.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.4056, allocations: 0 / 1.34 GB, free: 2.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.4056, allocations: 4 kB / 1.34 GB, free: 2.766 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004911/0.4061, allocations: 435.7 kB / 1.341 GB, free: 2.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006622/0.4068, allocations: 0.601 MB / 1.341 GB, free: 1.695 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006564/0.4074, allocations: 0.5594 MB / 1.342 GB, free: 1.117 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/0.4078, allocations: 337.7 kB / 1.342 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006868/0.4085, allocations: 139.8 kB / 1.342 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004372/0.4089, allocations: 408.8 kB / 1.343 GB, free: 232 kB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.4089, allocations: 0 / 1.343 GB, free: 232 kB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.001627/0.4105, allocations: 1.289 MB / 1.344 GB, free: 14.93 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.4106, allocations: 93.08 kB / 1.344 GB, free: 14.82 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.4119, allocations: 1.211 MB / 1.345 GB, free: 13.59 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.4119, allocations: 33.69 kB / 1.345 GB, free: 13.55 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.4121, allocations: 261.9 kB / 1.345 GB, free: 13.29 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.4122, allocations: 23.83 kB / 1.345 GB, free: 13.27 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003608/0.4125, allocations: 351.6 kB / 1.346 GB, free: 12.92 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4127, allocations: 310 kB / 1.346 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.4141, allocations: 1.381 MB / 1.347 GB, free: 11.23 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/0.4156, allocations: 1.501 MB / 1.349 GB, free: 9.719 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00745/0.4231, allocations: 3.556 MB / 1.352 GB, free: 6.07 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.4231, allocations: 4 kB / 1.352 GB, free: 6.066 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004868/0.4279, allocations: 4.007 MB / 1.356 GB, free: 2.023 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.428, allocations: 8 kB / 1.356 GB, free: 2.016 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.428, allocations: 0 / 1.356 GB, free: 2.016 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.428, allocations: 4 kB / 1.356 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.4281, allocations: 27.91 kB / 1.356 GB, free: 1.984 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.4281, allocations: 0 / 1.356 GB, free: 1.984 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/0.4286, allocations: 249.3 kB / 1.356 GB, free: 1.738 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.4287, allocations: 19.98 kB / 1.357 GB, free: 1.719 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.00033/0.429, allocations: 246.2 kB / 1.357 GB, free: 1.469 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-05/0.4291, allocations: 71.28 kB / 1.357 GB, free: 1.398 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.4303, allocations: 0.9399 MB / 1.358 GB, free: 460 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.4303, allocations: 0 / 1.358 GB, free: 460 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.59e-05/0.4303, allocations: 4 kB / 1.358 GB, free: 456 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.4303, allocations: 0 / 1.358 GB, free: 456 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.4308, allocations: 467.9 kB / 1.358 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4308, allocations: 3.938 kB / 1.358 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.757e-05/0.4309, allocations: 19.95 kB / 1.358 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4309, allocations: 0 / 1.358 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.4309, allocations: 8 kB / 1.358 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4309, allocations: 0 / 1.358 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4309, allocations: 0 / 1.358 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.4319, allocations: 0.998 MB / 1.359 GB, free: 14.9 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.432, allocations: 83.22 kB / 1.359 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.4321, allocations: 4 kB / 1.359 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.4322, allocations: 11.98 kB / 1.359 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.4323, allocations: 7.984 kB / 1.359 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.4323, allocations: 15.92 kB / 1.359 GB, free: 14.78 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007853/0.4331, allocations: 0.6689 MB / 1.36 GB, free: 14.1 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4331, allocations: 0 / 1.36 GB, free: 14.1 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001778/0.4349, allocations: 0.5884 MB / 1.361 GB, free: 13.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.0034/0.4383, allocations: 2.167 MB / 1.363 GB, free: 11.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002294/0.4406, allocations: 1.997 MB / 1.365 GB, free: 9.324 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.4406, allocations: 0 / 1.365 GB, free: 9.324 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003662/0.4409, allocations: 335.8 kB / 1.365 GB, free: 8.996 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.4412, allocations: 37.3 kB / 1.365 GB, free: 8.957 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/0.4578, allocations: 15.3 MB / 1.38 GB, free: 9.48 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.4582, allocations: 368.1 kB / 1.38 GB, free: 9.094 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000144/0.4584, allocations: 40.45 kB / 1.38 GB, free: 9.051 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/0.4587, allocations: 263.3 kB / 1.381 GB, free: 8.793 MB / 1.076 GB Notification: Performance of SimCode: time 1.182e-06/0.4587, allocations: 0 / 1.381 GB, free: 8.793 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06506/0.5238, allocations: 25.2 MB / 1.405 GB, free: 15.81 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.02, allocations: 0 / 1.405 GB, free: 15.81 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --stepSize=164800 --timeout=400 --tolerance=1e-06 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.mat","/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.688685223984066]