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.InternalResistancesOneUTubeNegative.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.00174/0.00174, 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.002227/0.002227, allocations: 192.5 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.648/1.648, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.857/2.857, allocations: 476.7 MB / 0.7645 GB, free: 10.09 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.InternalResistancesOneUTubeNegative,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.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,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.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 63.89 kB / 1.109 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9777/0.9797, allocations: 168.7 MB / 1.274 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002701/0.9824, allocations: 1.444 MB / 1.276 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00462/0.987, allocations: 2.896 MB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.9871, allocations: 0 / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.854e-05/0.9871, allocations: 7.922 kB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.929e-05/0.9872, allocations: 15.86 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004289/0.9915, allocations: 1.567 MB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.9916, allocations: 35.73 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.506e-05/0.9916, allocations: 8 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.86e-05/0.9917, allocations: 11.94 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.423e-05/0.9917, allocations: 15.92 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.9917, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002688/0.9944, allocations: 1.536 MB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.9944, allocations: 3.938 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.9944, allocations: 23.88 kB / 1.282 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.9962, allocations: 1.083 MB / 1.283 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.9963, allocations: 0 / 1.283 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9963, allocations: 3.938 kB / 1.283 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.9963, allocations: 0 / 1.283 GB, free: 11.85 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.0007824/0.997, allocations: 0.5247 MB / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.9971, allocations: 8.031 kB / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.9972, allocations: 84.17 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.9974, allocations: 257.5 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-05/0.9975, allocations: 154.9 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.27e-05/0.9976, allocations: 150.9 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.4e-05/0.9976, allocations: 109.1 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/0.9977, allocations: 75.28 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.308e-05/0.9978, allocations: 150.6 kB / 1.284 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.132e-05/0.9978, allocations: 154.6 kB / 1.284 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.757e-05/0.9979, allocations: 158.5 kB / 1.284 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.9983, allocations: 457.9 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.9984, allocations: 177.2 kB / 1.285 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.9985, allocations: 84.14 kB / 1.285 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.105e-05/0.9985, allocations: 75.28 kB / 1.285 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.226e-05/0.9986, allocations: 113.7 kB / 1.285 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.9986, allocations: 0 / 1.285 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.142e-05/0.9987, allocations: 33.66 kB / 1.285 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.9988, allocations: 126.7 kB / 1.285 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.999, allocations: 149.6 kB / 1.285 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.999, allocations: 25.7 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.999, allocations: 88.14 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.999, allocations: 0 / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.9991, allocations: 21.66 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.9993, allocations: 314.8 kB / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/0.9993, allocations: 8 kB / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.519e-05/0.9993, allocations: 4 kB / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.031e-05/0.9993, allocations: 12.83 kB / 1.286 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.9993, allocations: 4 kB / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001438/0.9995, allocations: 57.58 kB / 1.286 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.9995, allocations: 6.344 kB / 1.286 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/0.9995, allocations: 4 kB / 1.286 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.9995, allocations: 0 / 1.286 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.9995, allocations: 0 / 1.286 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.9995, allocations: 0 / 1.286 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.032e-05/0.9996, allocations: 0 / 1.286 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.9996, allocations: 8 kB / 1.286 GB, free: 8.082 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.000126/0.9997, allocations: 185.7 kB / 1.286 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.943e-05/0.9998, allocations: 128.8 kB / 1.286 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.896e-05/0.9998, allocations: 104.9 kB / 1.286 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.017e-05/0.9999, allocations: 180.3 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001121/1, allocations: 180.2 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.423e-05/1, allocations: 180.2 kB / 1.287 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/1, allocations: 421.2 kB / 1.287 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.901e-05/1, allocations: 104.9 kB / 1.287 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/1.001, allocations: 104.9 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.484e-05/1.001, allocations: 176.3 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.309e-05/1.001, allocations: 184.2 kB / 1.288 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.586e-05/1.001, allocations: 188.2 kB / 1.288 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.201e-05/1.001, allocations: 180.3 kB / 1.288 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/1.001, allocations: 303.7 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/1.001, allocations: 198 kB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.714e-05/1.001, allocations: 180.2 kB / 1.289 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.95e-05/1.001, allocations: 109 kB / 1.289 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.262e-05/1.001, allocations: 180.2 kB / 1.289 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.135e-05/1.001, allocations: 109 kB / 1.289 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.495e-05/1.002, allocations: 99.27 kB / 1.289 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.002, allocations: 0 / 1.289 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008995/1.002, allocations: 283 kB / 1.29 GB, free: 4.164 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.001162/1.004, allocations: 0.5268 MB / 1.29 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00013/1.004, allocations: 37.69 kB / 1.29 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.004, allocations: 0 / 1.29 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.794e-06/1.004, allocations: 3.938 kB / 1.29 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/1.004, allocations: 467.7 kB / 1.291 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/1.005, allocations: 247.9 kB / 1.291 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/1.005, allocations: 0.6845 MB / 1.292 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.519e-05/1.005, allocations: 0 / 1.292 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.688e-05/1.005, allocations: 11.44 kB / 1.292 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of SimCode: time 8.11e-07/1.005, allocations: 7.938 kB / 1.292 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of Templates: time 0.01083/1.016, allocations: 5.477 MB / 1.297 GB, free: 12.68 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.64899102691561]