Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001832/0.001832, allocations: 79.78 kB / 19.18 MB, free: 2.527 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.002456/0.002456, allocations: 165.6 kB / 22.46 MB, free: 5.359 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.549/1.549, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.034/3.034, allocations: 389 MB / 0.633 GB, free: 1.016 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 1 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.191e-05, allocations: 6.281 kB / 1 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003029/0.003061, allocations: 1.44 MB / 1.002 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007943/0.011, allocations: 3.852 MB / 1.005 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.66e-05/0.01108, allocations: 3.938 kB / 1.005 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.01121, allocations: 11.92 kB / 1.005 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.01153, allocations: 27.78 kB / 1.005 GB, free: 1.836 MB / 0.9512 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.005132/0.01666, allocations: 1.606 MB / 1.007 GB, free: 236 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.01688, allocations: 91.67 kB / 1.007 GB, free: 144 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.846e-05/0.01694, allocations: 15.91 kB / 1.007 GB, free: 128 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.0171, allocations: 59.88 kB / 1.007 GB, free: 68 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.01741, allocations: 143.7 kB / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.11e-05/0.01748, allocations: 12 kB / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005198/0.02267, allocations: 2.398 MB / 1.01 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003093/0.02298, allocations: 283.9 kB / 1.01 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.02323, allocations: 148 kB / 1.01 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005201/0.02843, allocations: 2.448 MB / 1.012 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.02843, allocations: 0 / 1.012 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.02844, allocations: 4 kB / 1.012 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.234e-05/0.02846, allocations: 0 / 1.012 GB, free: 10.63 MB / 0.9669 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.0123/0.04076, allocations: 1.268 MB / 1.014 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.04081, allocations: 16.03 kB / 1.014 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005296/0.04134, allocations: 96.19 kB / 1.014 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006012/0.04194, allocations: 306.5 kB / 1.014 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.04195, allocations: 384 / 1.014 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.04201, allocations: 12.38 kB / 1.014 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005576/0.04256, allocations: 391.7 kB / 1.014 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.04258, allocations: 192 / 1.014 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.04259, allocations: 4.375 kB / 1.014 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.04261, allocations: 3.938 kB / 1.014 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005619/0.04317, allocations: 435.7 kB / 1.015 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008327/0.044, allocations: 0.5693 MB / 1.015 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000656/0.04466, allocations: 0.5594 MB / 1.016 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003807/0.04504, allocations: 333.7 kB / 1.016 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007534/0.04579, allocations: 131.9 kB / 1.016 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005103/0.0463, allocations: 408.8 kB / 1.017 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/0.0463, allocations: 0 / 1.017 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.001728/0.04803, allocations: 1.297 MB / 1.018 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.0481, allocations: 85.05 kB / 1.018 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.04965, allocations: 1.223 MB / 1.019 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.46e-05/0.04971, allocations: 25.7 kB / 1.019 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.04997, allocations: 269.9 kB / 1.02 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.05002, allocations: 15.91 kB / 1.02 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004437/0.05046, allocations: 347.6 kB / 1.02 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.05064, allocations: 310 kB / 1.02 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00158/0.05222, allocations: 1.369 MB / 1.022 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/0.05393, allocations: 1.513 MB / 1.023 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008135/0.06206, allocations: 3.56 MB / 1.027 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.06207, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005531/0.0676, allocations: 4.003 MB / 1.031 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.06763, allocations: 8 kB / 1.031 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/0.06766, allocations: 4.031 kB / 1.031 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/0.06768, allocations: 8 kB / 1.031 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.06785, allocations: 23.86 kB / 1.031 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.06786, allocations: 0 / 1.031 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000626/0.06848, allocations: 241.3 kB / 1.031 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.538e-05/0.06855, allocations: 23.98 kB / 1.031 GB, free: 7.48 MB / 0.9825 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.0004416/0.06899, allocations: 238.2 kB / 1.031 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.0691, allocations: 67.34 kB / 1.031 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.0704, allocations: 0.9442 MB / 1.032 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.0704, allocations: 0 / 1.032 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.07041, allocations: 7.922 kB / 1.032 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.07042, allocations: 4 kB / 1.032 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005681/0.07099, allocations: 435.4 kB / 1.032 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.07099, allocations: 3.984 kB / 1.032 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.851e-05/0.07107, allocations: 8 kB / 1.032 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.07108, allocations: 4 kB / 1.032 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.0711, allocations: 11.95 kB / 1.032 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.0711, allocations: 7.875 kB / 1.032 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.0711, allocations: 0 / 1.032 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.07228, allocations: 1.006 MB / 1.033 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.07241, allocations: 83.28 kB / 1.034 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.352e-05/0.07248, allocations: 3.984 kB / 1.034 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.07263, allocations: 4 kB / 1.034 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.07268, allocations: 15.92 kB / 1.034 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.567e-05/0.07273, allocations: 15.98 kB / 1.034 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009276/0.07366, allocations: 0.6728 MB / 1.034 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.07366, allocations: 0 / 1.034 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002194/0.07585, allocations: 0.5845 MB / 1.035 GB, free: 3.297 MB / 0.9825 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.003338/0.07919, allocations: 0.7856 MB / 1.036 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00246/0.08165, allocations: 2.001 MB / 1.038 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.08165, allocations: 0 / 1.038 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000496/0.08215, allocations: 335.8 kB / 1.038 GB, free: 188 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.08251, allocations: 36.61 kB / 1.038 GB, free: 148 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.08508, allocations: 1.768 MB / 1.04 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.08555, allocations: 368.1 kB / 1.04 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001508/0.0857, allocations: 36.47 kB / 1.04 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.08583, allocations: 24.48 kB / 1.04 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of SimCode: time 8.71e-07/0.08583, allocations: 0 / 1.04 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of Templates: time 0.03019/0.116, allocations: 14.05 MB / 1.054 GB, free: 15.96 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.028490081429482]