Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007045/0.007045, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001605/0.001605, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.688/2.688, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 64.11 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2743, allocations: 157.4 MB / 1.208 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001666/0.276, allocations: 0.5658 MB / 1.208 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.2773, allocations: 0.9914 MB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.863e-05/0.2773, allocations: 0 / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.22e-05/0.2774, allocations: 0 / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00073/0.2781, allocations: 99.77 kB / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.705e-05/0.2782, allocations: 11.94 kB / 1.209 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.253e-05/0.2782, allocations: 8 kB / 1.209 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.2783, allocations: 7.984 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.548e-05/0.2783, allocations: 0 / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.2785, allocations: 43.89 kB / 1.209 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.2785, allocations: 0 / 1.209 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.2787, allocations: 79.86 kB / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.2787, allocations: 4 kB / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.2787, allocations: 7.922 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.2789, allocations: 74.36 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.279, allocations: 4 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.279, allocations: 0 / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.279, allocations: 4 kB / 1.21 GB, free: 7.668 MB / 0.9669 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.0003441/0.2793, allocations: 327.5 kB / 1.21 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2794, allocations: 8.625 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.2794, allocations: 0.9375 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.2796, allocations: 180.3 kB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.2796, allocations: 384 / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.2796, allocations: 384 / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.126e-05/0.2797, allocations: 33.83 kB / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.2797, allocations: 7.984 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.2797, allocations: 0 / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.2797, allocations: 0 / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.686e-05/0.2797, allocations: 3.938 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.2802, allocations: 468.6 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.2803, allocations: 165.1 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.506e-05/0.2803, allocations: 84.14 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.2803, allocations: 83.28 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.2804, allocations: 109.8 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.2804, allocations: 0 / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 6.734e-05/0.2805, allocations: 25.7 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.2805, allocations: 126.7 kB / 1.211 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.122e-05/0.2806, allocations: 109.8 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.2806, allocations: 25.7 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.2807, allocations: 80.14 kB / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.2807, allocations: 0 / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.2807, allocations: 13.72 kB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.2808, allocations: 314.8 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-06/0.2808, allocations: 0 / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-06/0.2808, allocations: 0 / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/0.2809, allocations: 24.84 kB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2809, allocations: 3.938 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.26e-05/0.281, allocations: 29.7 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.281, allocations: 8 kB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.281, allocations: 0 / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.281, allocations: 0 / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.695e-05/0.2811, allocations: 4 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2811, allocations: 0 / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.433e-05/0.2811, allocations: 0 / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.2811, allocations: 8.016 kB / 1.212 GB, free: 5.223 MB / 0.9669 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.75e-05/0.2812, allocations: 197 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.2813, allocations: 109.3 kB / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.399e-05/0.2813, allocations: 108.1 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.007e-05/0.2814, allocations: 184.2 kB / 1.212 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.139e-05/0.2814, allocations: 184.3 kB / 1.213 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-05/0.2815, allocations: 180.4 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.2818, allocations: 413.1 kB / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.131e-05/0.2818, allocations: 101 kB / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.77e-05/0.2819, allocations: 108.9 kB / 1.213 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.447e-05/0.282, allocations: 176.3 kB / 1.213 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.2821, allocations: 184.3 kB / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001346/0.2822, allocations: 180.2 kB / 1.214 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001128/0.2824, allocations: 180.3 kB / 1.214 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.2826, allocations: 307.7 kB / 1.214 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.2827, allocations: 182.1 kB / 1.214 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.967e-05/0.2828, allocations: 188.2 kB / 1.215 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.283, allocations: 105 kB / 1.215 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.283, allocations: 180.2 kB / 1.215 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.2831, allocations: 101 kB / 1.215 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.449e-05/0.2831, allocations: 79.28 kB / 1.215 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2831, allocations: 0 / 1.215 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002577/0.2834, allocations: 31.98 kB / 1.215 GB, free: 1.598 MB / 0.9669 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.0003405/0.2837, allocations: 234 kB / 1.215 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.36e-05/0.2838, allocations: 11.88 kB / 1.215 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2838, allocations: 0 / 1.215 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.477e-06/0.2838, allocations: 12.05 kB / 1.215 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.2842, allocations: 455.6 kB / 1.216 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/0.2845, allocations: 192.2 kB / 1.216 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.2848, allocations: 0.6767 MB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.2848, allocations: 7.938 kB / 1.217 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.2849, allocations: 11.44 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.2849, allocations: 0 / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of Templates: time 0.002752/0.2876, allocations: 0.6709 MB / 1.217 GB, free: 15.33 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches