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.001811/0.001811, allocations: 88.72 kB / 19.44 MB, free: 352 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.00175/0.00175, allocations: 157.7 kB / 22.76 MB, free: 1.68 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 1.535/1.535, allocations: 177.1 MB / 203.1 MB, free: 5.301 MB / 186.7 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.282/3.282, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] 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 5.992e-06/5.992e-06, allocations: 4.984 kB / 0.8777 GB, free: 6.402 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.495e-05/4.094e-05, allocations: 2.312 kB / 0.8777 GB, free: 6.398 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003388/0.003429, allocations: 1.433 MB / 0.8791 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.008299/0.01173, allocations: 3.859 MB / 0.8829 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.879e-05/0.01183, allocations: 3.938 kB / 0.8829 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.01198, allocations: 11.92 kB / 0.8829 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.0123, allocations: 32.28 kB / 0.8829 GB, free: 1.07 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.005673/0.01797, allocations: 1.601 MB / 0.8845 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.01822, allocations: 99.66 kB / 0.8846 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.01826, allocations: 0 / 0.8846 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.0184, allocations: 59.86 kB / 0.8846 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.0187, allocations: 147.7 kB / 0.8848 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/0.01875, allocations: 16 kB / 0.8848 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005149/0.0239, allocations: 2.401 MB / 0.8871 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003164/0.02422, allocations: 279.9 kB / 0.8874 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002331/0.02445, allocations: 152 kB / 0.8875 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.005402/0.02985, allocations: 2.463 MB / 0.8899 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.02986, allocations: 0 / 0.8899 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.673e-06/0.02986, allocations: 0 / 0.8899 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.13e-05/0.02988, allocations: 0 / 0.8899 GB, free: 9.852 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.009811/0.03969, allocations: 1.264 MB / 0.8912 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.03974, allocations: 11.97 kB / 0.8912 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005478/0.04029, allocations: 92.25 kB / 0.8913 GB, free: 8.449 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007094/0.041, allocations: 314.4 kB / 0.8916 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.04102, allocations: 4.375 kB / 0.8916 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.81e-05/0.04107, allocations: 12.36 kB / 0.8916 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005599/0.04163, allocations: 387.7 kB / 0.892 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.04164, allocations: 192 / 0.892 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.04166, allocations: 384 / 0.892 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.04166, allocations: 3.938 kB / 0.892 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000568/0.04223, allocations: 435.7 kB / 0.8924 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007969/0.04303, allocations: 0.5771 MB / 0.8929 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/0.04373, allocations: 0.5593 MB / 0.8935 GB, free: 6.082 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004097/0.04414, allocations: 337.7 kB / 0.8938 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008236/0.04496, allocations: 131.9 kB / 0.8939 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000526/0.04549, allocations: 404.8 kB / 0.8943 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.04549, allocations: 0 / 0.8943 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.001786/0.04728, allocations: 1.297 MB / 0.8956 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.346e-05/0.04736, allocations: 89.05 kB / 0.8957 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.049, allocations: 1.219 MB / 0.8969 GB, free: 2.559 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/0.04905, allocations: 29.7 kB / 0.8969 GB, free: 2.523 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/0.04933, allocations: 261.9 kB / 0.8971 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.04939, allocations: 27.95 kB / 0.8972 GB, free: 2.234 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004541/0.04984, allocations: 343.6 kB / 0.8975 GB, free: 1.895 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.05004, allocations: 314 kB / 0.8978 GB, free: 1.582 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/0.05189, allocations: 1.373 MB / 0.8991 GB, free: 212 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/0.05373, allocations: 1.504 MB / 0.9006 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008525/0.06226, allocations: 3.556 MB / 0.9041 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.06226, allocations: 4 kB / 0.9041 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.006073/0.06834, allocations: 4.019 MB / 0.908 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.06836, allocations: 8 kB / 0.908 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.06838, allocations: 0 / 0.908 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-05/0.06842, allocations: 3.984 kB / 0.908 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.06858, allocations: 23.94 kB / 0.908 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.06858, allocations: 0 / 0.908 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006661/0.06925, allocations: 245.4 kB / 0.9083 GB, free: 6.711 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.858e-05/0.06932, allocations: 23.98 kB / 0.9083 GB, free: 6.688 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.0004161/0.06973, allocations: 241.6 kB / 0.9085 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.06984, allocations: 71.34 kB / 0.9086 GB, free: 6.371 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.07118, allocations: 0.9403 MB / 0.9095 GB, free: 5.422 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.07119, allocations: 4 kB / 0.9095 GB, free: 5.418 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.0712, allocations: 3.938 kB / 0.9095 GB, free: 5.414 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.0712, allocations: 4.031 kB / 0.9095 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006245/0.07183, allocations: 447.3 kB / 0.91 GB, free: 4.945 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.07183, allocations: 0 / 0.91 GB, free: 4.945 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.578e-05/0.07191, allocations: 11.98 kB / 0.91 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.07192, allocations: 0 / 0.91 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.07194, allocations: 4 kB / 0.91 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.07194, allocations: 0 / 0.91 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.07194, allocations: 0 / 0.91 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.07324, allocations: 1.01 MB / 0.911 GB, free: 3.898 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.07338, allocations: 79.34 kB / 0.911 GB, free: 3.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.868e-05/0.07345, allocations: 7.984 kB / 0.911 GB, free: 3.812 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.07361, allocations: 7.938 kB / 0.911 GB, free: 3.805 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.07367, allocations: 11.92 kB / 0.9111 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/0.07372, allocations: 11.98 kB / 0.9111 GB, free: 3.781 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009714/0.07469, allocations: 0.6728 MB / 0.9117 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.07469, allocations: 0 / 0.9117 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001913/0.0766, allocations: 0.5806 MB / 0.9123 GB, free: 2.52 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.002996/0.0796, allocations: 0.8069 MB / 0.9131 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002695/0.08229, allocations: 1.993 MB / 0.915 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.0823, allocations: 0 / 0.915 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004389/0.08273, allocations: 335.7 kB / 0.9153 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.08311, allocations: 41.83 kB / 0.9154 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.08581, allocations: 1.79 MB / 0.9171 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.08625, allocations: 372.1 kB / 0.9175 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001446/0.0864, allocations: 36.45 kB / 0.9175 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.08653, allocations: 36.48 kB / 0.9176 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of SimCode: time 7.51e-07/0.08653, allocations: 0 / 0.9176 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of Templates: time 0.02989/0.1164, allocations: 14.07 MB / 0.9313 GB, free: 15.12 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=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: 9.48936313809827]