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.001943/0.001943, allocations: 80.77 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002503/0.002503, allocations: 164.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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.509/1.509, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 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 2.977/2.977, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 2.475e-06/2.475e-06, allocations: 0 / 1 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.373e-05, allocations: 2.281 kB / 1 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001938/0.001971, allocations: 0.6042 MB / 1.001 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.003584, allocations: 1.003 MB / 1.002 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.74e-05/0.003612, allocations: 0 / 1.002 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.003626, allocations: 0 / 1.002 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0008231/0.00445, allocations: 95.7 kB / 1.002 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.316e-05/0.004493, allocations: 11.94 kB / 1.002 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 4.811e-05/0.004541, allocations: 4 kB / 1.002 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.004581, allocations: 7.984 kB / 1.002 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.486e-05/0.004616, allocations: 7.984 kB / 1.002 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.004852, allocations: 37.97 kB / 1.002 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.004865, allocations: 0 / 1.002 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.005049, allocations: 75.86 kB / 1.002 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.005062, allocations: 7.922 kB / 1.002 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.005082, allocations: 4 kB / 1.002 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.005307, allocations: 91.77 kB / 1.002 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.005309, allocations: 0 / 1.002 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.91e-07/0.00531, allocations: 0 / 1.002 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.005314, allocations: 0 / 1.002 GB, free: 5.277 MB / 0.9512 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.0003911/0.005705, allocations: 258.3 kB / 1.002 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.005743, allocations: 11.98 kB / 1.002 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.005776, allocations: 0.9375 kB / 1.002 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.005914, allocations: 109.8 kB / 1.002 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.005927, allocations: 384 / 1.002 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.005934, allocations: 384 / 1.002 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.169e-05/0.006026, allocations: 34.25 kB / 1.003 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.006035, allocations: 4.125 kB / 1.003 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.006045, allocations: 4.125 kB / 1.003 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.006049, allocations: 0 / 1.003 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.092e-05/0.00607, allocations: 7.938 kB / 1.003 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.00647, allocations: 339.1 kB / 1.003 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.006591, allocations: 173.2 kB / 1.003 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.006631, allocations: 80.14 kB / 1.003 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.334e-05/0.006674, allocations: 79.28 kB / 1.003 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.953e-05/0.006744, allocations: 113.8 kB / 1.003 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.006745, allocations: 3.938 kB / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.569e-05/0.006821, allocations: 29.64 kB / 1.003 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.006909, allocations: 126.7 kB / 1.003 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.007036, allocations: 105.8 kB / 1.004 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.00705, allocations: 33.7 kB / 1.004 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.0071, allocations: 80.14 kB / 1.004 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-06/0.007103, allocations: 0 / 1.004 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.00714, allocations: 13.72 kB / 1.004 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.0073, allocations: 314.8 kB / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-06/0.00731, allocations: 0 / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-06/0.007316, allocations: 0 / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.91e-05/0.007345, allocations: 12.86 kB / 1.004 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.007346, allocations: 3.938 kB / 1.004 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001193/0.007466, allocations: 41.7 kB / 1.004 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.00748, allocations: 4 kB / 1.004 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.007484, allocations: 0 / 1.004 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.007499, allocations: 0 / 1.004 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.626e-05/0.007515, allocations: 0 / 1.004 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.00752, allocations: 0 / 1.004 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.007537, allocations: 3.984 kB / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-06/0.007543, allocations: 4 kB / 1.004 GB, free: 3.148 MB / 0.9512 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.0001213/0.007664, allocations: 181.7 kB / 1.004 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.455e-05/0.007749, allocations: 116.8 kB / 1.004 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.29e-05/0.007822, allocations: 112.2 kB / 1.004 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.17e-05/0.007903, allocations: 176.3 kB / 1.005 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001085/0.008012, allocations: 192.2 kB / 1.005 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.214e-05/0.008104, allocations: 176.3 kB / 1.005 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.00836, allocations: 360.8 kB / 1.005 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-05/0.008417, allocations: 101 kB / 1.005 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.008472, allocations: 105 kB / 1.005 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/0.008577, allocations: 184.2 kB / 1.006 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.008685, allocations: 180.2 kB / 1.006 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.833e-05/0.008784, allocations: 184.2 kB / 1.006 GB, free: 1 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.179e-05/0.008875, allocations: 184.3 kB / 1.006 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.009108, allocations: 311.8 kB / 1.006 GB, free: 496 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.009165, allocations: 101 kB / 1.007 GB, free: 388 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.009282, allocations: 188.1 kB / 1.007 GB, free: 192 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.302e-05/0.009375, allocations: 105 kB / 1.007 GB, free: 80 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.00951, allocations: 180.3 kB / 1.007 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.376e-05/0.009573, allocations: 108.9 kB / 1.007 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.887e-05/0.009632, allocations: 79.28 kB / 1.007 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.009632, allocations: 0 / 1.007 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002738/0.009906, allocations: 31.8 kB / 1.007 GB, free: 15.67 MB / 0.9669 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.0004632/0.01037, allocations: 223 kB / 1.007 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.669e-05/0.01045, allocations: 7.984 kB / 1.007 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01045, allocations: 0 / 1.007 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.108e-06/0.01045, allocations: 3.938 kB / 1.007 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.01089, allocations: 455.7 kB / 1.008 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.01135, allocations: 200 kB / 1.008 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.066e-05/0.01141, allocations: 59.42 kB / 1.008 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.651e-05/0.01144, allocations: 0 / 1.008 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/0.01147, allocations: 16.48 kB / 1.008 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.01147, allocations: 0 / 1.008 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of Templates: time 0.003597/0.01507, allocations: 0.6948 MB / 1.009 GB, free: 14.03 MB / 0.9669 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.571011662483215]