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.001454/0.001454, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001581/0.001581, allocations: 217.1 kB / 23.04 MB, free: 4.863 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.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.161/3.161, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.002088/0.002088, allocations: 62.59 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4178, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002861/0.4207, allocations: 1.446 MB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004692/0.4254, allocations: 2.685 MB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.323e-05/0.4254, allocations: 4 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.455e-05/0.4254, allocations: 3.938 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.458e-05/0.4255, allocations: 11.86 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004138/0.4296, allocations: 1.648 MB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.4297, allocations: 47.67 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.4298, allocations: 0 / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.16e-05/0.4298, allocations: 15.94 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.416e-05/0.4298, allocations: 19.91 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.4298, allocations: 4 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002293/0.4321, allocations: 1.478 MB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.4322, allocations: 11.94 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.4322, allocations: 15.92 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.4338, allocations: 1.107 MB / 1.336 GB, free: 8.418 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4338, allocations: 0 / 1.336 GB, free: 8.418 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4338, allocations: 0 / 1.336 GB, free: 8.418 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.4338, allocations: 0 / 1.336 GB, free: 8.418 MB / 1.029 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.0006367/0.4344, allocations: 468 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.4345, allocations: 12.03 kB / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/0.4345, allocations: 84.17 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.4347, allocations: 199.9 kB / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.723e-05/0.4348, allocations: 154.9 kB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.194e-05/0.4349, allocations: 150.9 kB / 1.337 GB, free: 7.316 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.839e-05/0.4349, allocations: 109.1 kB / 1.337 GB, free: 7.203 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.941e-05/0.435, allocations: 79.28 kB / 1.337 GB, free: 7.125 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-05/0.435, allocations: 154.5 kB / 1.337 GB, free: 6.973 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.924e-05/0.4351, allocations: 150.6 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.401e-05/0.4352, allocations: 150.6 kB / 1.337 GB, free: 6.676 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.4355, allocations: 413.6 kB / 1.338 GB, free: 6.242 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.846e-05/0.4356, allocations: 169.1 kB / 1.338 GB, free: 6.066 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.449e-05/0.4356, allocations: 92.08 kB / 1.338 GB, free: 5.973 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.4357, allocations: 75.28 kB / 1.338 GB, free: 5.898 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.83e-05/0.4357, allocations: 109.8 kB / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.4357, allocations: 0 / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.386e-05/0.4358, allocations: 37.59 kB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/0.4359, allocations: 130.7 kB / 1.338 GB, free: 5.598 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.436, allocations: 133.8 kB / 1.338 GB, free: 5.457 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.436, allocations: 25.7 kB / 1.338 GB, free: 5.426 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.405e-05/0.4361, allocations: 96.08 kB / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-06/0.4361, allocations: 0 / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.4361, allocations: 21.72 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4363, allocations: 322.8 kB / 1.339 GB, free: 4.977 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.4363, allocations: 4 kB / 1.339 GB, free: 4.973 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.482e-05/0.4363, allocations: 11.88 kB / 1.339 GB, free: 4.961 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.064e-05/0.4364, allocations: 16.8 kB / 1.339 GB, free: 4.941 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4364, allocations: 0 / 1.339 GB, free: 4.941 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001267/0.4365, allocations: 45.7 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.4365, allocations: 13.33 kB / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.4365, allocations: 4 kB / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.4365, allocations: 0 / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.4365, allocations: 64 / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.4365, allocations: 4.062 kB / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.4366, allocations: 11.95 kB / 1.339 GB, free: 4.859 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.4366, allocations: 0 / 1.339 GB, free: 4.859 MB / 1.029 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.000122/0.4367, allocations: 193.1 kB / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-05/0.4368, allocations: 108.9 kB / 1.339 GB, free: 4.547 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.359e-05/0.4369, allocations: 112.8 kB / 1.339 GB, free: 4.422 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.228e-05/0.4369, allocations: 180.2 kB / 1.339 GB, free: 4.238 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.858e-05/0.437, allocations: 180.3 kB / 1.34 GB, free: 4.055 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.661e-05/0.4371, allocations: 176.3 kB / 1.34 GB, free: 3.875 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.4373, allocations: 368.8 kB / 1.34 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.266e-05/0.4374, allocations: 109 kB / 1.34 GB, free: 3.363 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.761e-05/0.4374, allocations: 104.9 kB / 1.34 GB, free: 3.254 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.951e-05/0.4375, allocations: 180.3 kB / 1.34 GB, free: 3.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-05/0.4376, allocations: 184.1 kB / 1.341 GB, free: 2.883 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.178e-05/0.4376, allocations: 180.3 kB / 1.341 GB, free: 2.699 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.763e-05/0.4377, allocations: 184.2 kB / 1.341 GB, free: 2.512 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.4379, allocations: 303.8 kB / 1.341 GB, free: 2.191 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/0.438, allocations: 116.9 kB / 1.341 GB, free: 2.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.792e-05/0.4381, allocations: 188.2 kB / 1.342 GB, free: 1.879 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.295e-05/0.4381, allocations: 101 kB / 1.342 GB, free: 1.773 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.817e-05/0.4382, allocations: 184.2 kB / 1.342 GB, free: 1.586 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/0.4383, allocations: 105 kB / 1.342 GB, free: 1.477 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.939e-05/0.4383, allocations: 100.7 kB / 1.342 GB, free: 1.379 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4383, allocations: 0 / 1.342 GB, free: 1.379 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007866/0.4391, allocations: 295 kB / 1.342 GB, free: 1.09 MB / 1.029 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.001077/0.4402, allocations: 0.5557 MB / 1.343 GB, free: 0.5234 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.4403, allocations: 37.64 kB / 1.343 GB, free: 492 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4403, allocations: 0 / 1.343 GB, free: 492 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.4403, allocations: 352 / 1.343 GB, free: 492 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.4408, allocations: 467.7 kB / 1.343 GB, free: 20 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004506/0.4412, allocations: 262.2 kB / 1.344 GB, free: 15.73 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.464e-05/0.4413, allocations: 71.39 kB / 1.344 GB, free: 15.64 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.4413, allocations: 19.31 kB / 1.344 GB, free: 15.62 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.4413, allocations: 0 / 1.344 GB, free: 15.62 MB / 1.045 GB Notification: Performance of Templates: time 0.00887/0.4502, allocations: 4.938 MB / 1.348 GB, free: 10.68 MB / 1.045 GB " [Timeout remaining time 300] 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.251555962022394]