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.001429/0.001429, allocations: 88.83 kB / 19.44 MB, free: 456 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.001637/0.001637, allocations: 157.3 kB / 22.75 MB, free: 1.785 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.523/1.523, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.22/3.22, allocations: 429.6 MB / 0.673 GB, free: 3.867 MB / 0.6355 GB " [Timeout remaining time 176] 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.593e-06/1.593e-06, allocations: 0 / 0.8777 GB, free: 6.426 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.155e-05/3.314e-05, allocations: 2.312 kB / 0.8777 GB, free: 6.422 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001822/0.001855, allocations: 0.5986 MB / 0.8783 GB, free: 5.852 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.003638, allocations: 1.006 MB / 0.8792 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.00366, allocations: 0 / 0.8792 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.003674, allocations: 1 kB / 0.8792 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0007135/0.004387, allocations: 91.2 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.36e-05/0.004421, allocations: 4.531 kB / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.369e-05/0.004485, allocations: 16.62 kB / 0.8793 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.971e-05/0.004524, allocations: 5.141 kB / 0.8794 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.266e-05/0.004557, allocations: 5.406 kB / 0.8794 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.00479, allocations: 35.84 kB / 0.8794 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.004804, allocations: 0 / 0.8794 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.005003, allocations: 77 kB / 0.8795 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.517e-06/0.005012, allocations: 0 / 0.8795 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.005037, allocations: 0 / 0.8795 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.005258, allocations: 87.83 kB / 0.8796 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.00526, allocations: 3.406 kB / 0.8796 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.12e-07/0.005261, allocations: 3.938 kB / 0.8796 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.005266, allocations: 0 / 0.8796 GB, free: 4.52 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.0003967/0.005663, allocations: 262.2 kB / 0.8798 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.005715, allocations: 12.03 kB / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.005763, allocations: 8.875 kB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.005898, allocations: 105.8 kB / 0.8799 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.00591, allocations: 384 / 0.8799 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.005917, allocations: 0.9688 kB / 0.8799 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.277e-05/0.006009, allocations: 31.72 kB / 0.88 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.006016, allocations: 192 / 0.88 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.006028, allocations: 8.125 kB / 0.88 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.006032, allocations: 0 / 0.88 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.738e-05/0.00605, allocations: 1.531 kB / 0.88 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.006489, allocations: 343.1 kB / 0.8803 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.006621, allocations: 173.2 kB / 0.8805 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.866e-05/0.006689, allocations: 84.14 kB / 0.8805 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.277e-05/0.006732, allocations: 79.28 kB / 0.8806 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.958e-05/0.006812, allocations: 109.8 kB / 0.8807 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.006812, allocations: 0 / 0.8807 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.5e-05/0.006897, allocations: 33.64 kB / 0.8808 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.007004, allocations: 130.7 kB / 0.8809 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.007136, allocations: 97.86 kB / 0.881 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.007156, allocations: 25.7 kB / 0.881 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.007214, allocations: 84.14 kB / 0.8811 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.007217, allocations: 0 / 0.8811 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.007249, allocations: 9.719 kB / 0.8811 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.007436, allocations: 322.8 kB / 0.8814 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-06/0.007446, allocations: 4 kB / 0.8814 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-06/0.007451, allocations: 0 / 0.8814 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.867e-05/0.00748, allocations: 8.859 kB / 0.8814 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.007482, allocations: 0 / 0.8814 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001377/0.007619, allocations: 41.53 kB / 0.8814 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.007633, allocations: 8 kB / 0.8815 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.007638, allocations: 0 / 0.8815 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.007654, allocations: 0 / 0.8815 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.665e-05/0.00767, allocations: 0 / 0.8815 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.007678, allocations: 8.078 kB / 0.8815 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.407e-05/0.007692, allocations: 0 / 0.8815 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.0077, allocations: 7.938 kB / 0.8815 GB, free: 2.387 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.0001402/0.00784, allocations: 185.1 kB / 0.8816 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.41e-05/0.007934, allocations: 108.9 kB / 0.8817 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.441e-05/0.008008, allocations: 112.2 kB / 0.8819 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003942/0.008403, allocations: 176.3 kB / 0.882 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001212/0.008524, allocations: 188.2 kB / 0.8822 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000105/0.008629, allocations: 176.3 kB / 0.8824 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.008919, allocations: 360.8 kB / 0.8827 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.207e-05/0.008981, allocations: 109 kB / 0.8828 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.49e-05/0.009046, allocations: 101 kB / 0.8829 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.009155, allocations: 184.2 kB / 0.8831 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.009272, allocations: 180.2 kB / 0.8833 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001107/0.009383, allocations: 184.2 kB / 0.8834 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001222/0.009505, allocations: 180.3 kB / 0.8836 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.009732, allocations: 307.8 kB / 0.8839 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.551e-05/0.009798, allocations: 101 kB / 0.884 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.00993, allocations: 192.1 kB / 0.8842 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.01004, allocations: 105 kB / 0.8843 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.01016, allocations: 180.4 kB / 0.8845 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.377e-05/0.01022, allocations: 109 kB / 0.8846 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.638e-05/0.01029, allocations: 83.27 kB / 0.8846 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01029, allocations: 0 / 0.8846 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002974/0.01059, allocations: 27.92 kB / 0.8847 GB, free: 14.92 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.0004777/0.01106, allocations: 228 kB / 0.8849 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.88e-05/0.01113, allocations: 11.98 kB / 0.8849 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.01114, allocations: 0 / 0.8849 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.228e-06/0.01114, allocations: 3.938 kB / 0.8849 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005265/0.01167, allocations: 459.7 kB / 0.8853 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/0.01215, allocations: 199.9 kB / 0.8855 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.811e-05/0.01222, allocations: 59.36 kB / 0.8856 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.412e-05/0.01224, allocations: 0 / 0.8856 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.01227, allocations: 16.48 kB / 0.8856 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.01227, allocations: 8 kB / 0.8856 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of Templates: time 0.003489/0.01576, allocations: 0.7193 MB / 0.8863 GB, free: 13.24 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 -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: 8.389805780956522]