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.004644/0.004645, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.001096/0.001096, allocations: 198.9 kB / 16.67 MB, free: 5.969 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.347/2.347, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 71.75 kB / 0.9509 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2657, allocations: 140.4 MB / 1.088 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002425/0.2682, allocations: 1.41 MB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004532/0.2728, allocations: 3.029 MB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.734e-05/0.2728, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.273, allocations: 11.92 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.2732, allocations: 27.78 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002284/0.2755, allocations: 0.9958 MB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.2757, allocations: 83.69 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.2757, allocations: 4 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.772e-05/0.2758, allocations: 43.89 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.276, allocations: 143.6 kB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.2761, allocations: 16 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.2779, allocations: 1.385 MB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002741/0.2782, allocations: 263.8 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.2785, allocations: 278.3 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.2801, allocations: 1.473 MB / 1.097 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2801, allocations: 0 / 1.097 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2801, allocations: 0 / 1.097 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.2801, allocations: 0 / 1.097 GB, free: 8.27 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.009932/0.2901, allocations: 1.218 MB / 1.098 GB, free: 7 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.2901, allocations: 8.031 kB / 1.098 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003568/0.2905, allocations: 83.69 kB / 1.098 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.2909, allocations: 360.8 kB / 1.099 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.2909, allocations: 8.375 kB / 1.099 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.291, allocations: 8.312 kB / 1.099 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.2914, allocations: 403.4 kB / 1.099 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2914, allocations: 0 / 1.099 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2914, allocations: 0 / 1.099 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2915, allocations: 4 kB / 1.099 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.2919, allocations: 431.7 kB / 1.099 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.2925, allocations: 0.6326 MB / 1.1 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005374/0.293, allocations: 0.5672 MB / 1.101 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.2933, allocations: 329.7 kB / 1.101 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/0.2945, allocations: 1.032 MB / 1.102 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004044/0.2949, allocations: 408.8 kB / 1.102 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.2949, allocations: 0 / 1.102 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001269/0.2962, allocations: 1.293 MB / 1.104 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.2962, allocations: 81.11 kB / 1.104 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.2973, allocations: 1.202 MB / 1.105 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.2974, allocations: 29.7 kB / 1.105 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.2976, allocations: 261.4 kB / 1.105 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.2976, allocations: 19.75 kB / 1.105 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003146/0.2979, allocations: 351.5 kB / 1.105 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.2981, allocations: 322.1 kB / 1.106 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.2993, allocations: 1.354 MB / 1.107 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.3006, allocations: 1.493 MB / 1.108 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007068/0.3076, allocations: 3.541 MB / 1.112 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.3077, allocations: 0 / 1.112 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00414/0.3118, allocations: 3.965 MB / 1.116 GB, free: 4.297 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3118, allocations: 4 kB / 1.116 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.3119, allocations: 3.984 kB / 1.116 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.3119, allocations: 4 kB / 1.116 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.312, allocations: 16 kB / 1.116 GB, free: 4.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.312, allocations: 0 / 1.116 GB, free: 4.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004805/0.3125, allocations: 232.3 kB / 1.116 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/0.3126, allocations: 27.92 kB / 1.116 GB, free: 4.012 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.0002853/0.3129, allocations: 237.6 kB / 1.116 GB, free: 3.77 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/0.3129, allocations: 70.72 kB / 1.116 GB, free: 3.699 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.3132, allocations: 70.89 kB / 1.116 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3132, allocations: 8.031 kB / 1.116 GB, free: 3.605 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3132, allocations: 0 / 1.116 GB, free: 3.605 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3133, allocations: 0 / 1.116 GB, free: 3.605 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000488/0.3137, allocations: 0.489 MB / 1.117 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3138, allocations: 4 kB / 1.117 GB, free: 3.066 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.435e-05/0.3138, allocations: 11.94 kB / 1.117 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3139, allocations: 7.922 kB / 1.117 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.3139, allocations: 8 kB / 1.117 GB, free: 3.039 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3139, allocations: 0 / 1.117 GB, free: 3.039 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3139, allocations: 3.938 kB / 1.117 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008742/0.3148, allocations: 0.9935 MB / 1.118 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.3149, allocations: 155.8 kB / 1.118 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.74e-05/0.3149, allocations: 0 / 1.118 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.3151, allocations: 4 kB / 1.118 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.3151, allocations: 15.98 kB / 1.118 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.3152, allocations: 11.98 kB / 1.118 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006736/0.3159, allocations: 0.6648 MB / 1.119 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3159, allocations: 0 / 1.119 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001016/0.3169, allocations: 395.9 kB / 1.119 GB, free: 0.7578 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.001123/0.318, allocations: 497.5 kB / 1.12 GB, free: 268 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002309/0.3203, allocations: 2.498 MB / 1.122 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3204, allocations: 0 / 1.122 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003416/0.3207, allocations: 335.9 kB / 1.122 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.321, allocations: 40.42 kB / 1.122 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.3231, allocations: 1.744 MB / 1.124 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.3236, allocations: 0.9601 MB / 1.125 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001191/0.3237, allocations: 32.55 kB / 1.125 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.296e-05/0.3238, allocations: 23.42 kB / 1.125 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of SimCode: time 2.3e-07/0.3238, allocations: 0 / 1.125 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of Templates: time 0.01611/0.3399, allocations: 9.548 MB / 1.134 GB, free: 1.066 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