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.0009227/0.0009227, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009499/0.0009499, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 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.9401/0.9401, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.735/1.735, allocations: 359 MB / 0.6055 GB, free: 11.03 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.483e-06/1.483e-06, allocations: 0 / 0.7872 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.557e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00096/0.0009756, allocations: 0.5913 MB / 0.7877 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009036/0.001879, allocations: 1.044 MB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/0.0019, allocations: 0 / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.53e-05/0.001916, allocations: 3.938 kB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000433/0.002349, allocations: 87.77 kB / 0.7889 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 2.28e-05/0.002371, allocations: 13.14 kB / 0.7889 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.414e-05/0.002416, allocations: 7.938 kB / 0.7889 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.279e-05/0.002448, allocations: 0 / 0.7889 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.852e-05/0.002477, allocations: 5.594 kB / 0.7889 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.00263, allocations: 31.97 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.00264, allocations: 0 / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.002765, allocations: 75.91 kB / 0.789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.165e-06/0.002773, allocations: 3.406 kB / 0.789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.45e-05/0.002788, allocations: 3.984 kB / 0.789 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.002918, allocations: 91.66 kB / 0.7891 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.002922, allocations: 4 kB / 0.7891 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002922, allocations: 0 / 0.7891 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.002926, allocations: 0 / 0.7891 GB, free: 10.78 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.0002412/0.003167, allocations: 352.2 kB / 0.7894 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.0032, allocations: 12.03 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.003231, allocations: 0.9375 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.985e-05/0.003311, allocations: 121.4 kB / 0.7895 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.003321, allocations: 384 / 0.7895 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.003328, allocations: 4.969 kB / 0.7895 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.085e-05/0.003389, allocations: 26.27 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.003396, allocations: 1.688 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.003403, allocations: 4.125 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.003409, allocations: 4 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.148e-05/0.003421, allocations: 5.219 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.003705, allocations: 478.6 kB / 0.79 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.926e-05/0.003775, allocations: 265.4 kB / 0.7903 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.003805, allocations: 130.9 kB / 0.7904 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.003828, allocations: 119.8 kB / 0.7905 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.003867, allocations: 169.8 kB / 0.7907 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.003868, allocations: 0 / 0.7907 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.834e-05/0.003916, allocations: 33.66 kB / 0.7907 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.003963, allocations: 170.6 kB / 0.7909 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.723e-05/0.00404, allocations: 155.5 kB / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.184e-06/0.004047, allocations: 25.7 kB / 0.7911 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.004083, allocations: 142.8 kB / 0.7912 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.004085, allocations: 0 / 0.7912 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/0.004106, allocations: 15.91 kB / 0.7912 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.083e-05/0.004197, allocations: 497.5 kB / 0.7917 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-06/0.004203, allocations: 0 / 0.7917 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-06/0.004207, allocations: 0 / 0.7917 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.241e-05/0.00423, allocations: 16.25 kB / 0.7917 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.004231, allocations: 1.969 kB / 0.7917 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.56e-05/0.004307, allocations: 41.62 kB / 0.7917 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.004316, allocations: 4 kB / 0.7918 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.00432, allocations: 0 / 0.7918 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.00433, allocations: 4 kB / 0.7918 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.164e-05/0.004342, allocations: 0.5312 kB / 0.7918 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.004346, allocations: 0 / 0.7918 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.086e-06/0.004354, allocations: 0.7188 kB / 0.7918 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-06/0.004358, allocations: 0 / 0.7918 GB, free: 7.836 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.111e-05/0.004429, allocations: 277.1 kB / 0.792 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.004471, allocations: 156.8 kB / 0.7922 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.004509, allocations: 152.7 kB / 0.7923 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.192e-05/0.004561, allocations: 276 kB / 0.7926 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.953e-05/0.00461, allocations: 265.2 kB / 0.7928 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.762e-05/0.004658, allocations: 264.1 kB / 0.7931 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.005028, allocations: 499.8 kB / 0.7936 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.751e-05/0.005056, allocations: 149.6 kB / 0.7937 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.005085, allocations: 152.8 kB / 0.7938 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-05/0.005136, allocations: 264.8 kB / 0.7941 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.034e-05/0.005187, allocations: 268 kB / 0.7944 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-05/0.005236, allocations: 276.5 kB / 0.7946 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-05/0.005284, allocations: 265.1 kB / 0.7949 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.005388, allocations: 447.9 kB / 0.7953 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.005417, allocations: 148.9 kB / 0.7954 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-05/0.005477, allocations: 281.1 kB / 0.7957 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.138e-05/0.005528, allocations: 152.9 kB / 0.7959 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.00558, allocations: 268.9 kB / 0.7961 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.005607, allocations: 144.9 kB / 0.7963 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.328e-05/0.00564, allocations: 131.2 kB / 0.7964 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.005641, allocations: 6.156 kB / 0.7964 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001642/0.005805, allocations: 23.88 kB / 0.7964 GB, free: 2.883 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.0002651/0.00607, allocations: 289.3 kB / 0.7967 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.275e-05/0.006123, allocations: 15.62 kB / 0.7967 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.006124, allocations: 0 / 0.7967 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.006125, allocations: 0 / 0.7967 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.006387, allocations: 0.7095 MB / 0.7974 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.006661, allocations: 259 kB / 0.7976 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.723e-05/0.006688, allocations: 55.34 kB / 0.7977 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.138e-05/0.006709, allocations: 8.438 kB / 0.7977 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/0.006725, allocations: 9.281 kB / 0.7977 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.006725, allocations: 0.5625 kB / 0.7977 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of Templates: time 0.001981/0.008706, allocations: 0.7091 MB / 0.7984 GB, free: 0.8594 MB / 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.760703678941354]