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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001589/0.001589, allocations: 103.8 kB / 16.36 MB, free: 5.547 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.001811/0.001811, allocations: 194.5 kB / 17.31 MB, free: 5.184 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.188/2.188, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 70.3 kB / 0.8141 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.256, allocations: 140.4 MB / 0.9512 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002518/0.2585, allocations: 1.41 MB / 0.9525 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004377/0.2629, allocations: 3.033 MB / 0.9555 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.263, allocations: 0 / 0.9555 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.2631, allocations: 15.86 kB / 0.9555 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.2633, allocations: 35.78 kB / 0.9556 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.2657, allocations: 0.9824 MB / 0.9565 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.2658, allocations: 79.73 kB / 0.9566 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.16e-05/0.2659, allocations: 7.938 kB / 0.9566 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.248e-05/0.2659, allocations: 51.78 kB / 0.9566 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.2662, allocations: 139.6 kB / 0.9568 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.2662, allocations: 12 kB / 0.9568 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.268, allocations: 1.377 MB / 0.9581 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.2682, allocations: 267.8 kB / 0.9584 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.2685, allocations: 274.3 kB / 0.9587 GB, free: 336 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.2701, allocations: 1.477 MB / 0.9601 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2701, allocations: 0 / 0.9601 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2701, allocations: 4 kB / 0.9601 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.2701, allocations: 4 kB / 0.9601 GB, free: 14.84 MB / 0.7481 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.00806/0.2782, allocations: 1.21 MB / 0.9613 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2782, allocations: 8.031 kB / 0.9613 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000363/0.2786, allocations: 83.69 kB / 0.9614 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/0.279, allocations: 368.8 kB / 0.9617 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.2791, allocations: 4.375 kB / 0.9617 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/0.2791, allocations: 8.375 kB / 0.9617 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004352/0.2796, allocations: 387.5 kB / 0.9621 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.2796, allocations: 4 kB / 0.9621 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.2796, allocations: 4 kB / 0.9621 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2796, allocations: 0 / 0.9621 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/0.2801, allocations: 447.7 kB / 0.9625 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005503/0.2806, allocations: 0.6209 MB / 0.9631 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.2811, allocations: 0.5594 MB / 0.9637 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.2814, allocations: 337.7 kB / 0.964 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.2825, allocations: 1.044 MB / 0.965 GB, free: 9.379 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00039/0.2829, allocations: 404.8 kB / 0.9654 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.2829, allocations: 4 kB / 0.9654 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8): time 0.001294/0.2842, allocations: 1.293 MB / 0.9667 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.2843, allocations: 81.11 kB / 0.9668 GB, free: 7.562 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.2854, allocations: 1.202 MB / 0.9679 GB, free: 6.344 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/0.2854, allocations: 29.7 kB / 0.968 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.2856, allocations: 269.4 kB / 0.9682 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.2856, allocations: 23.67 kB / 0.9682 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003302/0.286, allocations: 351.5 kB / 0.9686 GB, free: 5.668 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2861, allocations: 314 kB / 0.9689 GB, free: 5.355 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.2872, allocations: 1.357 MB / 0.9702 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.2885, allocations: 1.497 MB / 0.9717 GB, free: 2.488 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007049/0.2956, allocations: 3.534 MB / 0.9751 GB, free: 14.87 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2956, allocations: 0 / 0.9751 GB, free: 14.87 MB / 0.7637 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004036/0.2997, allocations: 3.969 MB / 0.979 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.2997, allocations: 4 kB / 0.979 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.2997, allocations: 7.984 kB / 0.979 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2997, allocations: 4.031 kB / 0.979 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.2999, allocations: 16 kB / 0.979 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2999, allocations: 0 / 0.979 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004623/0.3004, allocations: 232.3 kB / 0.9792 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/0.3004, allocations: 19.98 kB / 0.9793 GB, free: 10.58 MB / 0.7637 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.000274/0.3007, allocations: 241.6 kB / 0.9795 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/0.3008, allocations: 70.72 kB / 0.9796 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.301, allocations: 78.89 kB / 0.9796 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.301, allocations: 0 / 0.9796 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3011, allocations: 0 / 0.9796 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3011, allocations: 0 / 0.9796 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.3015, allocations: 0.489 MB / 0.9801 GB, free: 9.641 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3015, allocations: 0 / 0.9801 GB, free: 9.641 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.266e-05/0.3016, allocations: 11.94 kB / 0.9801 GB, free: 9.629 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3016, allocations: 3.984 kB / 0.9801 GB, free: 9.625 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.3016, allocations: 8.031 kB / 0.9801 GB, free: 9.617 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3016, allocations: 3.938 kB / 0.9801 GB, free: 9.613 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3016, allocations: 0 / 0.9801 GB, free: 9.613 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008534/0.3025, allocations: 0.9935 MB / 0.9811 GB, free: 8.598 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.3026, allocations: 155.8 kB / 0.9813 GB, free: 8.426 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.969e-05/0.3027, allocations: 8 kB / 0.9813 GB, free: 8.418 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.3028, allocations: 7.984 kB / 0.9813 GB, free: 8.41 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.3029, allocations: 7.938 kB / 0.9813 GB, free: 8.402 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/0.3029, allocations: 11.98 kB / 0.9813 GB, free: 8.391 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006866/0.3036, allocations: 0.6687 MB / 0.982 GB, free: 7.715 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3036, allocations: 0 / 0.982 GB, free: 7.715 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009714/0.3046, allocations: 391.9 kB / 0.9823 GB, free: 7.332 MB / 0.7637 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.001058/0.3057, allocations: 490.7 kB / 0.9828 GB, free: 6.844 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002205/0.3079, allocations: 2.495 MB / 0.9852 GB, free: 4.34 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3079, allocations: 0 / 0.9852 GB, free: 4.34 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003424/0.3082, allocations: 339.8 kB / 0.9856 GB, free: 4.008 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.3086, allocations: 38.77 kB / 0.9856 GB, free: 3.973 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.3105, allocations: 1.748 MB / 0.9873 GB, free: 2.188 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.311, allocations: 0.9639 MB / 0.9882 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.3111, allocations: 32.55 kB / 0.9883 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.184e-05/0.3112, allocations: 23.42 kB / 0.9883 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of SimCode: time 4.31e-07/0.3112, allocations: 8 kB / 0.9883 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of Templates: time 0.0165/0.3277, allocations: 9.543 MB / 0.9976 GB, free: 7.637 MB / 0.7794 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 -s gbode -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/jenkins1/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