Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.001841/0.001841, allocations: 113.3 kB / 17.13 MB, free: 5.926 MB / 14.72 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.002152/0.002152, allocations: 204 kB / 20.09 MB, free: 2.977 MB / 14.72 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.579/1.579, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.031/3.031, allocations: 0.49 GB / 0.7923 GB, free: 1.266 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 63.91 kB / 1.15 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152/1.154, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002664/1.156, allocations: 1.47 MB / 1.323 GB, free: 24.03 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004077/1.16, allocations: 2.984 MB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.54e-05/1.16, allocations: 2.938 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/1.16, allocations: 3.938 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.712e-05/1.161, allocations: 15.23 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004286/1.165, allocations: 1.636 MB / 1.328 GB, free: 21.17 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/1.165, allocations: 49.61 kB / 1.328 GB, free: 21.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/1.165, allocations: 1.875 kB / 1.328 GB, free: 21.14 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.514e-05/1.165, allocations: 16.81 kB / 1.328 GB, free: 21.14 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.794e-05/1.165, allocations: 15.25 kB / 1.328 GB, free: 21.13 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/1.165, allocations: 1.906 kB / 1.328 GB, free: 21.13 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003268/1.168, allocations: 1.607 MB / 1.33 GB, free: 20.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.336e-05/1.168, allocations: 6.156 kB / 1.33 GB, free: 20.61 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/1.168, allocations: 16.86 kB / 1.33 GB, free: 20.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002249/1.171, allocations: 1.132 MB / 1.331 GB, free: 20.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.171, allocations: 8.781 kB / 1.331 GB, free: 20.3 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.864e-06/1.171, allocations: 3.938 kB / 1.331 GB, free: 20.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.113e-06/1.171, allocations: 0 / 1.331 GB, free: 20.29 MB / 1.061 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.0007929/1.171, allocations: 0.5321 MB / 1.331 GB, free: 19.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.172, allocations: 13.06 kB / 1.331 GB, free: 19.79 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.11e-05/1.172, allocations: 82.61 kB / 1.331 GB, free: 19.71 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/1.172, allocations: 253.6 kB / 1.332 GB, free: 19.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/1.172, allocations: 160.3 kB / 1.332 GB, free: 19.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/1.172, allocations: 159.5 kB / 1.332 GB, free: 19.12 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.99e-05/1.172, allocations: 110.2 kB / 1.332 GB, free: 19 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/1.172, allocations: 75.28 kB / 1.332 GB, free: 18.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.881e-05/1.172, allocations: 151.2 kB / 1.332 GB, free: 18.78 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/1.172, allocations: 151.6 kB / 1.332 GB, free: 18.63 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.835e-05/1.172, allocations: 159.8 kB / 1.333 GB, free: 18.48 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/1.172, allocations: 465.1 kB / 1.333 GB, free: 17.99 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.225e-05/1.172, allocations: 170.8 kB / 1.333 GB, free: 17.81 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/1.172, allocations: 85.3 kB / 1.333 GB, free: 17.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/1.172, allocations: 79.28 kB / 1.333 GB, free: 17.65 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/1.172, allocations: 115.5 kB / 1.333 GB, free: 17.53 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/1.172, allocations: 0 / 1.333 GB, free: 17.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.429e-05/1.172, allocations: 33.66 kB / 1.333 GB, free: 17.49 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/1.172, allocations: 127.2 kB / 1.334 GB, free: 17.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/1.173, allocations: 137.9 kB / 1.334 GB, free: 17.24 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/1.173, allocations: 25.7 kB / 1.334 GB, free: 17.21 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/1.173, allocations: 93.28 kB / 1.334 GB, free: 17.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/1.173, allocations: 0 / 1.334 GB, free: 17.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/1.173, allocations: 20.66 kB / 1.334 GB, free: 17.1 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.717e-05/1.173, allocations: 318.8 kB / 1.334 GB, free: 16.79 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.717e-05/1.173, allocations: 2.938 kB / 1.334 GB, free: 16.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.698e-05/1.173, allocations: 4.25 kB / 1.334 GB, free: 16.79 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.358e-05/1.173, allocations: 19.41 kB / 1.334 GB, free: 16.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.173, allocations: 1.531 kB / 1.334 GB, free: 16.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001339/1.173, allocations: 56.98 kB / 1.334 GB, free: 16.72 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.173, allocations: 5.656 kB / 1.334 GB, free: 16.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/1.173, allocations: 3.406 kB / 1.334 GB, free: 16.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/1.173, allocations: 1.234 kB / 1.334 GB, free: 16.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/1.173, allocations: 0 / 1.334 GB, free: 16.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/1.173, allocations: 1.719 kB / 1.334 GB, free: 16.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/1.173, allocations: 4.703 kB / 1.334 GB, free: 16.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/1.173, allocations: 1.562 kB / 1.334 GB, free: 16.72 MB / 1.061 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 7.216e-05/1.173, allocations: 192.1 kB / 1.334 GB, free: 16.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/1.173, allocations: 115.7 kB / 1.335 GB, free: 16.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.653e-05/1.173, allocations: 109.1 kB / 1.335 GB, free: 16.29 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.374e-05/1.173, allocations: 177.4 kB / 1.335 GB, free: 16.11 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.321e-05/1.173, allocations: 182 kB / 1.335 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.052e-05/1.173, allocations: 178.4 kB / 1.335 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/1.173, allocations: 421.2 kB / 1.336 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.243e-05/1.173, allocations: 110.7 kB / 1.336 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.958e-05/1.174, allocations: 105.5 kB / 1.336 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.991e-05/1.174, allocations: 178 kB / 1.336 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/1.174, allocations: 186.3 kB / 1.336 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.107e-05/1.174, allocations: 182.2 kB / 1.336 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-05/1.174, allocations: 185.9 kB / 1.336 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.511e-05/1.174, allocations: 310.7 kB / 1.337 GB, free: 14.01 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/1.174, allocations: 189.4 kB / 1.337 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/1.174, allocations: 182.8 kB / 1.337 GB, free: 13.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.126e-05/1.174, allocations: 106.8 kB / 1.337 GB, free: 13.51 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/1.174, allocations: 181.8 kB / 1.337 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/1.174, allocations: 102.5 kB / 1.337 GB, free: 13.22 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.373e-05/1.174, allocations: 103.1 kB / 1.338 GB, free: 13.14 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.174, allocations: 1.188 kB / 1.338 GB, free: 13.14 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001137/1.175, allocations: 294 kB / 1.338 GB, free: 13.07 MB / 1.061 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.001366/1.177, allocations: 0.5575 MB / 1.338 GB, free: 12.79 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001203/1.177, allocations: 34.58 kB / 1.338 GB, free: 12.75 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.177, allocations: 0 / 1.338 GB, free: 12.75 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/1.177, allocations: 4.938 kB / 1.338 GB, free: 12.75 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/1.177, allocations: 469.2 kB / 1.339 GB, free: 12.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/1.177, allocations: 257.3 kB / 1.339 GB, free: 12.06 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/1.177, allocations: 0.6831 MB / 1.34 GB, free: 11.37 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.224e-05/1.177, allocations: 16.69 kB / 1.34 GB, free: 11.35 MB / 1.061 GB Notification: Performance of SimCode: time 6.31e-07/1.177, allocations: 0 / 1.34 GB, free: 11.35 MB / 1.061 GB Notification: Performance of Templates: time 0.01394/1.191, allocations: 4.923 MB / 1.345 GB, free: 10.84 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.901414872001624]