Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_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=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006936/0.006936, allocations: 103.5 kB / 15.74 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 198.5 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.351/2.351, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 59.75 kB / 0.9509 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2727, allocations: 140.4 MB / 1.088 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00244/0.2752, allocations: 1.409 MB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005438/0.2807, allocations: 3.025 MB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.846e-05/0.2808, allocations: 11.94 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.2809, allocations: 7.922 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.2812, allocations: 27.83 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.2838, allocations: 1.002 MB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.2839, allocations: 79.75 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.284, allocations: 11.98 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.182e-05/0.2841, allocations: 39.84 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.2843, allocations: 139.6 kB / 1.094 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.2843, allocations: 12 kB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.2864, allocations: 1.392 MB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.2867, allocations: 263.8 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002499/0.2869, allocations: 270.3 kB / 1.095 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00206/0.289, allocations: 1.477 MB / 1.097 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.289, allocations: 4 kB / 1.097 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.289, allocations: 0 / 1.097 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.289, allocations: 0 / 1.097 GB, free: 8.277 MB / 0.8575 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.008264/0.2973, allocations: 1.21 MB / 1.098 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2973, allocations: 12.03 kB / 1.098 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/0.2977, allocations: 87.67 kB / 1.098 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.2982, allocations: 356.9 kB / 1.099 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.2982, allocations: 12.3 kB / 1.099 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.2982, allocations: 4.375 kB / 1.099 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000448/0.2987, allocations: 395.4 kB / 1.099 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2987, allocations: 0 / 1.099 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.2987, allocations: 0 / 1.099 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2987, allocations: 0 / 1.099 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.2992, allocations: 439.7 kB / 1.099 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.2998, allocations: 0.6287 MB / 1.1 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.3004, allocations: 0.571 MB / 1.101 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.3007, allocations: 337.7 kB / 1.101 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/0.3018, allocations: 1.025 MB / 1.102 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004109/0.3022, allocations: 416.8 kB / 1.102 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.3022, allocations: 0 / 1.102 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.00136/0.3036, allocations: 1.285 MB / 1.104 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.3036, allocations: 81.11 kB / 1.104 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.3048, allocations: 1.21 MB / 1.105 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.3049, allocations: 25.83 kB / 1.105 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.3051, allocations: 261.4 kB / 1.105 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.3051, allocations: 23.73 kB / 1.105 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003961/0.3055, allocations: 351.5 kB / 1.105 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3056, allocations: 310 kB / 1.106 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.3068, allocations: 1.361 MB / 1.107 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.3081, allocations: 1.497 MB / 1.108 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007428/0.3156, allocations: 3.541 MB / 1.112 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.3156, allocations: 0 / 1.112 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005211/0.3208, allocations: 3.957 MB / 1.116 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.3209, allocations: 8 kB / 1.116 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.3209, allocations: 4.031 kB / 1.116 GB, free: 4.301 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.3209, allocations: 0 / 1.116 GB, free: 4.301 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.3211, allocations: 19.92 kB / 1.116 GB, free: 4.281 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.3211, allocations: 4 kB / 1.116 GB, free: 4.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005178/0.3216, allocations: 228.3 kB / 1.116 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.998e-05/0.3217, allocations: 27.98 kB / 1.116 GB, free: 4.023 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (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 (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0002974/0.322, allocations: 237.6 kB / 1.116 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/0.3221, allocations: 74.7 kB / 1.116 GB, free: 3.707 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.3224, allocations: 74.84 kB / 1.116 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.3224, allocations: 0 / 1.116 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.3224, allocations: 4 kB / 1.116 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3224, allocations: 0 / 1.116 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004675/0.3229, allocations: 496.7 kB / 1.117 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3229, allocations: 0 / 1.117 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.662e-05/0.323, allocations: 11.92 kB / 1.117 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.323, allocations: 8.031 kB / 1.117 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.323, allocations: 0 / 1.117 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.323, allocations: 0 / 1.117 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.3231, allocations: 7.984 kB / 1.117 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009163/0.324, allocations: 0.9935 MB / 1.118 GB, free: 2.039 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.3241, allocations: 159.8 kB / 1.118 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.262e-05/0.3242, allocations: 7.984 kB / 1.118 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.3243, allocations: 4 kB / 1.118 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.3244, allocations: 7.984 kB / 1.118 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/0.3244, allocations: 11.98 kB / 1.118 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007601/0.3252, allocations: 0.6687 MB / 1.119 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3252, allocations: 0 / 1.119 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001141/0.3264, allocations: 391.9 kB / 1.119 GB, free: 0.7734 MB / 0.8731 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.001618/0.328, allocations: 486.8 kB / 1.12 GB, free: 292 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002308/0.3303, allocations: 2.499 MB / 1.122 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3303, allocations: 0 / 1.122 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.3307, allocations: 343.7 kB / 1.122 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.331, allocations: 40.38 kB / 1.122 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.3331, allocations: 1.733 MB / 1.124 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/0.3337, allocations: 0.964 MB / 1.125 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001241/0.3338, allocations: 33.11 kB / 1.125 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.596e-05/0.3339, allocations: 31.41 kB / 1.125 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of SimCode: time 4.1e-07/0.3339, allocations: 0 / 1.125 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of Templates: time 0.01813/0.3521, allocations: 9.542 MB / 1.134 GB, free: 1.074 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches