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.0009864/0.0009864, allocations: 81.86 kB / 19.87 MB, free: 4.625 MB / 18.57 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.0009867/0.0009867, allocations: 173.7 kB / 23.28 MB, free: 1.223 MB / 18.57 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 0.9729/0.9729, allocations: 177.1 MB / 203.7 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 2.349/2.349, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.633e-06/1.633e-06, allocations: 0 / 0.8898 GB, free: 9.664 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.599e-05, allocations: 5.125 kB / 0.8898 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002201/0.002217, allocations: 1.496 MB / 0.8913 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005609/0.007826, allocations: 3.949 MB / 0.8952 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.665e-05/0.007892, allocations: 0 / 0.8952 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.008044, allocations: 19.8 kB / 0.8952 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002909/0.008335, allocations: 31.77 kB / 0.8952 GB, free: 4.133 MB / 0.8542 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.002516/0.01085, allocations: 1.636 MB / 0.8968 GB, free: 2.492 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.01097, allocations: 99.59 kB / 0.8969 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.982e-05/0.01101, allocations: 4 kB / 0.8969 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.019e-05/0.01109, allocations: 55.88 kB / 0.897 GB, free: 2.336 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.0112, allocations: 57.17 kB / 0.897 GB, free: 2.281 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.01122, allocations: 4 kB / 0.897 GB, free: 2.277 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.01392, allocations: 2.418 MB / 0.8994 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.01407, allocations: 251.3 kB / 0.8996 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 8.609e-05/0.01416, allocations: 127.4 kB / 0.8997 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.01605, allocations: 2.348 MB / 0.902 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.01605, allocations: 8 kB / 0.902 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.172e-06/0.01605, allocations: 0 / 0.902 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.01606, allocations: 0 / 0.902 GB, free: 13.14 MB / 0.8698 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.001173/0.01723, allocations: 1.365 MB / 0.9034 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.01727, allocations: 8.625 kB / 0.9034 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002372/0.01751, allocations: 100.2 kB / 0.9035 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.01775, allocations: 293.3 kB / 0.9037 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.01776, allocations: 8.375 kB / 0.9038 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.01778, allocations: 8.375 kB / 0.9038 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.01799, allocations: 238.1 kB / 0.904 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.01799, allocations: 192 / 0.904 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.018, allocations: 384 / 0.904 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.01801, allocations: 3.938 kB / 0.904 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.01813, allocations: 199.9 kB / 0.9042 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.01847, allocations: 493.1 kB / 0.9047 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.01866, allocations: 310 kB / 0.905 GB, free: 9.996 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.879e-05/0.01876, allocations: 163.3 kB / 0.9051 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/0.01905, allocations: 127.8 kB / 0.9052 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005214/0.01957, allocations: 244.2 kB / 0.9055 GB, free: 9.441 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.01958, allocations: 0 / 0.9055 GB, free: 9.441 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0005703/0.02015, allocations: 0.7467 MB / 0.9062 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.02018, allocations: 85.14 kB / 0.9063 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006385/0.02082, allocations: 1.202 MB / 0.9074 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.02085, allocations: 29.69 kB / 0.9075 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.021, allocations: 352.5 kB / 0.9078 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.02103, allocations: 31.77 kB / 0.9078 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.02129, allocations: 426.1 kB / 0.9082 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.0214, allocations: 492.4 kB / 0.9087 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.0217, allocations: 494.4 kB / 0.9092 GB, free: 5.555 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/0.0221, allocations: 0.6657 MB / 0.9098 GB, free: 4.879 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.0236, allocations: 2.258 MB / 0.912 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.0236, allocations: 0 / 0.912 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00284/0.02644, allocations: 3.844 MB / 0.9158 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.02646, allocations: 8 kB / 0.9158 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.02648, allocations: 0 / 0.9158 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.02649, allocations: 4 kB / 0.9158 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.715e-05/0.02658, allocations: 19.94 kB / 0.9158 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.02658, allocations: 3.938 kB / 0.9158 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.02683, allocations: 245.4 kB / 0.9161 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.02686, allocations: 19.98 kB / 0.9161 GB, free: 14.35 MB / 0.8855 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 (labels[1],cluSiz[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.0001249/0.02698, allocations: 172.5 kB / 0.9163 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.02702, allocations: 71.3 kB / 0.9163 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004464/0.02747, allocations: 0.5731 MB / 0.9169 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.02747, allocations: 0 / 0.9169 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.02748, allocations: 0 / 0.9169 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.02748, allocations: 7.875 kB / 0.9169 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.02771, allocations: 366.7 kB / 0.9172 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.02771, allocations: 0 / 0.9172 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-05/0.02775, allocations: 7.984 kB / 0.9172 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.02775, allocations: 4 kB / 0.9172 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.02776, allocations: 0 / 0.9172 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.02776, allocations: 4 kB / 0.9173 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.02776, allocations: 0 / 0.9173 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.02815, allocations: 0.6575 MB / 0.9179 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.0282, allocations: 79.34 kB / 0.918 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.02824, allocations: 0 / 0.918 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.901e-05/0.0283, allocations: 11.98 kB / 0.918 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.02833, allocations: 15.88 kB / 0.918 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.02835, allocations: 15.97 kB / 0.918 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002818/0.02863, allocations: 0.5242 MB / 0.9185 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.02863, allocations: 0 / 0.9185 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009826/0.02962, allocations: 0.5883 MB / 0.9191 GB, free: 11.18 MB / 0.8855 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.001609/0.03123, allocations: 0.7891 MB / 0.9199 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007426/0.03197, allocations: 1.091 MB / 0.9209 GB, free: 9.297 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.03197, allocations: 4 kB / 0.9209 GB, free: 9.293 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.03208, allocations: 167.5 kB / 0.9211 GB, free: 9.125 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.03229, allocations: 41.25 kB / 0.9211 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.03338, allocations: 1.447 MB / 0.9225 GB, free: 7.594 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.03348, allocations: 191.1 kB / 0.9227 GB, free: 7.387 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.834e-05/0.03355, allocations: 24.48 kB / 0.9228 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.03366, allocations: 94.17 kB / 0.9228 GB, free: 7.27 MB / 0.8855 GB Notification: Performance of SimCode: time 1.001e-06/0.03366, allocations: 0 / 0.9228 GB, free: 7.27 MB / 0.8855 GB Notification: Performance of Templates: time 0.01817/0.05183, allocations: 15.74 MB / 0.9382 GB, free: 7.664 MB / 0.9011 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.042740100994706]