Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.002539/0.002539, allocations: 117.6 kB / 17.13 MB, free: 5.941 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.00268/0.00268, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.64/1.64, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.696/2.696, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.89 kB / 1.057 GB, free: 1.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4038, allocations: 160.7 MB / 1.214 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002892/0.4067, allocations: 1.444 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004801/0.4115, allocations: 2.927 MB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.4115, allocations: 0 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.708e-05/0.4115, allocations: 3.938 kB / 1.218 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.842e-05/0.4116, allocations: 15.86 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00426/0.4159, allocations: 1.609 MB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.416, allocations: 43.67 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.897e-05/0.416, allocations: 4 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.306e-05/0.4161, allocations: 19.92 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.264e-05/0.4161, allocations: 15.92 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.4161, allocations: 0 / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002556/0.4187, allocations: 1.576 MB / 1.222 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.4187, allocations: 3.938 kB / 1.222 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.4187, allocations: 19.86 kB / 1.222 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.4203, allocations: 1.118 MB / 1.223 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4203, allocations: 4 kB / 1.223 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4203, allocations: 0 / 1.223 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.4203, allocations: 4 kB / 1.223 GB, free: 8.008 MB / 0.9669 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.0006882/0.421, allocations: 0.5208 MB / 1.223 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.421, allocations: 12.03 kB / 1.223 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.256e-05/0.4211, allocations: 80.17 kB / 1.223 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.4213, allocations: 255.5 kB / 1.224 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-05/0.4214, allocations: 158.9 kB / 1.224 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-05/0.4215, allocations: 154.9 kB / 1.224 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.346e-05/0.4216, allocations: 105.1 kB / 1.224 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.107e-05/0.4216, allocations: 79.22 kB / 1.224 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.381e-05/0.4217, allocations: 150.6 kB / 1.224 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.589e-05/0.4218, allocations: 150.6 kB / 1.224 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.272e-05/0.4219, allocations: 154.5 kB / 1.224 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.4223, allocations: 473.9 kB / 1.225 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.4224, allocations: 173.1 kB / 1.225 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.4225, allocations: 80.14 kB / 1.225 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/0.4225, allocations: 75.28 kB / 1.225 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.648e-05/0.4226, allocations: 113.8 kB / 1.225 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.4226, allocations: 0 / 1.225 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.655e-05/0.4227, allocations: 37.59 kB / 1.225 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.255e-05/0.4228, allocations: 130.7 kB / 1.226 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.423, allocations: 131.7 kB / 1.226 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.423, allocations: 29.7 kB / 1.226 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.4231, allocations: 88.09 kB / 1.226 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.4231, allocations: 0 / 1.226 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.4231, allocations: 29.7 kB / 1.226 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.4233, allocations: 314.8 kB / 1.226 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/0.4233, allocations: 4 kB / 1.226 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.063e-05/0.4233, allocations: 4 kB / 1.226 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.055e-05/0.4234, allocations: 16.84 kB / 1.226 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4234, allocations: 0 / 1.226 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001625/0.4235, allocations: 57.64 kB / 1.226 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4236, allocations: 4 kB / 1.226 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.4236, allocations: 8.062 kB / 1.226 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.4236, allocations: 0 / 1.226 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.4236, allocations: 0 / 1.226 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4236, allocations: 0 / 1.226 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.4236, allocations: 7.953 kB / 1.226 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.4236, allocations: 0 / 1.226 GB, free: 4.238 MB / 0.9669 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.0001497/0.4238, allocations: 193 kB / 1.226 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.919e-05/0.4239, allocations: 112.9 kB / 1.226 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.056e-05/0.424, allocations: 116.8 kB / 1.227 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.549e-05/0.4241, allocations: 176.3 kB / 1.227 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001161/0.4242, allocations: 184.2 kB / 1.227 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.118e-05/0.4243, allocations: 180.3 kB / 1.227 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.4246, allocations: 413.2 kB / 1.227 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.736e-05/0.4247, allocations: 112.9 kB / 1.228 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.976e-05/0.4247, allocations: 105 kB / 1.228 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.994e-05/0.4248, allocations: 188.1 kB / 1.228 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.174e-05/0.4249, allocations: 180.3 kB / 1.228 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.517e-05/0.425, allocations: 176.3 kB / 1.228 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.059e-05/0.4251, allocations: 192.1 kB / 1.228 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.4253, allocations: 311.8 kB / 1.229 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.4254, allocations: 186 kB / 1.229 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.4255, allocations: 180.3 kB / 1.229 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.857e-05/0.4256, allocations: 104.9 kB / 1.229 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.441e-05/0.4257, allocations: 184.2 kB / 1.229 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.4258, allocations: 108.9 kB / 1.229 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.927e-05/0.4259, allocations: 109.4 kB / 1.23 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.4259, allocations: 0 / 1.23 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009625/0.4268, allocations: 287 kB / 1.23 GB, free: 300 kB / 0.9669 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.001282/0.4281, allocations: 0.5366 MB / 1.23 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.4282, allocations: 41.69 kB / 1.23 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.4283, allocations: 0 / 1.23 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/0.4283, allocations: 0 / 1.23 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005158/0.4288, allocations: 471.6 kB / 1.231 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005506/0.4293, allocations: 269.7 kB / 1.231 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.4298, allocations: 0.6846 MB / 1.232 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.892e-05/0.4298, allocations: 7.438 kB / 1.232 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of SimCode: time 4e-07/0.4298, allocations: 0 / 1.232 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of Templates: time 0.01085/0.4407, allocations: 4.75 MB / 1.236 GB, free: 9.48 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.139020026894286]