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.001272/0.001272, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001399/0.001399, allocations: 169 kB / 23.02 MB, free: 1.551 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.9602/0.9602, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.051/2.051, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 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 2.375e-06/2.375e-06, allocations: 0 / 0.8783 GB, free: 6.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.279e-05, allocations: 2.312 kB / 0.8783 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003157/0.00319, allocations: 1.494 MB / 0.8797 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006367/0.009557, allocations: 4.045 MB / 0.8837 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.334e-05/0.00962, allocations: 0 / 0.8837 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.009737, allocations: 15.3 kB / 0.8837 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.009965, allocations: 31.77 kB / 0.8837 GB, free: 0.6562 MB / 0.8386 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.002832/0.0128, allocations: 1.621 MB / 0.8853 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.01292, allocations: 91.67 kB / 0.8854 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.01296, allocations: 7.984 kB / 0.8854 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.875e-05/0.01304, allocations: 59.88 kB / 0.8855 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.01323, allocations: 139.7 kB / 0.8856 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.01326, allocations: 12 kB / 0.8856 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/0.01591, allocations: 2.474 MB / 0.888 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.01608, allocations: 275.9 kB / 0.8883 GB, free: 12 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.0162, allocations: 152 kB / 0.8884 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002438/0.01864, allocations: 2.467 MB / 0.8908 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.01864, allocations: 0 / 0.8908 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.422e-06/0.01865, allocations: 0 / 0.8908 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.01865, allocations: 4 kB / 0.8908 GB, free: 9.367 MB / 0.8542 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.004214/0.02287, allocations: 1.4 MB / 0.8922 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.02291, allocations: 8.031 kB / 0.8922 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000266/0.02317, allocations: 88.25 kB / 0.8923 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.02351, allocations: 309.3 kB / 0.8926 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.02352, allocations: 384 / 0.8926 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.02355, allocations: 12.38 kB / 0.8926 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.02385, allocations: 374 kB / 0.893 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.02385, allocations: 192 / 0.893 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.02386, allocations: 4.359 kB / 0.893 GB, free: 7.094 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.02387, allocations: 7.938 kB / 0.893 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.0241, allocations: 383.8 kB / 0.8933 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.02452, allocations: 0.6391 MB / 0.894 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.02485, allocations: 0.5213 MB / 0.8945 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.02502, allocations: 299.2 kB / 0.8948 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000377/0.0254, allocations: 151.7 kB / 0.8949 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.02564, allocations: 376.2 kB / 0.8953 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.02564, allocations: 4 kB / 0.8953 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0009466/0.02659, allocations: 1.16 MB / 0.8964 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.02663, allocations: 93.03 kB / 0.8965 GB, free: 3.367 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007216/0.02735, allocations: 1.191 MB / 0.8976 GB, free: 2.16 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.02738, allocations: 33.83 kB / 0.8977 GB, free: 2.121 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.02754, allocations: 336.7 kB / 0.898 GB, free: 1.785 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.02757, allocations: 27.78 kB / 0.898 GB, free: 1.758 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.02784, allocations: 410.5 kB / 0.8984 GB, free: 1.352 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.02794, allocations: 488.4 kB / 0.8989 GB, free: 0.8672 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004206/0.02836, allocations: 0.6781 MB / 0.8995 GB, free: 192 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005132/0.02887, allocations: 0.8399 MB / 0.9004 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/0.0307, allocations: 2.625 MB / 0.9029 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.03071, allocations: 8 kB / 0.9029 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002763/0.03347, allocations: 4.223 MB / 0.9071 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.03349, allocations: 11.98 kB / 0.9071 GB, free: 8.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.03351, allocations: 0 / 0.9071 GB, free: 8.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.03352, allocations: 7.984 kB / 0.9071 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.03365, allocations: 27.92 kB / 0.9071 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.03366, allocations: 4 kB / 0.9071 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.03393, allocations: 233.4 kB / 0.9073 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.03397, allocations: 23.98 kB / 0.9074 GB, free: 8.047 MB / 0.8698 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.0001478/0.03412, allocations: 168.5 kB / 0.9075 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.03416, allocations: 79.33 kB / 0.9076 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006036/0.03477, allocations: 0.8462 MB / 0.9084 GB, free: 6.938 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.03477, allocations: 7.938 kB / 0.9084 GB, free: 6.93 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.03478, allocations: 3.938 kB / 0.9084 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.03478, allocations: 0 / 0.9084 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.03511, allocations: 0.4922 MB / 0.9089 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.03511, allocations: 0 / 0.9089 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.082e-05/0.03516, allocations: 8.031 kB / 0.9089 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.03516, allocations: 0 / 0.9089 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.03517, allocations: 7.984 kB / 0.9089 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.03518, allocations: 0 / 0.9089 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.03518, allocations: 0 / 0.9089 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006973/0.03587, allocations: 0.9269 MB / 0.9098 GB, free: 5.434 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.03593, allocations: 79.34 kB / 0.9099 GB, free: 5.355 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.03597, allocations: 7.938 kB / 0.9099 GB, free: 5.348 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.308e-05/0.03604, allocations: 4 kB / 0.9099 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.03608, allocations: 15.92 kB / 0.9099 GB, free: 5.328 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.03611, allocations: 19.97 kB / 0.91 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003629/0.03647, allocations: 0.5518 MB / 0.9105 GB, free: 4.75 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.03647, allocations: 4 kB / 0.9105 GB, free: 4.746 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001144/0.03762, allocations: 0.5806 MB / 0.9111 GB, free: 4.164 MB / 0.8698 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.001402/0.03902, allocations: 0.801 MB / 0.9118 GB, free: 3.383 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.04005, allocations: 1.418 MB / 0.9132 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.04005, allocations: 8.062 kB / 0.9132 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.04024, allocations: 303.4 kB / 0.9135 GB, free: 1.637 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.04051, allocations: 41.77 kB / 0.9136 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.04181, allocations: 1.584 MB / 0.9151 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.04192, allocations: 187.1 kB / 0.9153 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.208e-05/0.042, allocations: 32.45 kB / 0.9153 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.431e-05/0.04207, allocations: 24.48 kB / 0.9153 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.222e-06/0.04207, allocations: 0 / 0.9153 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.0198/0.06187, allocations: 16.21 MB / 0.9312 GB, free: 15.62 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: 5.868425253313035]