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.001137/0.001137, allocations: 102.2 kB / 16.35 MB, free: 5.887 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.001196/0.001196, allocations: 189.8 kB / 17.29 MB, free: 5.527 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.18 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.139/2.139, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.33 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2442, allocations: 140.4 MB / 0.9512 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002293/0.2466, allocations: 1.404 MB / 0.9525 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004165/0.2507, allocations: 3.03 MB / 0.9555 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.2508, allocations: 4 kB / 0.9555 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.518e-05/0.2509, allocations: 7.922 kB / 0.9555 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.2511, allocations: 39.72 kB / 0.9555 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.2534, allocations: 0.9902 MB / 0.9565 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.2535, allocations: 75.77 kB / 0.9566 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.754e-05/0.2535, allocations: 15.91 kB / 0.9566 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.871e-05/0.2536, allocations: 35.86 kB / 0.9566 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.2538, allocations: 147.6 kB / 0.9568 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.2539, allocations: 12 kB / 0.9568 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.2557, allocations: 1.381 MB / 0.9581 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.256, allocations: 271.8 kB / 0.9584 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.2562, allocations: 270.3 kB / 0.9587 GB, free: 328 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.2578, allocations: 1.477 MB / 0.9601 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2578, allocations: 4 kB / 0.9601 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2578, allocations: 0 / 0.9601 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.2578, allocations: 4 kB / 0.9601 GB, free: 14.83 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.007896/0.2657, allocations: 1.207 MB / 0.9613 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2657, allocations: 12.03 kB / 0.9613 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003477/0.2661, allocations: 83.69 kB / 0.9614 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.2665, allocations: 360.9 kB / 0.9617 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.2665, allocations: 8.359 kB / 0.9617 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.2666, allocations: 12.38 kB / 0.9617 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004115/0.267, allocations: 391.4 kB / 0.9621 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.267, allocations: 0 / 0.9621 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.267, allocations: 0 / 0.9621 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2671, allocations: 0 / 0.9621 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/0.2675, allocations: 435.7 kB / 0.9625 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/0.268, allocations: 0.6287 MB / 0.9631 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004901/0.2685, allocations: 0.5594 MB / 0.9637 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.2688, allocations: 341.6 kB / 0.964 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.2699, allocations: 1.036 MB / 0.965 GB, free: 9.383 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004002/0.2703, allocations: 412.8 kB / 0.9654 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.2703, allocations: 0 / 0.9654 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8): time 0.001269/0.2716, allocations: 1.289 MB / 0.9667 GB, free: 7.664 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.2716, allocations: 81.11 kB / 0.9668 GB, free: 7.566 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.2727, allocations: 1.202 MB / 0.9679 GB, free: 6.348 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.2728, allocations: 33.7 kB / 0.968 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.2729, allocations: 261.3 kB / 0.9682 GB, free: 6.047 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.273, allocations: 31.66 kB / 0.9682 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002951/0.2733, allocations: 351.7 kB / 0.9686 GB, free: 5.668 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2734, allocations: 310 kB / 0.9689 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.2745, allocations: 1.361 MB / 0.9702 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.2758, allocations: 1.489 MB / 0.9717 GB, free: 2.496 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007264/0.2831, allocations: 3.545 MB / 0.9751 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.2832, allocations: 4 kB / 0.9751 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003971/0.2871, allocations: 3.961 MB / 0.979 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.2872, allocations: 4 kB / 0.979 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.2872, allocations: 4 kB / 0.979 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.2872, allocations: 0 / 0.979 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.2874, allocations: 20.02 kB / 0.979 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.2874, allocations: 4 kB / 0.979 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.2878, allocations: 232.3 kB / 0.9792 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/0.2879, allocations: 23.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.0002745/0.2882, allocations: 237.6 kB / 0.9795 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.2882, allocations: 70.7 kB / 0.9796 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.2885, allocations: 74.91 kB / 0.9796 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2885, allocations: 0 / 0.9796 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2885, allocations: 0 / 0.9796 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2885, allocations: 4 kB / 0.9796 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.289, allocations: 496.8 kB / 0.9801 GB, free: 9.645 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.289, allocations: 0 / 0.9801 GB, free: 9.645 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.054e-05/0.289, allocations: 15.92 kB / 0.9801 GB, free: 9.629 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.2891, allocations: 4 kB / 0.9801 GB, free: 9.625 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.2891, allocations: 3.938 kB / 0.9801 GB, free: 9.621 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2891, allocations: 4.031 kB / 0.9801 GB, free: 9.617 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.2891, allocations: 0 / 0.9801 GB, free: 9.617 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008562/0.29, allocations: 0.9974 MB / 0.9811 GB, free: 8.598 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-05/0.2901, allocations: 155.8 kB / 0.9813 GB, free: 8.426 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.759e-05/0.2901, allocations: 8 kB / 0.9813 GB, free: 8.418 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.2903, allocations: 11.98 kB / 0.9813 GB, free: 8.406 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.2903, allocations: 3.984 kB / 0.9813 GB, free: 8.402 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.2904, allocations: 11.98 kB / 0.9813 GB, free: 8.391 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006677/0.291, allocations: 0.6648 MB / 0.9819 GB, free: 7.719 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/0.291, allocations: 4 kB / 0.9819 GB, free: 7.715 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001009/0.2921, 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.001071/0.2931, allocations: 486.7 kB / 0.9828 GB, free: 6.848 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002395/0.2955, allocations: 2.492 MB / 0.9852 GB, free: 4.348 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2956, allocations: 4.062 kB / 0.9852 GB, free: 4.344 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003823/0.296, allocations: 343.7 kB / 0.9855 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.0003585/0.2963, allocations: 38.7 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.002008/0.2983, allocations: 1.744 MB / 0.9873 GB, free: 2.191 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.2988, allocations: 0.9678 MB / 0.9882 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001158/0.299, allocations: 32.56 kB / 0.9883 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.416e-05/0.2991, allocations: 27.41 kB / 0.9883 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of SimCode: time 6.01e-07/0.2991, allocations: 0 / 0.9883 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of Templates: time 0.02882/0.3279, allocations: 9.541 MB / 0.9976 GB, free: 7.641 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 cvode -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