Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006708/0.006707, allocations: 97.3 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.001481/0.001481, allocations: 201.7 kB / 16.68 MB, free: 5.961 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.665/2.665, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.88 kB / 1.019 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2762, allocations: 151.6 MB / 1.167 GB, free: 6.762 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001613/0.2779, allocations: 0.5602 MB / 1.167 GB, free: 6.199 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.2791, allocations: 1.003 MB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.825e-05/0.2791, allocations: 0 / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.14e-05/0.2791, allocations: 0 / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0006611/0.2798, allocations: 99.77 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.477e-05/0.2799, allocations: 15.94 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 3.742e-05/0.2799, allocations: 7.938 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.28, allocations: 7.984 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.645e-05/0.28, allocations: 3.984 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.2802, allocations: 27.98 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.2802, allocations: 3.984 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.2804, allocations: 75.88 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.057e-06/0.2804, allocations: 7.984 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.2804, allocations: 3.938 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.2806, allocations: 71.84 kB / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2806, allocations: 0 / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2806, allocations: 4 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2806, allocations: 0 / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002926/0.2809, allocations: 339.3 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.2809, allocations: 11.98 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.281, allocations: 4.938 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.2811, allocations: 164.4 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.2811, allocations: 384 / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.2811, allocations: 384 / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.117e-05/0.2812, allocations: 45.81 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.2812, allocations: 0 / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.2812, allocations: 0 / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.2812, allocations: 3.938 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.778e-05/0.2812, allocations: 3.938 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.2816, allocations: 468.5 kB / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.094e-05/0.2817, allocations: 169.1 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.2818, allocations: 80.14 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.2818, allocations: 79.31 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.2818, allocations: 109.8 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2818, allocations: 0 / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 6.797e-05/0.2819, allocations: 29.7 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.282, allocations: 130.7 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.318e-05/0.2821, allocations: 101.8 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.2821, allocations: 25.7 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.208e-05/0.2821, allocations: 88.09 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.2821, allocations: 0 / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.2822, allocations: 17.66 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.009e-05/0.2823, allocations: 314.8 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-06/0.2823, allocations: 0 / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-06/0.2823, allocations: 7.984 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.518e-05/0.2823, allocations: 12.8 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2823, allocations: 0 / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.26e-05/0.2824, allocations: 33.7 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2824, allocations: 8 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.2824, allocations: 0 / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.2825, allocations: 0 / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.512e-05/0.2825, allocations: 0 / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.2825, allocations: 0 / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.2825, allocations: 8.094 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.2825, allocations: 4 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 8.229e-05/0.2826, allocations: 189 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/0.2827, allocations: 104.9 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.2827, allocations: 108.1 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.769e-05/0.2828, allocations: 180.2 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.277e-05/0.2828, allocations: 184.3 kB / 1.171 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.544e-05/0.2829, allocations: 180.2 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.2831, allocations: 405.1 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.363e-05/0.2832, allocations: 101 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.2832, allocations: 116.8 kB / 1.172 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.376e-05/0.2833, allocations: 184.5 kB / 1.172 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.374e-05/0.2833, allocations: 180.3 kB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.064e-05/0.2834, allocations: 184.2 kB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-05/0.2834, allocations: 176.3 kB / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.2836, allocations: 311.7 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.2837, allocations: 182.1 kB / 1.173 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.2838, allocations: 184.2 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.2839, allocations: 105 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.284, allocations: 184.2 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.284, allocations: 105 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.617e-05/0.2841, allocations: 75.47 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2841, allocations: 8 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002551/0.2843, allocations: 19.92 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0003493/0.2847, allocations: 235.7 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.127e-05/0.2848, allocations: 7.984 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2848, allocations: 8 kB / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.2848, allocations: 0 / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.2851, allocations: 455.6 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.2854, allocations: 192.2 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.2856, allocations: 0.6729 MB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.233e-05/0.2857, allocations: 4 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.2857, allocations: 11.44 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of SimCode: time 2.545e-06/0.2857, allocations: 0 / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of Templates: time 0.002574/0.2883, allocations: 0.6946 MB / 1.176 GB, free: 12.5 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches