Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002361/0.002361, allocations: 87.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.002707/0.002707, allocations: 157.7 kB / 23.55 MB, free: 0.875 MB / 18.57 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.602/1.602, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.875/2.875, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7865 GB, free: 11.62 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.878e-05, allocations: 2.312 kB / 0.7865 GB, free: 11.62 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00188/0.001909, allocations: 0.5769 MB / 0.787 GB, free: 11.06 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001707/0.003616, allocations: 1.023 MB / 0.788 GB, free: 10.02 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.003645, allocations: 4.906 kB / 0.788 GB, free: 10.02 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.00366, allocations: 0 / 0.788 GB, free: 10.02 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0007559/0.004416, allocations: 88.45 kB / 0.7881 GB, free: 9.934 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.598e-05/0.004462, allocations: 11.94 kB / 0.7881 GB, free: 9.922 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.486e-05/0.004517, allocations: 6.5 kB / 0.7881 GB, free: 9.918 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.004558, allocations: 3.984 kB / 0.7881 GB, free: 9.914 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.614e-05/0.004604, allocations: 7.984 kB / 0.7881 GB, free: 9.906 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.004839, allocations: 35.89 kB / 0.7882 GB, free: 9.871 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.004854, allocations: 0 / 0.7882 GB, free: 9.871 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.005069, allocations: 79.91 kB / 0.7882 GB, free: 9.793 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.00509, allocations: 5.656 kB / 0.7883 GB, free: 9.789 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.819e-05/0.005108, allocations: 0 / 0.7883 GB, free: 9.789 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.005334, allocations: 87.77 kB / 0.7883 GB, free: 9.703 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.005337, allocations: 0 / 0.7883 GB, free: 9.703 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.31e-07/0.005338, allocations: 0 / 0.7883 GB, free: 9.703 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.005343, allocations: 0.5938 kB / 0.7883 GB, free: 9.703 MB / 0.698 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.0005876/0.00593, allocations: 368.7 kB / 0.7887 GB, free: 9.309 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.00597, allocations: 8.031 kB / 0.7887 GB, free: 9.301 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.006013, allocations: 2 kB / 0.7887 GB, free: 9.301 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.006153, allocations: 108.6 kB / 0.7888 GB, free: 9.168 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.006166, allocations: 2.188 kB / 0.7888 GB, free: 9.168 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-06/0.006173, allocations: 384 / 0.7888 GB, free: 9.168 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.452e-05/0.006267, allocations: 38.25 kB / 0.7888 GB, free: 9.125 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.00628, allocations: 4.125 kB / 0.7888 GB, free: 9.121 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.00629, allocations: 4.125 kB / 0.7888 GB, free: 9.117 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.006294, allocations: 1.438 kB / 0.7888 GB, free: 9.117 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.006311, allocations: 3.938 kB / 0.7889 GB, free: 9.113 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.006825, allocations: 482.2 kB / 0.7893 GB, free: 8.605 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.006992, allocations: 261.4 kB / 0.7896 GB, free: 8.336 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.368e-05/0.007065, allocations: 128.8 kB / 0.7897 GB, free: 8.207 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.498e-05/0.00713, allocations: 123.1 kB / 0.7898 GB, free: 8.086 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.031e-05/0.007221, allocations: 160.5 kB / 0.79 GB, free: 7.918 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.007222, allocations: 0 / 0.79 GB, free: 7.918 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 9.512e-05/0.007317, allocations: 28.27 kB / 0.79 GB, free: 7.887 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.007427, allocations: 174.6 kB / 0.7901 GB, free: 7.703 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.007593, allocations: 165.9 kB / 0.7903 GB, free: 7.523 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.007613, allocations: 25.7 kB / 0.7903 GB, free: 7.492 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.885e-05/0.007692, allocations: 126.9 kB / 0.7905 GB, free: 7.363 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.007694, allocations: 0 / 0.7905 GB, free: 7.363 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.007742, allocations: 23.38 kB / 0.7905 GB, free: 7.332 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002762/0.008019, allocations: 496.6 kB / 0.7909 GB, free: 6.836 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.008029, allocations: 0 / 0.7909 GB, free: 6.836 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.44e-05/0.008044, allocations: 8.656 kB / 0.791 GB, free: 6.828 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.008075, allocations: 8.219 kB / 0.791 GB, free: 6.816 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.008077, allocations: 1.656 kB / 0.791 GB, free: 6.816 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001315/0.008209, allocations: 41.64 kB / 0.791 GB, free: 6.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.008223, allocations: 4 kB / 0.791 GB, free: 6.766 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.008228, allocations: 0 / 0.791 GB, free: 6.766 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.008243, allocations: 0.5 kB / 0.791 GB, free: 6.766 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.301e-05/0.008266, allocations: 8.594 kB / 0.791 GB, free: 6.758 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.008271, allocations: 0 / 0.791 GB, free: 6.758 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.632e-05/0.008288, allocations: 4.766 kB / 0.791 GB, free: 6.754 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.008293, allocations: 0 / 0.791 GB, free: 6.754 MB / 0.698 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.0001728/0.008466, allocations: 276.9 kB / 0.7913 GB, free: 6.473 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.008572, allocations: 156.9 kB / 0.7914 GB, free: 6.312 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.557e-05/0.008668, allocations: 149.4 kB / 0.7916 GB, free: 6.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001442/0.008812, allocations: 272 kB / 0.7918 GB, free: 5.887 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001559/0.008968, allocations: 272.1 kB / 0.7921 GB, free: 5.613 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001439/0.009112, allocations: 268 kB / 0.7924 GB, free: 5.344 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.009448, allocations: 492.8 kB / 0.7928 GB, free: 4.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.908e-05/0.009527, allocations: 144.9 kB / 0.793 GB, free: 4.672 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.895e-05/0.009616, allocations: 161.6 kB / 0.7931 GB, free: 4.508 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001302/0.009746, allocations: 268 kB / 0.7934 GB, free: 4.238 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/0.009891, allocations: 273.1 kB / 0.7936 GB, free: 3.965 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001335/0.01002, allocations: 268.1 kB / 0.7939 GB, free: 3.695 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001319/0.01016, allocations: 264.1 kB / 0.7941 GB, free: 3.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.01041, allocations: 448 kB / 0.7946 GB, free: 2.965 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/0.01049, allocations: 153.7 kB / 0.7947 GB, free: 2.809 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.01064, allocations: 268.3 kB / 0.795 GB, free: 2.539 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.01075, allocations: 154.3 kB / 0.7951 GB, free: 2.383 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.0109, allocations: 272.2 kB / 0.7954 GB, free: 2.109 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.618e-05/0.01098, allocations: 144.9 kB / 0.7955 GB, free: 1.961 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.082e-05/0.01106, allocations: 132.3 kB / 0.7956 GB, free: 1.832 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.01106, allocations: 0 / 0.7956 GB, free: 1.832 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002737/0.01133, allocations: 23.92 kB / 0.7957 GB, free: 1.809 MB / 0.698 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.0006484/0.01198, allocations: 284.3 kB / 0.7959 GB, free: 1.539 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.079e-05/0.01206, allocations: 18.05 kB / 0.796 GB, free: 1.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.01207, allocations: 4 kB / 0.796 GB, free: 1.516 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.348e-06/0.01207, allocations: 4 kB / 0.796 GB, free: 1.512 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.01263, allocations: 0.7023 MB / 0.7966 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.01312, allocations: 258.1 kB / 0.7969 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.217e-05/0.01318, allocations: 56.55 kB / 0.7969 GB, free: 460 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.298e-05/0.01321, allocations: 0 / 0.7969 GB, free: 460 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.01324, allocations: 17.58 kB / 0.797 GB, free: 440 kB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/0.01324, allocations: 0 / 0.797 GB, free: 440 kB / 0.698 GB Notification: Performance of Templates: time 0.003868/0.01711, allocations: 0.7132 MB / 0.7977 GB, free: 15.78 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.955943861044943]