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.002104/0.002104, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.001882/0.001882, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.538/1.538, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.775/2.775, allocations: 359 MB / 0.6048 GB, free: 10.95 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 2.385e-06/2.385e-06, allocations: 0 / 0.7864 GB, free: 11.66 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.671e-05/3.909e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.65 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002878/0.002917, allocations: 0.5964 MB / 0.787 GB, free: 11.08 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002333/0.00525, allocations: 1.001 MB / 0.788 GB, free: 10.06 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.568e-05/0.005276, allocations: 0 / 0.788 GB, free: 10.06 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.005293, allocations: 0 / 0.788 GB, free: 10.06 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.006298, allocations: 88.22 kB / 0.7881 GB, free: 9.977 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 6.598e-05/0.006364, allocations: 21.19 kB / 0.7881 GB, free: 9.957 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.178e-05/0.006426, allocations: 4 kB / 0.7881 GB, free: 9.953 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.163e-05/0.006477, allocations: 4 kB / 0.7881 GB, free: 9.949 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.375e-05/0.006521, allocations: 4.938 kB / 0.7881 GB, free: 9.945 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.006826, allocations: 39.84 kB / 0.7882 GB, free: 9.906 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.006842, allocations: 0 / 0.7882 GB, free: 9.906 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.007114, allocations: 77.27 kB / 0.7882 GB, free: 9.832 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.00713, allocations: 4 kB / 0.7882 GB, free: 9.828 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.007161, allocations: 4 kB / 0.7882 GB, free: 9.824 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.007437, allocations: 84.69 kB / 0.7883 GB, free: 9.742 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.007441, allocations: 0 / 0.7883 GB, free: 9.742 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.12e-07/0.007441, allocations: 0 / 0.7883 GB, free: 9.742 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.007446, allocations: 0.75 kB / 0.7883 GB, free: 9.742 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.000508/0.007954, allocations: 266.2 kB / 0.7886 GB, free: 9.453 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.008007, allocations: 10.56 kB / 0.7886 GB, free: 9.445 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.008057, allocations: 0.9375 kB / 0.7886 GB, free: 9.445 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.00823, allocations: 109.8 kB / 0.7887 GB, free: 9.312 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.008248, allocations: 384 / 0.7887 GB, free: 9.312 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.008258, allocations: 384 / 0.7887 GB, free: 9.312 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.00838, allocations: 30.27 kB / 0.7887 GB, free: 9.277 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.00839, allocations: 1.875 kB / 0.7887 GB, free: 9.277 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.008404, allocations: 4.125 kB / 0.7887 GB, free: 9.273 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.008409, allocations: 0 / 0.7887 GB, free: 9.273 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.458e-05/0.008444, allocations: 7.938 kB / 0.7887 GB, free: 9.266 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/0.009035, allocations: 335.2 kB / 0.789 GB, free: 8.906 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.009199, allocations: 173.7 kB / 0.7892 GB, free: 8.727 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.092e-05/0.00927, allocations: 84.75 kB / 0.7893 GB, free: 8.641 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.546e-05/0.009326, allocations: 79.28 kB / 0.7894 GB, free: 8.562 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004126/0.009738, allocations: 110.8 kB / 0.7895 GB, free: 8.445 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.009739, allocations: 0 / 0.7895 GB, free: 8.445 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001178/0.009857, allocations: 30.23 kB / 0.7895 GB, free: 8.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.009974, allocations: 130.7 kB / 0.7896 GB, free: 8.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.01014, allocations: 106.6 kB / 0.7897 GB, free: 8.156 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.01017, allocations: 25.7 kB / 0.7898 GB, free: 8.125 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.01024, allocations: 81.3 kB / 0.7898 GB, free: 8.043 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-06/0.01024, allocations: 0 / 0.7898 GB, free: 8.043 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.01029, allocations: 13.72 kB / 0.7898 GB, free: 8.023 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002333/0.01052, allocations: 316.2 kB / 0.7901 GB, free: 7.707 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.14e-05/0.01054, allocations: 4 kB / 0.7901 GB, free: 7.703 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.648e-06/0.01055, allocations: 0 / 0.7901 GB, free: 7.703 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.847e-05/0.01059, allocations: 14.58 kB / 0.7902 GB, free: 7.688 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01059, allocations: 0 / 0.7902 GB, free: 7.688 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001667/0.01076, allocations: 41.62 kB / 0.7902 GB, free: 7.641 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.01078, allocations: 4 kB / 0.7902 GB, free: 7.637 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01078, allocations: 1.469 kB / 0.7902 GB, free: 7.637 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.979e-05/0.01081, allocations: 4.188 kB / 0.7902 GB, free: 7.633 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.28e-05/0.01084, allocations: 0 / 0.7902 GB, free: 7.633 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01084, allocations: 0 / 0.7902 GB, free: 7.633 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.014e-05/0.01086, allocations: 0.5312 kB / 0.7902 GB, free: 7.633 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.01087, allocations: 1.938 kB / 0.7902 GB, free: 7.633 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.0001727/0.01104, allocations: 189.1 kB / 0.7904 GB, free: 7.438 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.01116, allocations: 112.9 kB / 0.7905 GB, free: 7.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.87e-05/0.01126, allocations: 112.1 kB / 0.7906 GB, free: 7.203 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001356/0.0114, allocations: 180.3 kB / 0.7908 GB, free: 7.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001326/0.01153, allocations: 182.8 kB / 0.791 GB, free: 6.836 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001249/0.01166, allocations: 176.3 kB / 0.7911 GB, free: 6.656 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.01204, allocations: 360.8 kB / 0.7915 GB, free: 6.266 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.618e-05/0.01211, allocations: 101 kB / 0.7916 GB, free: 6.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.107e-05/0.01218, allocations: 105 kB / 0.7917 GB, free: 6.051 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001404/0.01233, allocations: 184.2 kB / 0.7918 GB, free: 5.863 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/0.01246, allocations: 184.2 kB / 0.792 GB, free: 5.676 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001329/0.01259, allocations: 188.7 kB / 0.7922 GB, free: 5.484 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001293/0.01272, allocations: 181 kB / 0.7924 GB, free: 5.301 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.01297, allocations: 299.8 kB / 0.7927 GB, free: 4.984 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.87e-05/0.01306, allocations: 113.5 kB / 0.7928 GB, free: 4.867 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.01321, allocations: 185.8 kB / 0.7929 GB, free: 4.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.01335, allocations: 105 kB / 0.793 GB, free: 4.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.01349, allocations: 180.2 kB / 0.7932 GB, free: 4.387 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.462e-05/0.01357, allocations: 101 kB / 0.7933 GB, free: 4.281 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.442e-05/0.01365, allocations: 87.27 kB / 0.7934 GB, free: 4.195 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01365, allocations: 0.5312 kB / 0.7934 GB, free: 4.195 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004192/0.01407, allocations: 20.84 kB / 0.7934 GB, free: 4.176 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.0005928/0.01466, allocations: 240.1 kB / 0.7936 GB, free: 3.945 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.338e-05/0.01474, allocations: 4.844 kB / 0.7936 GB, free: 3.941 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01475, allocations: 0 / 0.7936 GB, free: 3.941 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.786e-06/0.01476, allocations: 3.938 kB / 0.7936 GB, free: 3.938 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/0.0154, allocations: 462.7 kB / 0.7941 GB, free: 3.484 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005717/0.01597, allocations: 202.7 kB / 0.7943 GB, free: 3.262 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.816e-05/0.01606, allocations: 60.47 kB / 0.7943 GB, free: 3.184 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.997e-05/0.01609, allocations: 1.938 kB / 0.7943 GB, free: 3.184 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.01613, allocations: 12.5 kB / 0.7944 GB, free: 3.168 MB / 0.698 GB Notification: Performance of SimCode: time 4.91e-07/0.01613, allocations: 0 / 0.7944 GB, free: 3.168 MB / 0.698 GB Notification: Performance of Templates: time 0.004811/0.02094, allocations: 0.7176 MB / 0.7951 GB, free: 2.52 MB / 0.698 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 400] 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: 8.058235006057657]