Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001928/0.001928, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002073/0.002073, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.057/3.057, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.8109 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.519e-05, allocations: 3.094 kB / 0.8109 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001661/0.001687, allocations: 0.5935 MB / 0.8115 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.00322, allocations: 1.024 MB / 0.8125 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.786e-05/0.003238, allocations: 0 / 0.8125 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.245e-05/0.003251, allocations: 0.8125 kB / 0.8125 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0005894/0.00384, allocations: 83.77 kB / 0.8125 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.898e-05/0.003879, allocations: 16.89 kB / 0.8125 GB, free: 308 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.604e-05/0.003925, allocations: 7.938 kB / 0.8126 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.003969, allocations: 4.578 kB / 0.8126 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.408e-05/0.004003, allocations: 4 kB / 0.8126 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.004201, allocations: 32.47 kB / 0.8126 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.004213, allocations: 5.25 kB / 0.8126 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.0044, allocations: 75.91 kB / 0.8127 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 8.476e-06/0.004408, allocations: 0 / 0.8127 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.004426, allocations: 6.375 kB / 0.8127 GB, free: 176 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.004611, allocations: 87.7 kB / 0.8128 GB, free: 88 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004613, allocations: 0 / 0.8128 GB, free: 88 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004613, allocations: 0 / 0.8128 GB, free: 88 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.004617, allocations: 0 / 0.8128 GB, free: 88 kB / 0.7605 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.0006568/0.005274, allocations: 364.2 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.00531, allocations: 8.031 kB / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.005349, allocations: 1.531 kB / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.005479, allocations: 113.9 kB / 0.8132 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.005492, allocations: 384 / 0.8132 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-06/0.005499, allocations: 384 / 0.8132 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.141e-05/0.00559, allocations: 38.78 kB / 0.8133 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.005598, allocations: 192 / 0.8133 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.00561, allocations: 5 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.005614, allocations: 0 / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.736e-05/0.005631, allocations: 4.812 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.006133, allocations: 486.2 kB / 0.8137 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.006307, allocations: 262 kB / 0.814 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.185e-05/0.006379, allocations: 128.2 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.39e-05/0.006443, allocations: 119.2 kB / 0.8142 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.611e-05/0.006539, allocations: 160.5 kB / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.00654, allocations: 0 / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 8.415e-05/0.006624, allocations: 38.75 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.006729, allocations: 170.6 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.006886, allocations: 161.9 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.006905, allocations: 26.42 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.006983, allocations: 130.9 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.006985, allocations: 4.594 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.007026, allocations: 19.38 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002704/0.007296, allocations: 496.8 kB / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.00731, allocations: 5.281 kB / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-06/0.007316, allocations: 0 / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.879e-05/0.007345, allocations: 7.688 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.007347, allocations: 1.531 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001195/0.007466, allocations: 45.58 kB / 0.8154 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.00748, allocations: 4 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.007484, allocations: 0.9375 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.007503, allocations: 4 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.515e-05/0.007518, allocations: 0 / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.007525, allocations: 7.391 kB / 0.8155 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.275e-05/0.007537, allocations: 0 / 0.8155 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.007542, allocations: 0 / 0.8155 GB, free: 13.14 MB / 0.7761 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.0001922/0.007735, allocations: 279.8 kB / 0.8157 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.007839, allocations: 152.8 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.386e-05/0.007933, allocations: 148 kB / 0.816 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000145/0.008078, allocations: 272.1 kB / 0.8163 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001454/0.008223, allocations: 272 kB / 0.8165 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001414/0.008365, allocations: 264.6 kB / 0.8168 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.008722, allocations: 497.8 kB / 0.8173 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.557e-05/0.008807, allocations: 152.9 kB / 0.8174 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.821e-05/0.008886, allocations: 148.9 kB / 0.8175 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001404/0.009026, allocations: 268 kB / 0.8178 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/0.009171, allocations: 268 kB / 0.818 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001423/0.009313, allocations: 272 kB / 0.8183 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001387/0.009452, allocations: 265.4 kB / 0.8186 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.009735, allocations: 448 kB / 0.819 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.661e-05/0.009821, allocations: 152.8 kB / 0.8191 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.009972, allocations: 273.5 kB / 0.8194 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.01009, allocations: 152.9 kB / 0.8195 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.01023, allocations: 268.1 kB / 0.8198 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.789e-05/0.01032, allocations: 157.4 kB / 0.8199 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002923/0.01061, allocations: 127.4 kB / 0.8201 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01061, allocations: 0.9062 kB / 0.8201 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002679/0.01088, allocations: 31.8 kB / 0.8201 GB, free: 8.184 MB / 0.7761 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.0004832/0.01137, allocations: 272.6 kB / 0.8204 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.492e-05/0.01144, allocations: 20.3 kB / 0.8204 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01144, allocations: 0.8438 kB / 0.8204 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.751e-06/0.01145, allocations: 3.938 kB / 0.8204 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.01201, allocations: 0.7077 MB / 0.8211 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004351/0.01245, allocations: 257.4 kB / 0.8213 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.851e-05/0.01251, allocations: 55.36 kB / 0.8214 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.01253, allocations: 5.109 kB / 0.8214 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.01256, allocations: 13.53 kB / 0.8214 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.01256, allocations: 0 / 0.8214 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of Templates: time 0.00358/0.01614, allocations: 0.7235 MB / 0.8221 GB, free: 6.164 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.146181557094678]