Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 103.2 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 190.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 443.4 MB / 0.7286 GB, free: 13.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 71.89 kB / 1.056 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7442/0.7463, allocations: 160.7 MB / 1.213 GB, free: 4.188 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001932/0.7483, allocations: 0.5763 MB / 1.214 GB, free: 3.766 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.7497, allocations: 1.004 MB / 1.215 GB, free: 2.953 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.864e-05/0.7497, allocations: 4.938 kB / 1.215 GB, free: 2.949 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.7497, allocations: 0 / 1.215 GB, free: 2.949 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0006795/0.7504, allocations: 91.92 kB / 1.215 GB, free: 2.895 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.821e-05/0.7504, allocations: 16.27 kB / 1.215 GB, free: 2.883 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.52e-05/0.7505, allocations: 7.219 kB / 1.215 GB, free: 2.879 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.7505, allocations: 5.703 kB / 1.215 GB, free: 2.875 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.474e-05/0.7505, allocations: 2.188 kB / 1.215 GB, free: 2.875 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.7507, allocations: 32.84 kB / 1.215 GB, free: 2.859 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.7508, allocations: 0.9375 kB / 1.215 GB, free: 2.859 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.7509, allocations: 83 kB / 1.215 GB, free: 2.816 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.7509, allocations: 5.125 kB / 1.215 GB, free: 2.812 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.7509, allocations: 1.125 kB / 1.215 GB, free: 2.812 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.7511, allocations: 76.48 kB / 1.215 GB, free: 2.777 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.7511, allocations: 0 / 1.215 GB, free: 2.777 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7511, allocations: 1.281 kB / 1.215 GB, free: 2.777 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.7511, allocations: 0 / 1.215 GB, free: 2.777 MB / 0.92 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.000374/0.7515, allocations: 331.3 kB / 1.216 GB, free: 2.418 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.7515, allocations: 15.17 kB / 1.216 GB, free: 2.414 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.7516, allocations: 4.938 kB / 1.216 GB, free: 2.41 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.7517, allocations: 171.2 kB / 1.216 GB, free: 2.207 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.7517, allocations: 384 / 1.216 GB, free: 2.207 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-06/0.7517, allocations: 384 / 1.216 GB, free: 2.207 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.87e-05/0.7518, allocations: 40.09 kB / 1.216 GB, free: 2.164 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.7518, allocations: 3.938 kB / 1.216 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.7518, allocations: 0.8125 kB / 1.216 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.7518, allocations: 0 / 1.216 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.745e-05/0.7518, allocations: 1.969 kB / 1.216 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.7523, allocations: 470.7 kB / 1.216 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.7524, allocations: 171 kB / 1.216 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.697e-05/0.7525, allocations: 84.14 kB / 1.217 GB, free: 1.375 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.7525, allocations: 75.28 kB / 1.217 GB, free: 1.301 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.741e-05/0.7526, allocations: 111 kB / 1.217 GB, free: 1.184 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.7526, allocations: 0 / 1.217 GB, free: 1.184 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.642e-05/0.7527, allocations: 31.53 kB / 1.217 GB, free: 1.148 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.7527, allocations: 126.7 kB / 1.217 GB, free: 1.012 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.7529, allocations: 103 kB / 1.217 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.7529, allocations: 26.77 kB / 1.217 GB, free: 0.875 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.7529, allocations: 84.09 kB / 1.217 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.7529, allocations: 1.281 kB / 1.217 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.753, allocations: 19.61 kB / 1.217 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.7531, allocations: 316 kB / 1.217 GB, free: 460 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.043e-05/0.7531, allocations: 1 kB / 1.217 GB, free: 460 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.074e-05/0.7531, allocations: 5.031 kB / 1.217 GB, free: 456 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.737e-05/0.7532, allocations: 6.891 kB / 1.217 GB, free: 448 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7532, allocations: 0 / 1.217 GB, free: 448 kB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001081/0.7533, allocations: 31.2 kB / 1.217 GB, free: 416 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.7533, allocations: 9.5 kB / 1.217 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.7533, allocations: 1.375 kB / 1.217 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.7533, allocations: 3.984 kB / 1.217 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.692e-05/0.7533, allocations: 3.938 kB / 1.217 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.7533, allocations: 0.9688 kB / 1.217 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.669e-05/0.7533, allocations: 3.938 kB / 1.217 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.7533, allocations: 1.062 kB / 1.217 GB, free: 400 kB / 0.92 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.0001237/0.7535, allocations: 191.1 kB / 1.218 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.717e-05/0.7535, allocations: 107.3 kB / 1.218 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.219e-05/0.7536, allocations: 113.2 kB / 1.218 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-05/0.7537, allocations: 180.2 kB / 1.218 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.659e-05/0.7538, allocations: 177.4 kB / 1.218 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.805e-05/0.7539, allocations: 181.3 kB / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.7542, allocations: 411.6 kB / 1.219 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.349e-05/0.7542, allocations: 105.7 kB / 1.219 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.882e-05/0.7543, allocations: 101.7 kB / 1.219 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.061e-05/0.7544, allocations: 177.2 kB / 1.219 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.106e-05/0.7545, allocations: 181.7 kB / 1.219 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001018/0.7546, allocations: 181.3 kB / 1.219 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001046/0.7547, allocations: 197.3 kB / 1.22 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.7549, allocations: 307.3 kB / 1.22 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.755, allocations: 187.2 kB / 1.22 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.7551, allocations: 185.3 kB / 1.22 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.636e-05/0.7552, allocations: 106 kB / 1.22 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.982e-05/0.7553, allocations: 181.3 kB / 1.221 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-05/0.7553, allocations: 102.1 kB / 1.221 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.202e-05/0.7554, allocations: 82.55 kB / 1.221 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6e-08/0.7554, allocations: 1.312 kB / 1.221 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003111/0.7557, allocations: 26.91 kB / 1.221 GB, free: 12.8 MB / 0.9356 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.0005098/0.7562, allocations: 229.2 kB / 1.221 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.649e-05/0.7563, allocations: 1.406 kB / 1.221 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.7563, allocations: 1.375 kB / 1.221 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.7563, allocations: 0 / 1.221 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.7568, allocations: 465 kB / 1.221 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.7572, allocations: 213.5 kB / 1.222 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.7575, allocations: 0.675 MB / 1.222 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.733e-05/0.7576, allocations: 2.062 kB / 1.222 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.7576, allocations: 9.312 kB / 1.222 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.7576, allocations: 0 / 1.222 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of Templates: time 0.00328/0.7609, allocations: 0.6797 MB / 1.223 GB, free: 10.91 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.441960860975087]