Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.001821/0.001821, allocations: 116.3 kB / 17.08 MB, free: 5.824 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.001784/0.001784, allocations: 194.2 kB / 20.03 MB, free: 2.922 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.521/1.521, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.119/3.119, allocations: 489.3 MB / 0.7687 GB, free: 3.762 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002009, allocations: 71.88 kB / 1.103 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.199/1.201, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002758/1.204, allocations: 1.441 MB / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004477/1.209, allocations: 2.907 MB / 1.267 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.528e-05/1.209, allocations: 0.75 kB / 1.267 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.302e-05/1.209, allocations: 5.672 kB / 1.267 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.362e-05/1.209, allocations: 16.48 kB / 1.267 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004622/1.214, allocations: 1.586 MB / 1.268 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/1.214, allocations: 46.12 kB / 1.269 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/1.214, allocations: 3.141 kB / 1.269 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.377e-05/1.214, allocations: 17.41 kB / 1.269 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.765e-05/1.214, allocations: 17.97 kB / 1.269 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/1.214, allocations: 1.25 kB / 1.269 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002921/1.217, allocations: 1.531 MB / 1.27 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/1.217, allocations: 4.906 kB / 1.27 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.834e-05/1.217, allocations: 19.62 kB / 1.27 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001921/1.219, allocations: 1.118 MB / 1.271 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.219, allocations: 0 / 1.271 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.665e-06/1.219, allocations: 0 / 1.271 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.984e-06/1.219, allocations: 4.938 kB / 1.271 GB, free: 3.355 MB / 0.9981 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.0006196/1.22, allocations: 0.538 MB / 1.272 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.22, allocations: 9.344 kB / 1.272 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/1.22, allocations: 78.56 kB / 1.272 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/1.22, allocations: 246.5 kB / 1.272 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/1.22, allocations: 150.9 kB / 1.272 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/1.22, allocations: 156 kB / 1.272 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.833e-05/1.22, allocations: 110.1 kB / 1.272 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/1.22, allocations: 79.28 kB / 1.272 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/1.22, allocations: 150.6 kB / 1.273 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/1.22, allocations: 151.1 kB / 1.273 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.384e-05/1.22, allocations: 151.3 kB / 1.273 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/1.22, allocations: 473.3 kB / 1.273 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.039e-05/1.22, allocations: 172.8 kB / 1.274 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/1.22, allocations: 80.14 kB / 1.274 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/1.22, allocations: 79.75 kB / 1.274 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/1.22, allocations: 114.6 kB / 1.274 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/1.22, allocations: 0.5625 kB / 1.274 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.175e-05/1.22, allocations: 32.05 kB / 1.274 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/1.22, allocations: 133.6 kB / 1.274 GB, free: 444 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/1.221, allocations: 141.5 kB / 1.274 GB, free: 324 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.472e-06/1.221, allocations: 25.7 kB / 1.274 GB, free: 292 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/1.221, allocations: 95.66 kB / 1.274 GB, free: 196 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/1.221, allocations: 4 kB / 1.274 GB, free: 192 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/1.221, allocations: 21.03 kB / 1.274 GB, free: 172 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.221, allocations: 319 kB / 1.275 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.943e-05/1.221, allocations: 11.06 kB / 1.275 GB, free: 15.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.232e-05/1.221, allocations: 5.062 kB / 1.275 GB, free: 15.84 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.623e-05/1.221, allocations: 14.64 kB / 1.275 GB, free: 15.83 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.221, allocations: 1.219 kB / 1.275 GB, free: 15.83 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001667/1.221, allocations: 59.48 kB / 1.275 GB, free: 15.79 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.221, allocations: 5.312 kB / 1.275 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/1.221, allocations: 7.438 kB / 1.275 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/1.221, allocations: 0.75 kB / 1.275 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/1.221, allocations: 0 / 1.275 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/1.221, allocations: 0.75 kB / 1.275 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/1.221, allocations: 0.9375 kB / 1.275 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/1.221, allocations: 5.266 kB / 1.275 GB, free: 15.78 MB / 1.014 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.0001312/1.221, allocations: 186 kB / 1.275 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.892e-05/1.222, allocations: 111.5 kB / 1.275 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.517e-05/1.222, allocations: 123.2 kB / 1.275 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.736e-05/1.222, allocations: 178.3 kB / 1.275 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001074/1.222, allocations: 178.4 kB / 1.275 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.494e-05/1.222, allocations: 180.9 kB / 1.276 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/1.222, allocations: 413.2 kB / 1.276 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.541e-05/1.222, allocations: 114.4 kB / 1.276 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.938e-05/1.222, allocations: 104 kB / 1.276 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.131e-05/1.222, allocations: 177.5 kB / 1.276 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-05/1.223, allocations: 181.5 kB / 1.277 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.386e-05/1.223, allocations: 178.8 kB / 1.277 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.219e-05/1.223, allocations: 181.7 kB / 1.277 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/1.223, allocations: 319.9 kB / 1.277 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.632e-05/1.223, allocations: 188.3 kB / 1.277 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/1.223, allocations: 182.6 kB / 1.278 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/1.223, allocations: 105.5 kB / 1.278 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.685e-05/1.223, allocations: 187.7 kB / 1.278 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.963e-05/1.223, allocations: 101.5 kB / 1.278 GB, free: 12.29 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.8e-05/1.224, allocations: 103.2 kB / 1.278 GB, free: 12.21 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.224, allocations: 0 / 1.278 GB, free: 12.21 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001076/1.225, allocations: 291 kB / 1.278 GB, free: 12.13 MB / 1.014 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.001286/1.226, allocations: 0.5401 MB / 1.279 GB, free: 11.86 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000129/1.226, allocations: 41.92 kB / 1.279 GB, free: 11.82 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.226, allocations: 3.938 kB / 1.279 GB, free: 11.82 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/1.226, allocations: 1.062 kB / 1.279 GB, free: 11.82 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/1.227, allocations: 467.9 kB / 1.279 GB, free: 11.36 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/1.227, allocations: 264.5 kB / 1.28 GB, free: 11.12 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/1.227, allocations: 0.6833 MB / 1.28 GB, free: 10.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.56e-05/1.227, allocations: 8.625 kB / 1.28 GB, free: 10.42 MB / 1.014 GB Notification: Performance of SimCode: time 2.1e-07/1.227, allocations: 0 / 1.28 GB, free: 10.42 MB / 1.014 GB Notification: Performance of Templates: time 0.01243/1.24, allocations: 4.742 MB / 1.285 GB, free: 9.945 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,Rgb,Rgg1,Rgg2,RCondGro,x Variables in the result:RCondGro,Rgb,Rgg1,Rgg2,time,x [Calling sys.exit(0), Time elapsed: 13.801902881124988]