Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001291/0.001291, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001481/0.001481, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9653/0.9653, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.241/2.241, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.164e-05/1.279e-05, allocations: 12.64 kB / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0009619/0.0009747, allocations: 0.5911 MB / 0.8392 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009161/0.001891, allocations: 1.042 MB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.638e-05/0.001907, allocations: 0 / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.234e-05/0.00192, allocations: 0 / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004431/0.002363, allocations: 91.7 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 2.23e-05/0.002385, allocations: 11.92 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 3.648e-05/0.002421, allocations: 8 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.888e-05/0.00245, allocations: 0 / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.663e-05/0.002477, allocations: 7.984 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.002603, allocations: 31.22 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.787e-06/0.002612, allocations: 0 / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.002733, allocations: 79.84 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.216e-06/0.002742, allocations: 0 / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.347e-06/0.002751, allocations: 7.875 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.002865, allocations: 91.83 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.002866, allocations: 0 / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002867, allocations: 0 / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.926e-06/0.00287, allocations: 0 / 0.8406 GB, free: 12.14 MB / 0.8073 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.0001851/0.003055, allocations: 228.9 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.658e-05/0.003081, allocations: 12.62 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.787e-05/0.003099, allocations: 0.9375 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.638e-05/0.003166, allocations: 113.7 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.003174, allocations: 384 / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.00318, allocations: 384 / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.808e-05/0.003229, allocations: 38.25 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.003237, allocations: 192 / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.003243, allocations: 8.125 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.003248, allocations: 0 / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.761e-06/0.003254, allocations: 0 / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.00344, allocations: 294.9 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.837e-05/0.003488, allocations: 169.1 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.003506, allocations: 84.17 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.003522, allocations: 83.22 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.003551, allocations: 109.8 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/0.003552, allocations: 3.984 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 3.905e-05/0.003591, allocations: 37.58 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.003631, allocations: 130.7 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.155e-05/0.003692, allocations: 106.7 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.293e-06/0.0037, allocations: 25.7 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.263e-05/0.003722, allocations: 80.14 kB / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.003724, allocations: 0 / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/0.003742, allocations: 13.72 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.367e-05/0.003806, allocations: 310.8 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.548e-06/0.00381, allocations: 4 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.067e-06/0.003814, allocations: 0 / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.808e-05/0.003832, allocations: 8.922 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.003835, allocations: 3.984 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.059e-05/0.003885, allocations: 37.64 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.003894, allocations: 4 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.003899, allocations: 3.938 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.003909, allocations: 0 / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.199e-05/0.003921, allocations: 0 / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.003924, allocations: 0 / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.268e-06/0.003933, allocations: 3.953 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.003937, allocations: 4 kB / 0.8424 GB, free: 10.1 MB / 0.8073 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 5.392e-05/0.003991, allocations: 193.1 kB / 0.8426 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.004022, allocations: 105 kB / 0.8427 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.004054, allocations: 116 kB / 0.8428 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.474e-05/0.004089, allocations: 176.3 kB / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.641e-05/0.004126, allocations: 184.2 kB / 0.8432 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-05/0.004163, allocations: 176.3 kB / 0.8433 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.004275, allocations: 317.4 kB / 0.8436 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-05/0.004299, allocations: 108.9 kB / 0.8437 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.015e-05/0.004319, allocations: 101 kB / 0.8438 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.802e-05/0.004357, allocations: 184.4 kB / 0.844 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.004394, allocations: 188.3 kB / 0.8442 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.44e-05/0.004428, allocations: 176.3 kB / 0.8443 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.856e-05/0.004467, allocations: 192.1 kB / 0.8445 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.716e-05/0.004544, allocations: 307.7 kB / 0.8448 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.004567, allocations: 105 kB / 0.8449 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002755/0.004843, allocations: 180.3 kB / 0.8451 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.055e-05/0.004883, allocations: 104.9 kB / 0.8452 GB, free: 7.09 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.00492, allocations: 184.2 kB / 0.8454 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.417e-05/0.004944, allocations: 112.9 kB / 0.8455 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.199e-05/0.004956, allocations: 8.859 kB / 0.8455 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004956, allocations: 4 kB / 0.8455 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001364/0.005092, allocations: 23.88 kB / 0.8455 GB, free: 6.746 MB / 0.8073 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.000235/0.005327, allocations: 220.2 kB / 0.8457 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 3.734e-05/0.005365, allocations: 8.859 kB / 0.8457 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.005368, allocations: 0 / 0.8457 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.005369, allocations: 4.062 kB / 0.8457 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.005537, allocations: 463.6 kB / 0.8462 GB, free: 6.062 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.005757, allocations: 218.9 kB / 0.8464 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.411e-05/0.005781, allocations: 51.36 kB / 0.8464 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.936e-05/0.0058, allocations: 3.984 kB / 0.8464 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.005825, allocations: 51.38 kB / 0.8465 GB, free: 5.699 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.005825, allocations: 0 / 0.8465 GB, free: 5.699 MB / 0.8073 GB Notification: Performance of Templates: time 0.001996/0.007821, allocations: 0.8555 MB / 0.8473 GB, free: 4.891 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.015232271980494]