Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001453/0.001453, 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.001686/0.001686, allocations: 216.1 kB / 22.25 MB, free: 4.852 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.589/1.589, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.896/2.896, allocations: 475.9 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [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.002182/0.002182, allocations: 66.08 kB / 1.117 GB, free: 41.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3872, allocations: 170 MB / 1.283 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002716/0.3899, allocations: 1.439 MB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006971/0.3969, allocations: 3.847 MB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.517e-05/0.3969, allocations: 0 / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.397, allocations: 15.86 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.3973, allocations: 27.84 kB / 1.288 GB, free: 6.551 MB / 0.9825 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.004246/0.4015, allocations: 1.591 MB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.4017, allocations: 87.73 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.794e-05/0.4018, allocations: 4 kB / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.595e-05/0.4018, allocations: 55.77 kB / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.4021, allocations: 147.6 kB / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.4021, allocations: 12 kB / 1.29 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003896/0.406, allocations: 2.371 MB / 1.292 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002542/0.4063, allocations: 271.8 kB / 1.293 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000228/0.4065, allocations: 222.9 kB / 1.293 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003096/0.4096, allocations: 2.13 MB / 1.295 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4096, allocations: 0 / 1.295 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4096, allocations: 0 / 1.295 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.4096, allocations: 0 / 1.295 GB, free: 15.66 MB / 0.9981 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.01021/0.4198, allocations: 1.264 MB / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.4199, allocations: 16.03 kB / 1.296 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004341/0.4203, allocations: 96.19 kB / 1.296 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.4208, allocations: 315.1 kB / 1.297 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.4208, allocations: 4.375 kB / 1.297 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.4209, allocations: 8.375 kB / 1.297 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.4214, allocations: 387.5 kB / 1.297 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4214, allocations: 0 / 1.297 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.4214, allocations: 7.984 kB / 1.297 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4214, allocations: 0 / 1.297 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000505/0.4219, allocations: 435.7 kB / 1.297 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006495/0.4225, allocations: 0.5693 MB / 1.298 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006166/0.4232, allocations: 0.5555 MB / 1.299 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/0.4235, allocations: 337.7 kB / 1.299 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007779/0.4243, allocations: 143.7 kB / 1.299 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004747/0.4248, allocations: 400.9 kB / 1.299 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.4248, allocations: 0 / 1.299 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001606/0.4264, allocations: 1.305 MB / 1.301 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.4265, allocations: 81.11 kB / 1.301 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.4278, allocations: 1.215 MB / 1.302 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.4278, allocations: 37.64 kB / 1.302 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.4281, allocations: 269.9 kB / 1.302 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.4281, allocations: 23.83 kB / 1.302 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003614/0.4285, allocations: 347.6 kB / 1.303 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4286, allocations: 321.9 kB / 1.303 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.4301, allocations: 1.369 MB / 1.304 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.4317, allocations: 1.505 MB / 1.306 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007732/0.4394, allocations: 3.557 MB / 1.309 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4394, allocations: 0 / 1.309 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004854/0.4443, allocations: 4.011 MB / 1.313 GB, free: 12.79 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.4443, allocations: 7.938 kB / 1.313 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.4443, allocations: 8.031 kB / 1.313 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.4444, allocations: 0 / 1.313 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.4445, allocations: 15.98 kB / 1.313 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.4445, allocations: 4 kB / 1.313 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005224/0.445, allocations: 237.4 kB / 1.313 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.527e-05/0.4451, allocations: 27.92 kB / 1.313 GB, free: 12.49 MB / 1.014 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.0003341/0.4454, allocations: 239.2 kB / 1.314 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-05/0.4455, allocations: 71.28 kB / 1.314 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.4467, allocations: 0.9477 MB / 1.315 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.4467, allocations: 3.938 kB / 1.315 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4467, allocations: 0 / 1.315 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.4467, allocations: 7.969 kB / 1.315 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005035/0.4472, allocations: 435.4 kB / 1.315 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4472, allocations: 4 kB / 1.315 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-05/0.4473, allocations: 7.984 kB / 1.315 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4473, allocations: 0 / 1.315 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.4473, allocations: 11.97 kB / 1.315 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.4473, allocations: 3.984 kB / 1.315 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4473, allocations: 0 / 1.315 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.4484, allocations: 1.006 MB / 1.316 GB, free: 9.695 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.4485, allocations: 83.22 kB / 1.316 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.4485, allocations: 11.92 kB / 1.316 GB, free: 9.602 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.4487, allocations: 4 kB / 1.316 GB, free: 9.598 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.4487, allocations: 3.984 kB / 1.316 GB, free: 9.594 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/0.4488, allocations: 19.98 kB / 1.316 GB, free: 9.574 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008255/0.4496, allocations: 0.6728 MB / 1.317 GB, free: 8.895 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.4496, allocations: 0 / 1.317 GB, free: 8.895 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002345/0.4519, allocations: 0.5845 MB / 1.317 GB, free: 8.309 MB / 1.014 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.002609/0.4545, allocations: 0.7047 MB / 1.318 GB, free: 7.617 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002605/0.4571, allocations: 1.993 MB / 1.32 GB, free: 5.609 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4571, allocations: 0 / 1.32 GB, free: 5.609 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000396/0.4575, allocations: 344.2 kB / 1.32 GB, free: 5.273 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.4579, allocations: 28.61 kB / 1.32 GB, free: 5.242 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.4603, allocations: 1.778 MB / 1.322 GB, free: 3.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.4607, allocations: 376.1 kB / 1.322 GB, free: 3.035 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001441/0.4608, allocations: 44.44 kB / 1.322 GB, free: 2.992 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.4609, allocations: 23.42 kB / 1.323 GB, free: 2.969 MB / 1.014 GB Notification: Performance of SimCode: time 6.41e-07/0.461, allocations: 0 / 1.323 GB, free: 2.969 MB / 1.014 GB Notification: Performance of Templates: time 0.02726/0.4882, allocations: 14.87 MB / 1.337 GB, free: 4.234 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.054908405989408]