Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 79.83 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 164.7 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.544/1.544, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.942/2.942, allocations: 377.8 MB / 0.6221 GB, free: 12.65 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_12_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=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 0.9815 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.007e-05/4.273e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00274/0.002783, allocations: 0.5839 MB / 0.9821 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002547/0.00533, allocations: 1.003 MB / 0.9831 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.235e-05/0.005352, allocations: 0 / 0.9831 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.167e-05/0.005374, allocations: 3.938 kB / 0.9831 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.006685, allocations: 99.75 kB / 0.9832 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.95e-05/0.006755, allocations: 15.88 kB / 0.9832 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.653e-05/0.006821, allocations: 11.98 kB / 0.9832 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.006872, allocations: 0 / 0.9832 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.115e-05/0.006913, allocations: 4 kB / 0.9832 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.0072, allocations: 39.84 kB / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.007216, allocations: 0 / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.007481, allocations: 79.91 kB / 0.9833 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.007493, allocations: 0 / 0.9833 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.702e-05/0.00751, allocations: 3.938 kB / 0.9833 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.007775, allocations: 91.75 kB / 0.9834 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.007784, allocations: 4 kB / 0.9834 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.012e-06/0.007785, allocations: 0 / 0.9834 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.00779, allocations: 0 / 0.9834 GB, free: 9.98 MB / 0.9356 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.0005697/0.008359, allocations: 258.2 kB / 0.9836 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.008412, allocations: 16.03 kB / 0.9837 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.008452, allocations: 0.9375 kB / 0.9837 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.008613, allocations: 105.8 kB / 0.9838 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.008627, allocations: 4.375 kB / 0.9838 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.008637, allocations: 384 / 0.9838 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.00875, allocations: 34.19 kB / 0.9838 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.00876, allocations: 192 / 0.9838 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.008773, allocations: 4.125 kB / 0.9838 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.008782, allocations: 4 kB / 0.9838 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.409e-05/0.008807, allocations: 0 / 0.9838 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005228/0.009329, allocations: 343.2 kB / 0.9841 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.009508, allocations: 169.1 kB / 0.9843 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.344e-05/0.009571, allocations: 84.08 kB / 0.9844 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.028e-05/0.009622, allocations: 75.28 kB / 0.9844 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.908e-05/0.009711, allocations: 113.8 kB / 0.9845 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 6.503e-06/0.009717, allocations: 3.984 kB / 0.9846 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001109/0.009828, allocations: 29.7 kB / 0.9846 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.009958, allocations: 130.7 kB / 0.9847 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.01011, allocations: 97.81 kB / 0.9848 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.01014, allocations: 29.7 kB / 0.9848 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.01022, allocations: 88.14 kB / 0.9849 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-06/0.01023, allocations: 0 / 0.9849 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.01027, allocations: 9.719 kB / 0.9849 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002281/0.0105, allocations: 318.8 kB / 0.9852 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.417e-05/0.01052, allocations: 3.938 kB / 0.9852 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.007e-05/0.01053, allocations: 0 / 0.9852 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.123e-05/0.01057, allocations: 8.859 kB / 0.9852 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01057, allocations: 0 / 0.9852 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001576/0.01073, allocations: 37.64 kB / 0.9853 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.01075, allocations: 10.28 kB / 0.9853 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01076, allocations: 4 kB / 0.9853 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.01078, allocations: 3.938 kB / 0.9853 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.719e-05/0.0108, allocations: 3.984 kB / 0.9853 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01081, allocations: 0 / 0.9853 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.206e-05/0.01083, allocations: 0 / 0.9853 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.01084, allocations: 3.938 kB / 0.9853 GB, free: 7.852 MB / 0.9356 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 0.0001661/0.01101, allocations: 189.1 kB / 0.9855 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.01113, allocations: 104.9 kB / 0.9856 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.918e-05/0.01122, allocations: 108.1 kB / 0.9857 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001324/0.01135, allocations: 184.3 kB / 0.9859 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001428/0.0115, allocations: 188.3 kB / 0.986 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001245/0.01162, allocations: 184.2 kB / 0.9862 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.01204, allocations: 348.9 kB / 0.9865 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.089e-05/0.01213, allocations: 113 kB / 0.9867 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.06e-05/0.01221, allocations: 104.9 kB / 0.9868 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001748/0.01238, allocations: 176.3 kB / 0.9869 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.0125, allocations: 188.1 kB / 0.9871 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001293/0.01263, allocations: 180.3 kB / 0.9873 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001214/0.01276, allocations: 176.3 kB / 0.9874 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.01302, allocations: 311.8 kB / 0.9877 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.01312, allocations: 108.9 kB / 0.9878 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.01326, allocations: 184.2 kB / 0.988 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.01342, allocations: 105 kB / 0.9881 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.01356, allocations: 180.2 kB / 0.9883 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.766e-05/0.01363, allocations: 105 kB / 0.9884 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.041e-05/0.01371, allocations: 79.28 kB / 0.9885 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01371, allocations: 0 / 0.9885 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005488/0.01425, allocations: 27.86 kB / 0.9885 GB, free: 4.395 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.0005856/0.01484, allocations: 226.9 kB / 0.9887 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.655e-05/0.01493, allocations: 15.92 kB / 0.9887 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.01493, allocations: 0 / 0.9887 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.976e-06/0.01493, allocations: 0 / 0.9887 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006623/0.01559, allocations: 455.7 kB / 0.9892 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005986/0.01619, allocations: 203.9 kB / 0.9894 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.603e-05/0.01628, allocations: 55.36 kB / 0.9894 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.46e-05/0.01631, allocations: 4.062 kB / 0.9894 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.01636, allocations: 24.41 kB / 0.9894 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of SimCode: time 6.51e-07/0.01636, allocations: 0 / 0.9894 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of Templates: time 0.005445/0.0218, allocations: 0.6937 MB / 0.9901 GB, free: 2.738 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.41704510524869]