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.001023/0.001023, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.0009662/0.0009662, allocations: 165 kB / 23.02 MB, free: 1.555 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.9279/0.9279, allocations: 177.1 MB / 203.4 MB, free: 5.57 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.071/2.071, allocations: 429.5 MB / 0.6732 GB, free: 4.062 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.923e-06/1.923e-06, allocations: 0 / 0.8782 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.281e-05, allocations: 5.266 kB / 0.8783 GB, free: 6.215 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001541/0.001563, allocations: 0.5979 MB / 0.8788 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.003098, allocations: 1.045 MB / 0.8799 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.197e-05/0.00312, allocations: 0 / 0.8799 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.448e-05/0.003145, allocations: 3.938 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006797/0.003824, allocations: 86.39 kB / 0.8799 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.696e-05/0.003861, allocations: 13.41 kB / 0.88 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.933e-05/0.003911, allocations: 9.734 kB / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.003947, allocations: 0 / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.115e-05/0.003979, allocations: 5.094 kB / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.004179, allocations: 28.94 kB / 0.88 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.004195, allocations: 4 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.004375, allocations: 80.33 kB / 0.8801 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.004385, allocations: 5.062 kB / 0.8801 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.004408, allocations: 8 kB / 0.8801 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.004603, allocations: 83.72 kB / 0.8802 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.004606, allocations: 1.125 kB / 0.8802 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.42e-07/0.004607, allocations: 0 / 0.8802 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.004611, allocations: 0 / 0.8802 GB, free: 4.266 MB / 0.8386 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.0003741/0.004985, allocations: 365.6 kB / 0.8805 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.005031, allocations: 8.031 kB / 0.8805 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.005071, allocations: 5.797 kB / 0.8805 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.005175, allocations: 108.6 kB / 0.8806 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.005187, allocations: 1 kB / 0.8806 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.005199, allocations: 384 / 0.8806 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.717e-05/0.005287, allocations: 31.92 kB / 0.8807 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.005298, allocations: 192 / 0.8807 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.005308, allocations: 4.125 kB / 0.8807 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.005315, allocations: 3.938 kB / 0.8807 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.487e-05/0.00533, allocations: 4.438 kB / 0.8807 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.00572, allocations: 484 kB / 0.8811 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.63e-05/0.005817, allocations: 269.4 kB / 0.8814 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.953e-05/0.005856, allocations: 126.9 kB / 0.8815 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.00589, allocations: 119.2 kB / 0.8816 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.733e-05/0.005947, allocations: 164.5 kB / 0.8818 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.005948, allocations: 1.188 kB / 0.8818 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.64e-05/0.006015, allocations: 25.7 kB / 0.8818 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.006077, allocations: 170.6 kB / 0.882 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.006194, allocations: 166.7 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.006206, allocations: 25.7 kB / 0.8822 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.006252, allocations: 131.6 kB / 0.8823 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.006255, allocations: 0 / 0.8823 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.006293, allocations: 20.97 kB / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.006427, allocations: 496.1 kB / 0.8828 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.006439, allocations: 0 / 0.8828 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.857e-06/0.006448, allocations: 4 kB / 0.8828 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.927e-05/0.006477, allocations: 14.44 kB / 0.8828 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006479, allocations: 0 / 0.8828 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001182/0.006597, allocations: 45.62 kB / 0.8828 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.006611, allocations: 4 kB / 0.8828 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.006615, allocations: 0 / 0.8828 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.006631, allocations: 0 / 0.8828 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.686e-05/0.006648, allocations: 1.719 kB / 0.8828 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.006653, allocations: 0 / 0.8828 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.471e-05/0.006667, allocations: 0 / 0.8828 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.006674, allocations: 4 kB / 0.8829 GB, free: 1.324 MB / 0.8386 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 0.0001029/0.006776, allocations: 279.9 kB / 0.8831 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/0.006847, allocations: 160.8 kB / 0.8833 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.853e-05/0.006905, allocations: 152 kB / 0.8834 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.092e-05/0.006976, allocations: 268.2 kB / 0.8837 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.895e-05/0.007045, allocations: 268.1 kB / 0.8839 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-05/0.007131, allocations: 268.1 kB / 0.8842 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.007351, allocations: 0.492 MB / 0.8847 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.331e-05/0.007394, allocations: 144.9 kB / 0.8848 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.00744, allocations: 152.8 kB / 0.885 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.982e-05/0.00752, allocations: 268.1 kB / 0.8852 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.093e-05/0.007601, allocations: 272 kB / 0.8855 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.867e-05/0.00768, allocations: 276 kB / 0.8857 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.747e-05/0.007757, allocations: 268.1 kB / 0.886 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.007917, allocations: 440 kB / 0.8864 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.007967, allocations: 152.8 kB / 0.8865 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.451e-05/0.008061, allocations: 276.3 kB / 0.8868 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.008144, allocations: 144.9 kB / 0.887 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/0.008222, allocations: 272 kB / 0.8872 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/0.008264, allocations: 152.9 kB / 0.8874 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.141e-05/0.008316, allocations: 123.2 kB / 0.8875 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.11e-07/0.008316, allocations: 0 / 0.8875 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002933/0.008609, allocations: 23.88 kB / 0.8875 GB, free: 12.37 MB / 0.8542 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.0003863/0.008995, allocations: 279.6 kB / 0.8878 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.126e-05/0.009077, allocations: 15.62 kB / 0.8878 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.009079, allocations: 0 / 0.8878 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.009081, allocations: 0 / 0.8878 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.009507, allocations: 0.7062 MB / 0.8885 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/0.009902, allocations: 269.5 kB / 0.8887 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.724e-05/0.009939, allocations: 51.36 kB / 0.8888 GB, free: 11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.81e-05/0.009968, allocations: 4 kB / 0.8888 GB, free: 11 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.009989, allocations: 12.5 kB / 0.8888 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.00999, allocations: 0 / 0.8888 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of Templates: time 0.002226/0.01222, allocations: 0.7208 MB / 0.8895 GB, free: 10.32 MB / 0.8542 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.34944386780262]