Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002136/0.002136, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.001967/0.001967, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.586/1.586, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.965/2.965, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7865 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.001e-05, allocations: 7.25 kB / 0.7865 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002932/0.002962, allocations: 1.456 MB / 0.7879 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007867/0.01083, allocations: 4.034 MB / 0.7918 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.215e-05/0.0109, allocations: 3.938 kB / 0.7918 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.01104, allocations: 11.86 kB / 0.7918 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.01131, allocations: 35.72 kB / 0.7919 GB, free: 7.051 MB / 0.7448 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.004385/0.01569, allocations: 1.589 MB / 0.7934 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.01588, allocations: 103.6 kB / 0.7935 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.01592, allocations: 0 / 0.7935 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.01604, allocations: 59.88 kB / 0.7936 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.01629, allocations: 142.5 kB / 0.7937 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/0.01634, allocations: 16 kB / 0.7937 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004665/0.02101, allocations: 2.374 MB / 0.7961 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002924/0.0213, allocations: 283.9 kB / 0.7963 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.02153, allocations: 144 kB / 0.7965 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004239/0.02577, allocations: 2.455 MB / 0.7989 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.02577, allocations: 0 / 0.7989 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.052e-06/0.02577, allocations: 4.438 kB / 0.7989 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.02579, allocations: 0.5 kB / 0.7989 GB, free: 15.89 MB / 0.7605 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.01196/0.03775, allocations: 1.393 MB / 0.8002 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.03779, allocations: 9.406 kB / 0.8002 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004283/0.03822, allocations: 88.25 kB / 0.8003 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005473/0.03876, allocations: 317.8 kB / 0.8006 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.03878, allocations: 2.344 kB / 0.8006 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.03883, allocations: 12.38 kB / 0.8006 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.03932, allocations: 357.3 kB / 0.801 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.03934, allocations: 8.172 kB / 0.801 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.03935, allocations: 384 / 0.801 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.03936, allocations: 4.531 kB / 0.801 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.03983, allocations: 392.9 kB / 0.8014 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007921/0.04063, allocations: 0.6313 MB / 0.802 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008709/0.0415, allocations: 0.5302 MB / 0.8025 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.04185, allocations: 308.1 kB / 0.8028 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000662/0.04252, allocations: 140.9 kB / 0.8029 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004847/0.043, allocations: 385 kB / 0.8033 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.043, allocations: 0 / 0.8033 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.001607/0.04461, allocations: 1.182 MB / 0.8045 GB, free: 10 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.631e-05/0.04468, allocations: 89.03 kB / 0.8045 GB, free: 9.895 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.04615, allocations: 1.195 MB / 0.8057 GB, free: 8.684 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/0.04621, allocations: 30.81 kB / 0.8057 GB, free: 8.648 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.04653, allocations: 344.7 kB / 0.8061 GB, free: 8.305 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.976e-05/0.04658, allocations: 19.86 kB / 0.8061 GB, free: 8.285 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005058/0.04709, allocations: 407.6 kB / 0.8065 GB, free: 7.883 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002614/0.04735, allocations: 496.4 kB / 0.8069 GB, free: 7.391 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008266/0.04817, allocations: 0.6551 MB / 0.8076 GB, free: 6.734 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009865/0.04916, allocations: 0.8257 MB / 0.8084 GB, free: 5.898 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008118/0.05728, allocations: 3.908 MB / 0.8122 GB, free: 1.898 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.05728, allocations: 3.938 kB / 0.8122 GB, free: 1.895 MB / 0.7605 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00544/0.06272, allocations: 4.192 MB / 0.8163 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.06275, allocations: 8 kB / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.06277, allocations: 4.656 kB / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.06279, allocations: 4.156 kB / 0.8163 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.06294, allocations: 27.92 kB / 0.8163 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.06295, allocations: 4 kB / 0.8163 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008092/0.06376, allocations: 233.4 kB / 0.8166 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.276e-05/0.06383, allocations: 23.98 kB / 0.8166 GB, free: 13.37 MB / 0.7761 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.0002618/0.06409, allocations: 168.5 kB / 0.8168 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.0642, allocations: 83.28 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.06535, allocations: 0.8502 MB / 0.8177 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.06536, allocations: 8.031 kB / 0.8177 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.06537, allocations: 3.938 kB / 0.8177 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.06537, allocations: 0 / 0.8177 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006398/0.06601, allocations: 496.1 kB / 0.8181 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.06602, allocations: 7.984 kB / 0.8182 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-05/0.06609, allocations: 7.984 kB / 0.8182 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.0661, allocations: 0 / 0.8182 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.06611, allocations: 4 kB / 0.8182 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.06611, allocations: 0 / 0.8182 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.06612, allocations: 0 / 0.8182 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.06724, allocations: 0.946 MB / 0.8191 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.06737, allocations: 87.28 kB / 0.8192 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.375e-05/0.06743, allocations: 4 kB / 0.8192 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.06756, allocations: 4 kB / 0.8192 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.0676, allocations: 7.922 kB / 0.8192 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.06764, allocations: 11.98 kB / 0.8192 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0007059/0.06835, allocations: 0.5596 MB / 0.8197 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.06835, allocations: 0 / 0.8197 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001617/0.06996, allocations: 0.5884 MB / 0.8203 GB, free: 9.457 MB / 0.7761 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.002577/0.07254, allocations: 0.801 MB / 0.8211 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001913/0.07445, allocations: 1.379 MB / 0.8225 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.07446, allocations: 0 / 0.8225 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003932/0.07485, allocations: 323.4 kB / 0.8228 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.0752, allocations: 46.92 kB / 0.8228 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.0776, allocations: 1.584 MB / 0.8244 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.07801, allocations: 352.1 kB / 0.8247 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.07814, allocations: 28.47 kB / 0.8247 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.07825, allocations: 32.47 kB / 0.8247 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of SimCode: time 8.31e-07/0.07825, allocations: 0 / 0.8247 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of Templates: time 0.02792/0.1062, allocations: 14.02 MB / 0.8384 GB, free: 6.969 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.961644904920831]