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_SmallScaleValidation.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.001342/0.001342, allocations: 84.67 kB / 19.76 MB, free: 2.023 MB / 14.72 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.00146/0.00146, allocations: 159.1 kB / 23.01 MB, free: 4.961 MB / 14.72 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.399/1.399, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 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.859/2.859, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.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_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002528/0.002528, allocations: 63.91 kB / 1.009 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7786/0.7811, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002506/0.7837, allocations: 1.737 MB / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006512/0.7902, allocations: 4.893 MB / 1.193 GB, free: 11.93 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.7903, allocations: 1.094 kB / 1.193 GB, free: 11.93 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.7914, allocations: 337.5 kB / 1.193 GB, free: 11.8 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.7916, allocations: 61.06 kB / 1.194 GB, free: 11.77 MB / 1.076 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.004124/0.7957, allocations: 1.589 MB / 1.195 GB, free: 11.17 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.7959, allocations: 162 kB / 1.195 GB, free: 11.11 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.796, allocations: 8.375 kB / 1.195 GB, free: 11.11 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.821e-05/0.7961, allocations: 61.08 kB / 1.195 GB, free: 11.09 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.7963, allocations: 165.3 kB / 1.195 GB, free: 11.04 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.81e-05/0.7963, allocations: 16.06 kB / 1.195 GB, free: 11.04 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003961/0.8003, allocations: 2.391 MB / 1.198 GB, free: 10.42 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.8005, allocations: 286.1 kB / 1.198 GB, free: 10.34 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.8008, allocations: 245.5 kB / 1.198 GB, free: 10.2 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003134/0.8039, allocations: 2.206 MB / 1.2 GB, free: 9.551 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8039, allocations: 1.125 kB / 1.2 GB, free: 9.551 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.203e-06/0.8039, allocations: 4 kB / 1.2 GB, free: 9.547 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.8039, allocations: 0 / 1.2 GB, free: 9.547 MB / 1.076 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.01049/0.8144, allocations: 1.35 MB / 1.202 GB, free: 8.633 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.8144, allocations: 8.469 kB / 1.202 GB, free: 8.633 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004009/0.8148, allocations: 98.05 kB / 1.202 GB, free: 8.574 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.8153, allocations: 352.4 kB / 1.202 GB, free: 8.32 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.8153, allocations: 3.797 kB / 1.202 GB, free: 8.32 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.175e-05/0.8153, allocations: 13.22 kB / 1.202 GB, free: 8.312 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.8157, allocations: 398.8 kB / 1.203 GB, free: 8.246 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.8158, allocations: 0 / 1.203 GB, free: 8.246 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.8158, allocations: 1.031 kB / 1.203 GB, free: 8.246 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.8158, allocations: 1.406 kB / 1.203 GB, free: 8.246 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004364/0.8162, allocations: 431.8 kB / 1.203 GB, free: 8.242 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.8168, allocations: 0.6004 MB / 1.204 GB, free: 7.906 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/0.8173, allocations: 0.5604 MB / 1.204 GB, free: 7.848 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.8176, allocations: 332.5 kB / 1.204 GB, free: 7.828 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006092/0.8182, allocations: 142 kB / 1.205 GB, free: 7.809 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003863/0.8186, allocations: 406.3 kB / 1.205 GB, free: 7.73 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.8186, allocations: 4 kB / 1.205 GB, free: 7.727 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.001295/0.8199, allocations: 1.303 MB / 1.206 GB, free: 7.602 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.8199, allocations: 85.14 kB / 1.206 GB, free: 7.504 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.8212, allocations: 1.29 MB / 1.208 GB, free: 6.996 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.8212, allocations: 32.02 kB / 1.208 GB, free: 6.961 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.8214, allocations: 291 kB / 1.208 GB, free: 6.738 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.8214, allocations: 17.72 kB / 1.208 GB, free: 6.727 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003242/0.8217, allocations: 358.1 kB / 1.208 GB, free: 6.621 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.567e-05/0.8218, allocations: 319.2 kB / 1.209 GB, free: 6.312 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.823, allocations: 1.37 MB / 1.21 GB, free: 5.859 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.8243, allocations: 1.503 MB / 1.211 GB, free: 5.336 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007029/0.8313, allocations: 3.558 MB / 1.215 GB, free: 3.492 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.8313, allocations: 0 / 1.215 GB, free: 3.492 MB / 1.076 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004032/0.8354, allocations: 4.021 MB / 1.219 GB, free: 1.5 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.8354, allocations: 10.28 kB / 1.219 GB, free: 1.496 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.8354, allocations: 3.594 kB / 1.219 GB, free: 1.496 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.8354, allocations: 5.375 kB / 1.219 GB, free: 1.492 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.8355, allocations: 18.59 kB / 1.219 GB, free: 1.488 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.8355, allocations: 6.391 kB / 1.219 GB, free: 1.484 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005779/0.8361, allocations: 235.2 kB / 1.219 GB, free: 1.293 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.238e-05/0.8362, allocations: 35.41 kB / 1.219 GB, free: 1.281 MB / 1.076 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.0003329/0.8365, allocations: 245 kB / 1.219 GB, free: 1.16 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.8366, allocations: 84.53 kB / 1.219 GB, free: 1.094 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009987/0.8376, allocations: 0.9471 MB / 1.22 GB, free: 1.012 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.8376, allocations: 1.875 kB / 1.22 GB, free: 1.012 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8376, allocations: 1.125 kB / 1.22 GB, free: 1.012 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.8376, allocations: 1.797 kB / 1.22 GB, free: 1.012 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.8381, allocations: 475.4 kB / 1.221 GB, free: 0.7891 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.8381, allocations: 5.062 kB / 1.221 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-05/0.8381, allocations: 7.406 kB / 1.221 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.8381, allocations: 0.75 kB / 1.221 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.8381, allocations: 8.547 kB / 1.221 GB, free: 0.7812 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.8381, allocations: 0 / 1.221 GB, free: 0.7812 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8381, allocations: 1.469 kB / 1.221 GB, free: 0.7812 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009272/0.8391, allocations: 1.002 MB / 1.222 GB, free: 0.6328 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.658e-05/0.8392, allocations: 97.42 kB / 1.222 GB, free: 0.5625 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.8392, allocations: 6.266 kB / 1.222 GB, free: 0.5586 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.8394, allocations: 5.906 kB / 1.222 GB, free: 0.5586 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.8394, allocations: 8.531 kB / 1.222 GB, free: 0.5547 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.8395, allocations: 12.83 kB / 1.222 GB, free: 0.5547 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000817/0.8403, allocations: 0.7235 MB / 1.223 GB, free: 320 kB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8403, allocations: 0 / 1.223 GB, free: 320 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.002029/0.8423, allocations: 0.5912 MB / 1.223 GB, free: 208 kB / 1.076 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.00178/0.8441, allocations: 0.7107 MB / 1.224 GB, free: 15.93 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002191/0.8463, allocations: 2 MB / 1.226 GB, free: 15.38 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8463, allocations: 0 / 1.226 GB, free: 15.38 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003411/0.8466, allocations: 336.7 kB / 1.226 GB, free: 15.38 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.847, allocations: 59.69 kB / 1.226 GB, free: 15.34 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.8495, allocations: 1.896 MB / 1.228 GB, free: 14.68 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.8499, allocations: 392.9 kB / 1.228 GB, free: 14.59 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001699/0.8501, allocations: 45.92 kB / 1.229 GB, free: 14.58 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.8502, allocations: 36.59 kB / 1.229 GB, free: 14.56 MB / 1.092 GB Notification: Performance of SimCode: time 4.31e-07/0.8502, allocations: 0 / 1.229 GB, free: 14.56 MB / 1.092 GB Notification: Performance of Templates: time 0.02599/0.8762, allocations: 14.74 MB / 1.243 GB, free: 8.711 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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.781608809018508]