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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 249.4 MB, free: 3 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.913/2.913, allocations: 476.7 MB / 0.7629 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002921/0.002921, allocations: 63.91 kB / 1.107 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9606/0.9635, allocations: 168.7 MB / 1.272 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002189/0.9657, allocations: 1.459 MB / 1.273 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005469/0.9712, allocations: 4.254 MB / 1.278 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.19e-05/0.9713, allocations: 0.8125 kB / 1.278 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.9714, allocations: 16.3 kB / 1.278 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.9716, allocations: 26.77 kB / 1.278 GB, free: 4.031 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0-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.003778/0.9754, allocations: 1.507 MB / 1.279 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.9756, allocations: 99.38 kB / 1.279 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.9756, allocations: 3.562 kB / 1.279 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.443e-05/0.9757, allocations: 43.23 kB / 1.279 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.9759, allocations: 154.9 kB / 1.279 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.189e-05/0.976, allocations: 16.88 kB / 1.279 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003705/0.9797, allocations: 2.317 MB / 1.282 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.9799, allocations: 265 kB / 1.282 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.9801, allocations: 278.3 kB / 1.282 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002939/0.983, allocations: 2.118 MB / 1.284 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.983, allocations: 0 / 1.284 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.983, allocations: 0 / 1.284 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.983, allocations: 1.219 kB / 1.284 GB, free: 1.805 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.009053/0.9921, allocations: 1.347 MB / 1.286 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.9921, allocations: 9.812 kB / 1.286 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003942/0.9925, allocations: 90.91 kB / 1.286 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/0.9929, allocations: 361.3 kB / 1.286 GB, free: 496 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.557e-06/0.9929, allocations: 5.031 kB / 1.286 GB, free: 492 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/0.9929, allocations: 10.19 kB / 1.286 GB, free: 488 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/0.9934, allocations: 405.1 kB / 1.286 GB, free: 412 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.9934, allocations: 0 / 1.286 GB, free: 412 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.9934, allocations: 5.734 kB / 1.286 GB, free: 408 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.9934, allocations: 1.25 kB / 1.286 GB, free: 408 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.9938, allocations: 432 kB / 1.287 GB, free: 404 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.9944, allocations: 0.637 MB / 1.287 GB, free: 8 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.995, allocations: 0.561 MB / 1.288 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.9953, allocations: 335 kB / 1.288 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/0.9965, allocations: 1.027 MB / 1.289 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000499/0.997, allocations: 403.9 kB / 1.29 GB, free: 14.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.997, allocations: 0 / 1.29 GB, free: 14.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.001715/0.9987, allocations: 1.303 MB / 1.291 GB, free: 14.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.9988, allocations: 84.38 kB / 1.291 GB, free: 14.49 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/1, allocations: 1.218 MB / 1.292 GB, free: 14 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.904e-05/1, allocations: 31.92 kB / 1.292 GB, free: 13.96 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/1.001, allocations: 263.8 kB / 1.293 GB, free: 13.76 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/1.001, allocations: 25.5 kB / 1.293 GB, free: 13.74 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004047/1.001, allocations: 355.2 kB / 1.293 GB, free: 13.64 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.001, allocations: 312.7 kB / 1.293 GB, free: 13.33 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/1.003, allocations: 1.371 MB / 1.295 GB, free: 12.88 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/1.004, allocations: 1.507 MB / 1.296 GB, free: 12.35 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007814/1.012, allocations: 3.561 MB / 1.3 GB, free: 10.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/1.012, allocations: 0 / 1.3 GB, free: 10.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005302/1.018, allocations: 4.006 MB / 1.303 GB, free: 8.523 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/1.018, allocations: 10.89 kB / 1.303 GB, free: 8.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/1.018, allocations: 2.312 kB / 1.303 GB, free: 8.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/1.018, allocations: 1.594 kB / 1.303 GB, free: 8.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/1.018, allocations: 19.47 kB / 1.303 GB, free: 8.516 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.944e-06/1.018, allocations: 1.25 kB / 1.303 GB, free: 8.516 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006705/1.018, allocations: 244.6 kB / 1.304 GB, free: 8.316 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.536e-05/1.019, allocations: 23.31 kB / 1.304 GB, free: 8.316 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.0004152/1.019, allocations: 240.4 kB / 1.304 GB, free: 8.195 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-05/1.019, allocations: 81.53 kB / 1.304 GB, free: 8.129 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/1.02, allocations: 0.9401 MB / 1.305 GB, free: 8.051 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.02, allocations: 5.062 kB / 1.305 GB, free: 8.047 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/1.02, allocations: 1.766 kB / 1.305 GB, free: 8.047 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/1.02, allocations: 4.641 kB / 1.305 GB, free: 8.043 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005982/1.021, allocations: 499.4 kB / 1.305 GB, free: 7.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.021, allocations: 0 / 1.305 GB, free: 7.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.921e-05/1.021, allocations: 11.58 kB / 1.305 GB, free: 7.766 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/1.021, allocations: 1.031 kB / 1.305 GB, free: 7.766 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/1.021, allocations: 3.422 kB / 1.305 GB, free: 7.766 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.021, allocations: 9.875 kB / 1.305 GB, free: 7.758 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.021, allocations: 0.9688 kB / 1.305 GB, free: 7.758 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/1.022, allocations: 0.9992 MB / 1.306 GB, free: 7.609 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/1.022, allocations: 166.7 kB / 1.307 GB, free: 7.449 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/1.022, allocations: 1.844 kB / 1.307 GB, free: 7.449 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/1.022, allocations: 10.34 kB / 1.307 GB, free: 7.445 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/1.022, allocations: 8.547 kB / 1.307 GB, free: 7.441 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/1.022, allocations: 12.84 kB / 1.307 GB, free: 7.441 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009299/1.023, allocations: 0.6713 MB / 1.307 GB, free: 7.215 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.023, allocations: 0 / 1.307 GB, free: 7.215 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002627/1.026, allocations: 0.5858 MB / 1.308 GB, free: 7.105 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.002289/1.028, allocations: 0.7061 MB / 1.309 GB, free: 6.836 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002558/1.031, allocations: 1.998 MB / 1.31 GB, free: 6.289 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/1.031, allocations: 0 / 1.31 GB, free: 6.289 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003586/1.031, allocations: 334.8 kB / 1.311 GB, free: 6.281 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/1.032, allocations: 40.36 kB / 1.311 GB, free: 6.246 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/1.034, allocations: 1.786 MB / 1.313 GB, free: 5.652 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006832/1.035, allocations: 0.9704 MB / 1.314 GB, free: 4.949 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000185/1.035, allocations: 33.77 kB / 1.314 GB, free: 4.941 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/1.035, allocations: 25.73 kB / 1.314 GB, free: 4.934 MB / 1.014 GB Notification: Performance of SimCode: time 1.402e-06/1.035, allocations: 0 / 1.314 GB, free: 4.934 MB / 1.014 GB Notification: Performance of Templates: time 0.0271/1.062, allocations: 13.71 MB / 1.327 GB, free: 2.484 MB / 1.014 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: 10.341134333983064]