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.0009651/0.0009651, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001006/0.001006, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.9228/0.9228, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.747/1.747, allocations: 359 MB / 0.6063 GB, free: 10.87 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.412e-06/1.412e-06, allocations: 0 / 0.7884 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.642e-05, allocations: 7.359 kB / 0.7884 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001065/0.001081, allocations: 0.5962 MB / 0.789 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009443/0.002025, allocations: 1.036 MB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.733e-05/0.002043, allocations: 0.75 kB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/0.002058, allocations: 3.938 kB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004279/0.002486, allocations: 88.27 kB / 0.7901 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 2.23e-05/0.002508, allocations: 13.14 kB / 0.7901 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.861e-05/0.002547, allocations: 7.984 kB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.369e-05/0.002581, allocations: 4 kB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.233e-05/0.002603, allocations: 0.625 kB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.002742, allocations: 33.38 kB / 0.7901 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.002752, allocations: 0 / 0.7901 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.002888, allocations: 75.84 kB / 0.7902 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.002897, allocations: 4 kB / 0.7902 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.035e-05/0.002907, allocations: 0.9062 kB / 0.7902 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.003039, allocations: 95.7 kB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.00304, allocations: 0.5 kB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003041, allocations: 0 / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.003045, allocations: 0.8125 kB / 0.7903 GB, free: 10.21 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.0002388/0.003283, allocations: 356.2 kB / 0.7906 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.003315, allocations: 13 kB / 0.7906 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.233e-05/0.003337, allocations: 0.9375 kB / 0.7906 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.822e-05/0.003416, allocations: 105.2 kB / 0.7907 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.003426, allocations: 8.312 kB / 0.7908 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-06/0.003432, allocations: 5.625 kB / 0.7908 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.911e-05/0.003491, allocations: 30.25 kB / 0.7908 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.003498, allocations: 192 / 0.7908 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.003505, allocations: 5.625 kB / 0.7908 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.003512, allocations: 4 kB / 0.7908 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.508e-06/0.003522, allocations: 3.938 kB / 0.7908 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.003776, allocations: 460.8 kB / 0.7912 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.877e-05/0.003845, allocations: 265.4 kB / 0.7915 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.003873, allocations: 126.9 kB / 0.7916 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.003896, allocations: 123.2 kB / 0.7917 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.003934, allocations: 157.7 kB / 0.7919 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 6.21e-07/0.003935, allocations: 0 / 0.7919 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.559e-05/0.00398, allocations: 37.58 kB / 0.7919 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.004031, allocations: 177.7 kB / 0.7921 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.065e-05/0.004102, allocations: 161.9 kB / 0.7922 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.004109, allocations: 25.7 kB / 0.7923 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/0.004143, allocations: 126.9 kB / 0.7924 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.004144, allocations: 0 / 0.7924 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.004166, allocations: 19.38 kB / 0.7924 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.004267, allocations: 496.1 kB / 0.7929 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-06/0.004273, allocations: 4 kB / 0.7929 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-06/0.004278, allocations: 4.719 kB / 0.7929 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.04e-05/0.004298, allocations: 13.28 kB / 0.7929 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.0043, allocations: 0 / 0.7929 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.181e-05/0.004361, allocations: 33.7 kB / 0.7929 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.004372, allocations: 9.344 kB / 0.7929 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.004375, allocations: 1 kB / 0.7929 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.004383, allocations: 0 / 0.7929 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.085e-05/0.004393, allocations: 0 / 0.7929 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-06/0.004395, allocations: 1.75 kB / 0.7929 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.326e-06/0.004404, allocations: 4 kB / 0.793 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.004409, allocations: 7.984 kB / 0.793 GB, free: 7.293 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.296e-05/0.004482, allocations: 275.8 kB / 0.7932 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.004527, allocations: 158.1 kB / 0.7934 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.019e-05/0.004567, allocations: 152 kB / 0.7935 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.433e-05/0.004622, allocations: 272 kB / 0.7938 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.938e-05/0.004681, allocations: 277.5 kB / 0.794 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.244e-05/0.004734, allocations: 264.1 kB / 0.7943 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.00488, allocations: 480.5 kB / 0.7948 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.95e-05/0.004909, allocations: 144.9 kB / 0.7949 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.00494, allocations: 149.4 kB / 0.795 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.377e-05/0.004993, allocations: 272.1 kB / 0.7953 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.303e-05/0.005046, allocations: 265.8 kB / 0.7955 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-05/0.005102, allocations: 272 kB / 0.7958 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.579e-05/0.005157, allocations: 272 kB / 0.7961 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.005268, allocations: 447.9 kB / 0.7965 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.005304, allocations: 149.7 kB / 0.7966 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.005363, allocations: 268.4 kB / 0.7969 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.359e-05/0.005417, allocations: 148.9 kB / 0.797 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.005477, allocations: 280.5 kB / 0.7973 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.005508, allocations: 149.5 kB / 0.7974 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.886e-05/0.005547, allocations: 127.2 kB / 0.7976 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005547, allocations: 0.5312 kB / 0.7976 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001664/0.005713, allocations: 21.09 kB / 0.7976 GB, free: 2.371 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.000247/0.00596, allocations: 273.4 kB / 0.7978 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.721e-05/0.006007, allocations: 19.61 kB / 0.7979 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.006009, allocations: 1.156 kB / 0.7979 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.81e-07/0.00601, allocations: 0 / 0.7979 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.006279, allocations: 0.7129 MB / 0.7986 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002442/0.006523, allocations: 268.4 kB / 0.7988 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.669e-05/0.006549, allocations: 55.62 kB / 0.7989 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.883e-05/0.006568, allocations: 1.344 kB / 0.7989 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.006596, allocations: 70.2 kB / 0.7989 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.006597, allocations: 0 / 0.7989 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of Templates: time 0.0021/0.008696, allocations: 0.8588 MB / 0.7998 GB, free: 152 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.674559975042939]