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.0008983/0.0008983, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.00091/0.00091, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9222/0.9222, allocations: 177.1 MB / 204.5 MB, free: 5.523 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 1.999/1.999, allocations: 429.5 MB / 0.6743 GB, free: 3.926 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 1.372e-06/1.372e-06, allocations: 0 / 0.8795 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.31e-05, allocations: 2.859 kB / 0.8795 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001566/0.001579, allocations: 1.488 MB / 0.8809 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004149/0.005729, allocations: 3.971 MB / 0.8848 GB, free: 480 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.005774, allocations: 3.938 kB / 0.8848 GB, free: 476 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.18e-05/0.005865, allocations: 7.922 kB / 0.8848 GB, free: 468 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.006042, allocations: 39.7 kB / 0.8849 GB, free: 428 kB / 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.002025/0.008067, allocations: 1.628 MB / 0.8865 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.699e-05/0.008164, allocations: 95.66 kB / 0.8865 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.359e-05/0.008198, allocations: 4 kB / 0.8866 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.485e-05/0.008263, allocations: 55.88 kB / 0.8866 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.211e-05/0.008355, allocations: 49.19 kB / 0.8867 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.008369, allocations: 4 kB / 0.8867 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.01046, allocations: 2.417 MB / 0.889 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.01059, allocations: 255.2 kB / 0.8893 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.765e-05/0.01067, allocations: 123.4 kB / 0.8894 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001779/0.01245, allocations: 2.337 MB / 0.8917 GB, free: 9.457 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.01246, allocations: 4 kB / 0.8917 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.32e-07/0.01246, allocations: 0 / 0.8917 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.01246, allocations: 0 / 0.8917 GB, free: 9.453 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.001095/0.01356, allocations: 1.376 MB / 0.893 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.01359, allocations: 12.03 kB / 0.893 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/0.0138, allocations: 92.25 kB / 0.8931 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.01403, allocations: 301.2 kB / 0.8934 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.01404, allocations: 12.36 kB / 0.8934 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.01406, allocations: 8.375 kB / 0.8934 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.01425, allocations: 230.2 kB / 0.8936 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.01426, allocations: 192 / 0.8936 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.01427, allocations: 384 / 0.8936 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.01427, allocations: 7.938 kB / 0.8936 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.01439, allocations: 195.8 kB / 0.8938 GB, free: 7.141 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.0147, allocations: 497.1 kB / 0.8943 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.01488, allocations: 302.1 kB / 0.8946 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.617e-05/0.01498, allocations: 163.3 kB / 0.8947 GB, free: 6.137 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/0.01525, allocations: 135.7 kB / 0.8949 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.01542, allocations: 240.2 kB / 0.8951 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.01542, allocations: 0 / 0.8951 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0005367/0.01596, allocations: 0.7544 MB / 0.8958 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.01599, allocations: 85.23 kB / 0.8959 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006814/0.01667, allocations: 1.202 MB / 0.8971 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.0167, allocations: 29.7 kB / 0.8971 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.01684, allocations: 356.5 kB / 0.8975 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.01687, allocations: 19.8 kB / 0.8975 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.01712, allocations: 426.2 kB / 0.8979 GB, free: 2.832 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.01721, allocations: 492.4 kB / 0.8984 GB, free: 2.344 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/0.01751, allocations: 494.5 kB / 0.8988 GB, free: 1.859 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/0.01789, allocations: 0.6639 MB / 0.8995 GB, free: 1.184 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.01936, allocations: 2.254 MB / 0.9017 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.01936, allocations: 3.984 kB / 0.9017 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002526/0.02189, allocations: 3.84 MB / 0.9054 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.0219, allocations: 7.984 kB / 0.9054 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.02191, allocations: 4 kB / 0.9054 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.02192, allocations: 0 / 0.9054 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.136e-05/0.022, allocations: 23.98 kB / 0.9055 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.022, allocations: 3.938 kB / 0.9055 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.02224, allocations: 237.4 kB / 0.9057 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.02227, allocations: 28.02 kB / 0.9057 GB, free: 10.66 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 (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.0001154/0.02239, allocations: 172 kB / 0.9059 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.02243, allocations: 75.33 kB / 0.906 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.02284, allocations: 0.573 MB / 0.9065 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.02284, allocations: 0 / 0.9065 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.02284, allocations: 4 kB / 0.9065 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.02285, allocations: 7.922 kB / 0.9065 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.02307, allocations: 358.7 kB / 0.9069 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.02307, allocations: 4.031 kB / 0.9069 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.0231, allocations: 8 kB / 0.9069 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.02311, allocations: 0 / 0.9069 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.02311, allocations: 3.984 kB / 0.9069 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.02312, allocations: 4 kB / 0.9069 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.02312, allocations: 0 / 0.9069 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.02351, allocations: 0.6575 MB / 0.9075 GB, free: 8.73 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.02356, allocations: 83.27 kB / 0.9076 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.02359, allocations: 4 kB / 0.9076 GB, free: 8.645 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.546e-05/0.02366, allocations: 8 kB / 0.9076 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/0.02368, allocations: 7.984 kB / 0.9076 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.02371, allocations: 11.98 kB / 0.9076 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002792/0.02399, allocations: 0.532 MB / 0.9082 GB, free: 8.078 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.02399, allocations: 0 / 0.9082 GB, free: 8.078 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007885/0.02478, allocations: 0.5806 MB / 0.9087 GB, free: 7.496 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.00117/0.02595, allocations: 0.7962 MB / 0.9095 GB, free: 6.715 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007304/0.02668, allocations: 1.09 MB / 0.9106 GB, free: 5.605 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.02668, allocations: 0 / 0.9106 GB, free: 5.605 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.02678, allocations: 171.5 kB / 0.9107 GB, free: 5.434 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.02698, allocations: 40.59 kB / 0.9108 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.0281, allocations: 1.443 MB / 0.9122 GB, free: 3.906 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.0282, allocations: 187.1 kB / 0.9124 GB, free: 3.703 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.426e-05/0.02827, allocations: 32.45 kB / 0.9124 GB, free: 3.668 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.02839, allocations: 98.17 kB / 0.9125 GB, free: 3.57 MB / 0.8698 GB Notification: Performance of SimCode: time 5.51e-07/0.02839, allocations: 3.938 kB / 0.9125 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of Templates: time 0.01635/0.04474, allocations: 15.81 MB / 0.9279 GB, free: 3.871 MB / 0.8855 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.597534831147641]