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.001729/0.001729, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.00198/0.00198, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.564/1.564, allocations: 177.1 MB / 203.9 MB, free: 5.578 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 2.894/2.894, 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 2.254e-06/2.254e-06, allocations: 1.094 kB / 0.8109 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/3.028e-05, allocations: 8.5 kB / 0.8109 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001703/0.001733, allocations: 0.5949 MB / 0.8115 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.003295, allocations: 1.005 MB / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.754e-05/0.003312, allocations: 0 / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.003325, allocations: 0 / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0006237/0.003948, allocations: 87.66 kB / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.957e-05/0.003988, allocations: 20.75 kB / 0.8125 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.22e-05/0.00403, allocations: 4 kB / 0.8126 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.176e-05/0.004062, allocations: 0.9688 kB / 0.8126 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.566e-05/0.004098, allocations: 7.938 kB / 0.8126 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.004295, allocations: 33.41 kB / 0.8126 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.004306, allocations: 0 / 0.8126 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.004488, allocations: 83.89 kB / 0.8127 GB, free: 236 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 8.666e-06/0.004497, allocations: 0 / 0.8127 GB, free: 236 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.004516, allocations: 1.719 kB / 0.8127 GB, free: 236 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.004707, allocations: 83.78 kB / 0.8128 GB, free: 152 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.004709, allocations: 0 / 0.8128 GB, free: 152 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.92e-07/0.00471, allocations: 0 / 0.8128 GB, free: 152 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.004713, allocations: 3.938 kB / 0.8128 GB, free: 148 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.0003737/0.005087, allocations: 263.4 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.005124, allocations: 8.031 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.005163, allocations: 0.9375 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.005283, allocations: 111.2 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.005295, allocations: 384 / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.005302, allocations: 384 / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.64e-05/0.005388, allocations: 36.02 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.005396, allocations: 192 / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.005408, allocations: 4.125 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.005412, allocations: 0 / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.737e-05/0.005429, allocations: 3.938 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.005832, allocations: 336.5 kB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.005944, allocations: 173.1 kB / 0.8137 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/0.005994, allocations: 80.14 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.006033, allocations: 75.81 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.803e-05/0.006111, allocations: 123.6 kB / 0.8139 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.006112, allocations: 0 / 0.8139 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 8.435e-05/0.006196, allocations: 29.66 kB / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/0.00628, allocations: 130.7 kB / 0.8141 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.006396, allocations: 101.8 kB / 0.8142 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.006416, allocations: 28.08 kB / 0.8142 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.006472, allocations: 84.12 kB / 0.8143 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.006474, allocations: 0 / 0.8143 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.00652, allocations: 17.72 kB / 0.8143 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.006691, allocations: 310.8 kB / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-06/0.006701, allocations: 0 / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.049e-05/0.006711, allocations: 4.719 kB / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.639e-05/0.006737, allocations: 8.797 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.006739, allocations: 0.5312 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001269/0.006866, allocations: 47.28 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.00688, allocations: 4 kB / 0.8147 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.006884, allocations: 3.938 kB / 0.8147 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.006902, allocations: 0 / 0.8147 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.474e-05/0.006917, allocations: 0.6562 kB / 0.8147 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.006925, allocations: 4 kB / 0.8147 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.371e-05/0.006938, allocations: 1.25 kB / 0.8147 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.006943, allocations: 0 / 0.8147 GB, free: 14.03 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.0001197/0.007063, allocations: 182.3 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.375e-05/0.007157, allocations: 112.9 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.721e-05/0.007234, allocations: 116.1 kB / 0.8151 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.822e-05/0.007332, allocations: 180.7 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001289/0.007461, allocations: 184.3 kB / 0.8154 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.409e-05/0.007555, allocations: 177.1 kB / 0.8156 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.007826, allocations: 356.8 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-05/0.00789, allocations: 101.8 kB / 0.816 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.491e-05/0.007965, allocations: 112.9 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/0.008077, allocations: 178 kB / 0.8163 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.008187, allocations: 180.2 kB / 0.8165 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001134/0.0083, allocations: 188.2 kB / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001115/0.008412, allocations: 180.3 kB / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.008612, allocations: 303.8 kB / 0.8171 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.008677, allocations: 109.8 kB / 0.8172 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.008887, allocations: 184.1 kB / 0.8174 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.712e-05/0.008984, allocations: 103.3 kB / 0.8175 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.009087, allocations: 184.2 kB / 0.8177 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.796e-05/0.009145, allocations: 101 kB / 0.8177 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.995e-05/0.009215, allocations: 87.27 kB / 0.8178 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009215, allocations: 0 / 0.8178 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002799/0.009495, allocations: 19.94 kB / 0.8179 GB, free: 10.59 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.0004462/0.009941, allocations: 233.8 kB / 0.8181 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.203e-05/0.01, allocations: 5.625 kB / 0.8181 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01, allocations: 0 / 0.8181 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.065e-06/0.01001, allocations: 8 kB / 0.8181 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.01048, allocations: 461.6 kB / 0.8185 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.0109, allocations: 206.4 kB / 0.8187 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.375e-05/0.01096, allocations: 60.69 kB / 0.8188 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.309e-05/0.01099, allocations: 0 / 0.8188 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.01101, allocations: 13.12 kB / 0.8188 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of SimCode: time 3.21e-07/0.01101, allocations: 0.6562 kB / 0.8188 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of Templates: time 0.003401/0.01442, allocations: 0.7235 MB / 0.8195 GB, free: 8.922 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 400] 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.214412361965515]