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.001163/0.001163, allocations: 92.7 kB / 20.2 MB, free: 4.23 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.001301/0.001301, allocations: 165.3 kB / 23.51 MB, free: 0.9219 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.9207/0.9207, allocations: 177.2 MB / 203.9 MB, free: 5.586 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 1.952/1.952, allocations: 428.6 MB / 0.6727 GB, free: 4.918 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.693e-06/1.693e-06, allocations: 0 / 0.8771 GB, free: 7.863 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.848e-05, allocations: 2.312 kB / 0.8771 GB, free: 7.859 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001051/0.001069, allocations: 0.592 MB / 0.8777 GB, free: 7.293 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.00207, allocations: 1.005 MB / 0.8787 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/0.002094, allocations: 4.531 kB / 0.8787 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.002109, allocations: 0 / 0.8787 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000534/0.002643, allocations: 85.95 kB / 0.8788 GB, free: 6.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 2.626e-05/0.002669, allocations: 7.938 kB / 0.8788 GB, free: 6.184 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.65e-05/0.002746, allocations: 13.3 kB / 0.8788 GB, free: 6.172 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.002785, allocations: 4 kB / 0.8788 GB, free: 6.168 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.842e-05/0.002813, allocations: 4.641 kB / 0.8788 GB, free: 6.164 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.002983, allocations: 44 kB / 0.8788 GB, free: 6.125 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.002994, allocations: 0 / 0.8788 GB, free: 6.125 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.003124, allocations: 73.44 kB / 0.8789 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.003134, allocations: 3.938 kB / 0.8789 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.511e-05/0.003149, allocations: 5.125 kB / 0.8789 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.003284, allocations: 83.78 kB / 0.879 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003286, allocations: 0 / 0.879 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.22e-07/0.003287, allocations: 0.8438 kB / 0.879 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.003292, allocations: 3.984 kB / 0.879 GB, free: 5.961 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.0002565/0.003548, allocations: 263.1 kB / 0.8793 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.00358, allocations: 8.031 kB / 0.8793 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.003612, allocations: 4.891 kB / 0.8793 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.658e-05/0.003698, allocations: 109.5 kB / 0.8794 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.003706, allocations: 384 / 0.8794 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.003717, allocations: 4.312 kB / 0.8794 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.313e-05/0.00379, allocations: 30.27 kB / 0.8794 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.003796, allocations: 192 / 0.8794 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.003805, allocations: 4.125 kB / 0.8794 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.00381, allocations: 0 / 0.8794 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.65e-05/0.003826, allocations: 7.984 kB / 0.8794 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.004094, allocations: 339.2 kB / 0.8797 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.854e-05/0.004153, allocations: 173.7 kB / 0.8799 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.259e-05/0.004176, allocations: 88.67 kB / 0.88 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.004194, allocations: 79.28 kB / 0.8801 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.004223, allocations: 110.4 kB / 0.8802 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.004224, allocations: 1 kB / 0.8802 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.176e-05/0.004276, allocations: 25.7 kB / 0.8802 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.004317, allocations: 134.6 kB / 0.8803 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.958e-05/0.004397, allocations: 103.4 kB / 0.8804 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.004404, allocations: 25.7 kB / 0.8804 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.849e-05/0.004433, allocations: 80.14 kB / 0.8805 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.004435, allocations: 0 / 0.8805 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/0.004455, allocations: 17.72 kB / 0.8805 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.398e-05/0.004529, allocations: 314.8 kB / 0.8808 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-06/0.004537, allocations: 4 kB / 0.8808 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-06/0.004542, allocations: 0 / 0.8808 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.528e-05/0.004567, allocations: 8.844 kB / 0.8809 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.004569, allocations: 4 kB / 0.8809 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.067e-05/0.004659, allocations: 37.59 kB / 0.8809 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.00467, allocations: 7.938 kB / 0.8809 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.004674, allocations: 0 / 0.8809 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.004685, allocations: 8.094 kB / 0.8809 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.492e-05/0.0047, allocations: 0 / 0.8809 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.004705, allocations: 0 / 0.8809 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.827e-06/0.004714, allocations: 0 / 0.8809 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.004718, allocations: 0 / 0.8809 GB, free: 3.84 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 5.936e-05/0.004778, allocations: 189.1 kB / 0.8811 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.004814, allocations: 109 kB / 0.8812 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.004848, allocations: 112.1 kB / 0.8813 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-05/0.004887, allocations: 180.3 kB / 0.8815 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.925e-05/0.004926, allocations: 176.3 kB / 0.8816 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-05/0.004966, allocations: 180.2 kB / 0.8818 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.005089, allocations: 360.9 kB / 0.8822 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-05/0.005114, allocations: 109.1 kB / 0.8823 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.005139, allocations: 101 kB / 0.8824 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.055e-05/0.005179, allocations: 180.2 kB / 0.8825 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-05/0.005224, allocations: 188.1 kB / 0.8827 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-05/0.005265, allocations: 188.3 kB / 0.8829 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-05/0.005305, allocations: 184.1 kB / 0.8831 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.027e-05/0.005395, allocations: 307.8 kB / 0.8834 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.748e-05/0.005422, allocations: 105 kB / 0.8835 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/0.005479, allocations: 184.2 kB / 0.8836 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.747e-05/0.005526, allocations: 112.9 kB / 0.8837 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.005593, allocations: 176.3 kB / 0.8839 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.005618, allocations: 108.9 kB / 0.884 GB, free: 484 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.829e-05/0.005646, allocations: 79.28 kB / 0.8841 GB, free: 404 kB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005646, allocations: 0 / 0.8841 GB, free: 404 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000184/0.00583, allocations: 23.94 kB / 0.8841 GB, free: 380 kB / 0.8386 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.0002906/0.006121, allocations: 238.2 kB / 0.8843 GB, free: 140 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.777e-05/0.006179, allocations: 0 / 0.8843 GB, free: 140 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.00618, allocations: 0 / 0.8843 GB, free: 140 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-06/0.006182, allocations: 4 kB / 0.8843 GB, free: 136 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.006429, allocations: 455.7 kB / 0.8848 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.00672, allocations: 212 kB / 0.885 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.457e-05/0.006754, allocations: 59.22 kB / 0.885 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.359e-05/0.006778, allocations: 4.062 kB / 0.885 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.643e-05/0.006794, allocations: 8.5 kB / 0.885 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of SimCode: time 3.61e-07/0.006795, allocations: 0 / 0.885 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of Templates: time 0.002098/0.008893, allocations: 0.7171 MB / 0.8857 GB, free: 14.7 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=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",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.082672625780106]