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.001279/0.001279, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001426/0.001426, allocations: 177 kB / 23.36 MB, free: 1.133 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.004/1.004, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.363/2.363, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] 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.422e-06/1.422e-06, allocations: 0 / 0.8387 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152e-05/1.294e-05, allocations: 6.312 kB / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001098/0.001111, allocations: 0.6381 MB / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.002113, allocations: 1.038 MB / 0.8403 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.641e-05/0.002129, allocations: 3.938 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.002143, allocations: 3.938 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004264/0.002569, allocations: 83.77 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 2.549e-05/0.002595, allocations: 15.92 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 3.674e-05/0.002631, allocations: 3.938 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.358e-05/0.002665, allocations: 4 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.803e-05/0.002693, allocations: 0 / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.002834, allocations: 38.44 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.315e-06/0.002842, allocations: 0 / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.002982, allocations: 87.89 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.235e-06/0.002991, allocations: 0 / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.508e-06/0.003, allocations: 4 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.003119, allocations: 87.66 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.00312, allocations: 0 / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003121, allocations: 0 / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.855e-06/0.003124, allocations: 0 / 0.8407 GB, free: 12.07 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.0001937/0.003318, allocations: 244.8 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.003346, allocations: 8.625 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.124e-05/0.003367, allocations: 4.938 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.386e-05/0.003441, allocations: 101.8 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.003449, allocations: 8.375 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-06/0.003453, allocations: 384 / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.593e-05/0.003499, allocations: 26.27 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.003506, allocations: 192 / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.003512, allocations: 4.125 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.003517, allocations: 0 / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.939e-06/0.003527, allocations: 11.92 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.003732, allocations: 294.9 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.094e-05/0.003783, allocations: 165.1 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.003801, allocations: 80.14 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.003818, allocations: 79.28 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.003858, allocations: 117.8 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.00386, allocations: 3.984 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.238e-05/0.003902, allocations: 29.64 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.00394, allocations: 130.7 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.004002, allocations: 102.7 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.004011, allocations: 29.7 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.004037, allocations: 84.12 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.004038, allocations: 0 / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/0.004058, allocations: 17.66 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.004126, allocations: 318.8 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.91e-06/0.004131, allocations: 4 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.688e-06/0.004136, allocations: 4 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.812e-05/0.004154, allocations: 8.797 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.004156, allocations: 0 / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.05e-05/0.004206, allocations: 33.69 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.004216, allocations: 10.34 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.004221, allocations: 3.938 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.188e-06/0.00423, allocations: 0 / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.211e-05/0.004242, allocations: 4.094 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.004244, allocations: 0 / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.348e-06/0.004254, allocations: 3.953 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.004257, allocations: 0 / 0.8425 GB, free: 10.02 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.672e-05/0.004314, allocations: 185.1 kB / 0.8427 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.004349, allocations: 104.9 kB / 0.8428 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.004384, allocations: 116.1 kB / 0.8429 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.172e-05/0.004425, allocations: 184.2 kB / 0.8431 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.663e-05/0.004462, allocations: 176.3 kB / 0.8432 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.883e-05/0.004501, allocations: 180.3 kB / 0.8434 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.00462, allocations: 321.4 kB / 0.8437 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.884e-05/0.004649, allocations: 105 kB / 0.8438 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.524e-05/0.004674, allocations: 104.9 kB / 0.8439 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.7e-05/0.004711, allocations: 176.4 kB / 0.8441 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-05/0.004752, allocations: 184.3 kB / 0.8443 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-05/0.004793, allocations: 188.2 kB / 0.8444 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.134e-05/0.004835, allocations: 188.2 kB / 0.8446 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.758e-05/0.004922, allocations: 303.8 kB / 0.8449 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.004951, allocations: 108.9 kB / 0.845 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.004995, allocations: 180.3 kB / 0.8452 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.423e-05/0.005039, allocations: 101 kB / 0.8453 GB, free: 7.02 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.005082, allocations: 192.1 kB / 0.8455 GB, free: 6.824 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.005105, allocations: 105 kB / 0.8456 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.188e-05/0.005117, allocations: 8.844 kB / 0.8456 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005117, allocations: 0 / 0.8456 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001406/0.005257, allocations: 23.88 kB / 0.8456 GB, free: 6.68 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.0002447/0.005502, allocations: 223.5 kB / 0.8458 GB, free: 6.465 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 3.725e-05/0.005539, allocations: 8.797 kB / 0.8458 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.005544, allocations: 4 kB / 0.8458 GB, free: 6.449 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.005545, allocations: 0 / 0.8458 GB, free: 6.449 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.005743, allocations: 463.6 kB / 0.8463 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002441/0.005987, allocations: 219.8 kB / 0.8465 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.768e-05/0.006015, allocations: 55.36 kB / 0.8465 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.127e-05/0.006036, allocations: 3.984 kB / 0.8465 GB, free: 5.672 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.006063, allocations: 55.44 kB / 0.8466 GB, free: 5.617 MB / 0.8073 GB Notification: Performance of SimCode: time 5.71e-07/0.006063, allocations: 0 / 0.8466 GB, free: 5.617 MB / 0.8073 GB Notification: Performance of Templates: time 0.002042/0.008105, allocations: 0.8515 MB / 0.8474 GB, free: 4.812 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 -s gbode -gbm=radauIIA3 -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.103349089622498]