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.001241/0.001241, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001557/0.001557, allocations: 161 kB / 23.82 MB, free: 0.7539 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 0.9196/0.9196, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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 1.679/1.679, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] 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.202e-06/1.202e-06, allocations: 0 / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.111e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00113/0.001151, allocations: 0.598 MB / 0.7878 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.002339, allocations: 1.04 MB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.934e-05/0.002359, allocations: 0 / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.002377, allocations: 0.5 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004921/0.002869, allocations: 96.8 kB / 0.7889 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 2.7e-05/0.002896, allocations: 7.984 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.659e-05/0.002943, allocations: 7.984 kB / 0.7889 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.173e-05/0.002974, allocations: 4.5 kB / 0.7889 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.637e-05/0.003001, allocations: 4.688 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.003172, allocations: 31.97 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.003182, allocations: 0.9062 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.00332, allocations: 83.83 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.035e-06/0.003328, allocations: 0.6562 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.423e-05/0.003342, allocations: 0 / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.003481, allocations: 84.69 kB / 0.7891 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.003484, allocations: 4 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003485, allocations: 3.938 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.003489, allocations: 1.594 kB / 0.7891 GB, free: 10.46 MB / 0.7448 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.0002641/0.003753, allocations: 352.2 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.003787, allocations: 12.03 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.003822, allocations: 4.875 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.561e-05/0.003908, allocations: 120.1 kB / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.003918, allocations: 384 / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.003925, allocations: 384 / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.521e-05/0.00399, allocations: 26.27 kB / 0.7896 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.003997, allocations: 8.172 kB / 0.7896 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.004006, allocations: 4.125 kB / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.004013, allocations: 0 / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.859e-06/0.004023, allocations: 0 / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002939/0.004317, allocations: 483 kB / 0.7901 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.525e-05/0.004392, allocations: 265.4 kB / 0.7903 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.00442, allocations: 127.5 kB / 0.7904 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.004445, allocations: 124.8 kB / 0.7906 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.004486, allocations: 160.5 kB / 0.7907 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.004487, allocations: 0 / 0.7907 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.406e-05/0.004541, allocations: 37.59 kB / 0.7907 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.004595, allocations: 171.7 kB / 0.7909 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.004677, allocations: 157.9 kB / 0.7911 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.874e-06/0.004684, allocations: 25.7 kB / 0.7911 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.00472, allocations: 135.7 kB / 0.7912 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.004722, allocations: 0 / 0.7912 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.004744, allocations: 16.47 kB / 0.7912 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.004842, allocations: 496.1 kB / 0.7917 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-06/0.004849, allocations: 0 / 0.7917 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.02e-06/0.004854, allocations: 1.406 kB / 0.7917 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.495e-05/0.004879, allocations: 11.69 kB / 0.7917 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004881, allocations: 0 / 0.7917 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.947e-05/0.00496, allocations: 46.16 kB / 0.7918 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.004971, allocations: 5.344 kB / 0.7918 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.004975, allocations: 4 kB / 0.7918 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.004985, allocations: 0 / 0.7918 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.392e-05/0.004999, allocations: 0 / 0.7918 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.005003, allocations: 0.7188 kB / 0.7918 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-06/0.005012, allocations: 0 / 0.7918 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.005017, allocations: 1.875 kB / 0.7918 GB, free: 7.527 MB / 0.7448 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.349e-05/0.005091, allocations: 275.8 kB / 0.792 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.005132, allocations: 160.7 kB / 0.7922 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.415e-05/0.005176, allocations: 160 kB / 0.7923 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.296e-05/0.005229, allocations: 268.7 kB / 0.7926 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.188e-05/0.005281, allocations: 268 kB / 0.7928 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-05/0.005332, allocations: 268.8 kB / 0.7931 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.005482, allocations: 495.8 kB / 0.7936 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.213e-05/0.005514, allocations: 150.1 kB / 0.7937 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.29e-05/0.005547, allocations: 148.9 kB / 0.7939 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.298e-05/0.0056, allocations: 268 kB / 0.7941 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.325e-05/0.005653, allocations: 272.6 kB / 0.7944 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.271e-05/0.005706, allocations: 273.2 kB / 0.7946 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.213e-05/0.005758, allocations: 264.1 kB / 0.7949 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.005874, allocations: 451.9 kB / 0.7953 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.005907, allocations: 149.8 kB / 0.7955 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-05/0.005971, allocations: 272.2 kB / 0.7957 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.006261, allocations: 152.9 kB / 0.7959 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.006316, allocations: 268.5 kB / 0.7961 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.006345, allocations: 145.6 kB / 0.7963 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.507e-05/0.00638, allocations: 131.2 kB / 0.7964 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.00638, allocations: 1.062 kB / 0.7964 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001746/0.006554, allocations: 23.88 kB / 0.7964 GB, free: 2.574 MB / 0.7448 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.0002878/0.006842, allocations: 281.4 kB / 0.7967 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.885e-05/0.006901, allocations: 13.91 kB / 0.7967 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006903, allocations: 0 / 0.7967 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.023e-06/0.006905, allocations: 3.938 kB / 0.7967 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.007181, allocations: 0.7133 MB / 0.7974 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.007537, allocations: 264.2 kB / 0.7976 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.992e-05/0.007567, allocations: 59.34 kB / 0.7977 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.366e-05/0.007591, allocations: 0 / 0.7977 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.971e-05/0.007611, allocations: 12.5 kB / 0.7977 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.007611, allocations: 0 / 0.7977 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of Templates: time 0.002567/0.01018, allocations: 0.8481 MB / 0.7985 GB, free: 420 kB / 0.7448 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.724034293089062]