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.001317/0.001317, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.534/2.534, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 71.89 kB / 0.8693 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5841/0.5852, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001706/0.587, allocations: 0.5694 MB / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.5881, allocations: 1.003 MB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.934e-05/0.5881, allocations: 0 / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.099e-05/0.5882, allocations: 0 / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0006734/0.5888, allocations: 95.78 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.212e-05/0.5889, allocations: 15.97 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.463e-05/0.5889, allocations: 3.938 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.589, allocations: 4 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.474e-05/0.589, allocations: 4 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.5892, allocations: 41.64 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.5892, allocations: 3.938 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.5894, allocations: 79.91 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.706e-06/0.5894, allocations: 4 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.5894, allocations: 4 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.5896, allocations: 71.91 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5896, allocations: 0 / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5896, allocations: 0 / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.5896, allocations: 0 / 1.019 GB, free: 0.6211 MB / 0.7637 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.0002801/0.5899, allocations: 341.4 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.5899, allocations: 11.98 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/0.59, allocations: 4.938 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.5901, allocations: 164.3 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.5901, allocations: 384 / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.5901, allocations: 384 / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.547e-05/0.5902, allocations: 37.81 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.5902, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.5902, allocations: 3.984 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.5902, allocations: 8 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.717e-05/0.5902, allocations: 0 / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.5906, allocations: 464.6 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.09e-05/0.5907, allocations: 173.1 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.5907, allocations: 84.17 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.5907, allocations: 83.31 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.5908, allocations: 105.8 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.5908, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.408e-05/0.5908, allocations: 33.62 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.5909, allocations: 130.6 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.748e-05/0.591, allocations: 101.9 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.591, allocations: 25.7 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.591, allocations: 91.98 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.5911, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.5911, allocations: 17.7 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.5912, allocations: 318.8 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-06/0.5912, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-06/0.5912, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.346e-05/0.5912, allocations: 8.859 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.5912, allocations: 4.062 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.896e-05/0.5913, allocations: 33.64 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.5913, allocations: 8 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.5914, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.5914, allocations: 7.922 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-05/0.5914, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.5914, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.254e-05/0.5914, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.5914, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 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 7.532e-05/0.5915, allocations: 193.1 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.5916, allocations: 101 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/0.5916, allocations: 112 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.926e-05/0.5917, allocations: 180.2 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.145e-05/0.5917, allocations: 176.3 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.256e-05/0.5918, allocations: 180.2 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.592, allocations: 413.2 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-05/0.592, allocations: 104.9 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.049e-05/0.592, allocations: 101 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.661e-05/0.5921, allocations: 180.3 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-05/0.5922, allocations: 184.2 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-05/0.5922, allocations: 184.2 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.064e-05/0.5923, allocations: 180.2 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.5924, allocations: 311.7 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.5925, allocations: 182.3 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.113e-05/0.5925, allocations: 184.3 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.572e-05/0.5926, allocations: 109 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.5927, allocations: 180.3 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.5927, allocations: 108.9 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.995e-05/0.5927, allocations: 83.27 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5927, allocations: 0 / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000247/0.593, allocations: 20 kB / 1.025 GB, free: 10.54 MB / 0.7794 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.0003159/0.5933, allocations: 240.9 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.368e-05/0.5934, allocations: 4 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5934, allocations: 0 / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.5934, allocations: 0 / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.5937, allocations: 465.9 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.594, allocations: 204.2 kB / 1.026 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.5942, allocations: 0.6729 MB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.088e-05/0.5943, allocations: 4 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.66e-05/0.5943, allocations: 11.44 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.5943, allocations: 0 / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of Templates: time 0.00254/0.5968, allocations: 0.6668 MB / 1.027 GB, free: 8.277 MB / 0.7794 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