Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.001473/0.001473, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001727/0.001727, allocations: 189.4 kB / 22.17 MB, free: 5.656 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 / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.867/2.867, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 71.89 kB / 1.109 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8704/0.8724, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003429/0.8759, allocations: 1.447 MB / 1.276 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00584/0.8817, allocations: 2.896 MB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.8818, allocations: 3.938 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.8818, allocations: 0 / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.968e-05/0.8819, allocations: 19.84 kB / 1.278 GB, free: 196 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004941/0.8868, allocations: 1.561 MB / 1.28 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.887, allocations: 51.67 kB / 1.28 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.887, allocations: 0 / 1.28 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.57e-05/0.887, allocations: 15.92 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.495e-05/0.8871, allocations: 19.92 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.8871, allocations: 0 / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00296/0.89, allocations: 1.525 MB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.8901, allocations: 7.922 kB / 1.282 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.136e-05/0.8901, allocations: 19.88 kB / 1.282 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.8919, allocations: 1.083 MB / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.8919, allocations: 0 / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8919, allocations: 4 kB / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.8919, allocations: 0 / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000803/0.8927, allocations: 0.5325 MB / 1.283 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.8928, allocations: 8.031 kB / 1.283 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.239e-05/0.8929, allocations: 88.16 kB / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.8931, allocations: 243.6 kB / 1.283 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.029e-05/0.8932, allocations: 150.9 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.038e-05/0.8933, allocations: 154.9 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.814e-05/0.8934, allocations: 109 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.581e-05/0.8934, allocations: 75.28 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.523e-05/0.8935, allocations: 150.6 kB / 1.284 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-05/0.8936, allocations: 158.6 kB / 1.284 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.553e-05/0.8936, allocations: 154.6 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.8941, allocations: 461.9 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.8942, allocations: 173.1 kB / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.8943, allocations: 80.14 kB / 1.285 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.302e-05/0.8943, allocations: 75.28 kB / 1.285 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.471e-05/0.8944, allocations: 117.8 kB / 1.285 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.8944, allocations: 0 / 1.285 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.843e-05/0.8945, allocations: 33.66 kB / 1.285 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/0.8946, allocations: 126.7 kB / 1.285 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.8948, allocations: 139.9 kB / 1.285 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.8948, allocations: 25.7 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.8948, allocations: 92.14 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.8948, allocations: 4 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.8949, allocations: 29.52 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.8951, allocations: 318.8 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.128e-05/0.8951, allocations: 0 / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.346e-05/0.8951, allocations: 4 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.973e-05/0.8952, allocations: 20.84 kB / 1.286 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8952, allocations: 0 / 1.286 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001259/0.8953, allocations: 45.59 kB / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.8953, allocations: 8.062 kB / 1.286 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.8953, allocations: 4 kB / 1.286 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.8953, allocations: 0 / 1.286 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.869e-06/0.8953, allocations: 3.984 kB / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.8954, allocations: 0 / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.258e-05/0.8954, allocations: 7.938 kB / 1.286 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.8954, allocations: 0 / 1.286 GB, free: 8.152 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001298/0.8955, allocations: 185.7 kB / 1.286 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.597e-05/0.8956, allocations: 125 kB / 1.286 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.237e-05/0.8957, allocations: 108.9 kB / 1.286 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000105/0.8958, allocations: 184.2 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001008/0.8959, allocations: 180.3 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.523e-05/0.896, allocations: 180.2 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.8963, allocations: 409.2 kB / 1.287 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-05/0.8964, allocations: 108.9 kB / 1.287 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-05/0.8964, allocations: 108.9 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.8965, allocations: 184.3 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.942e-05/0.8966, allocations: 184.2 kB / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.273e-05/0.8967, allocations: 176.3 kB / 1.288 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001257/0.8968, allocations: 184.3 kB / 1.288 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.8971, allocations: 315.7 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.8972, allocations: 189.9 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.8973, allocations: 176.3 kB / 1.289 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.8974, allocations: 109 kB / 1.289 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.775e-05/0.8975, allocations: 184.2 kB / 1.289 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.376e-05/0.8976, allocations: 101 kB / 1.289 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.416e-05/0.8976, allocations: 101.1 kB / 1.289 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8976, allocations: 0 / 1.289 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009455/0.8986, allocations: 287 kB / 1.29 GB, free: 4.234 MB / 0.9825 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.00129/0.8999, allocations: 0.5238 MB / 1.29 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.9, allocations: 41.64 kB / 1.29 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9, allocations: 0 / 1.29 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.9, allocations: 0 / 1.29 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.9006, allocations: 471.5 kB / 1.291 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.901, allocations: 251.9 kB / 1.291 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.9014, allocations: 0.6807 MB / 1.292 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.528e-05/0.9014, allocations: 0 / 1.292 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.966e-05/0.9014, allocations: 11.44 kB / 1.292 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of SimCode: time 4.6e-07/0.9014, allocations: 3.938 kB / 1.292 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of Templates: time 0.01222/0.9136, allocations: 5.481 MB / 1.297 GB, free: 12.76 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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: 9.180027258116752]