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.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 108.9 kB / 15.99 MB, free: 5.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 193.9 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.881/2.881, allocations: 469.4 MB / 0.7423 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001309, allocations: 73.67 kB / 0.9084 GB, free: 34.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3836, allocations: 159.1 MB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00371/0.3874, allocations: 1.504 MB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005161/0.3926, allocations: 2.895 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.3927, allocations: 0 / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.3928, allocations: 4 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.261e-05/0.3929, allocations: 15.84 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004919/0.3978, allocations: 1.457 MB / 1.07 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.3979, allocations: 47.72 kB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.509e-05/0.398, allocations: 4 kB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.78e-05/0.398, allocations: 19.92 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.519e-05/0.398, allocations: 15.88 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.3981, allocations: 4 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002718/0.4008, allocations: 1.466 MB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.4008, allocations: 3.938 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.4009, allocations: 19.88 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.4024, allocations: 0.7605 MB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4024, allocations: 0 / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4024, allocations: 0 / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.4024, allocations: 0 / 1.072 GB, free: 6.641 MB / 0.8262 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.0009267/0.4033, allocations: 0.5224 MB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.4034, allocations: 8.031 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.666e-05/0.4035, allocations: 84.12 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.4037, allocations: 251.5 kB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.323e-05/0.4037, allocations: 154.9 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.972e-05/0.4038, allocations: 150.9 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.641e-05/0.4039, allocations: 109 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.4039, allocations: 79.28 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.741e-05/0.404, allocations: 150.6 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.243e-05/0.4041, allocations: 154.6 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.763e-05/0.4041, allocations: 154.5 kB / 1.074 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.4045, allocations: 469.9 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.181e-05/0.4046, allocations: 169.1 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.726e-05/0.4046, allocations: 80.14 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.4046, allocations: 79.28 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.4047, allocations: 109.8 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.4047, allocations: 0 / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.728e-05/0.4048, allocations: 37.61 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.4049, allocations: 134.6 kB / 1.075 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.405, allocations: 139.5 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.4051, allocations: 25.7 kB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.4051, allocations: 84.14 kB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-06/0.4051, allocations: 4 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.4052, allocations: 21.7 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.4053, allocations: 314.8 kB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.21e-05/0.4053, allocations: 8 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.172e-05/0.4054, allocations: 8 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.988e-05/0.4054, allocations: 16.84 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.4054, allocations: 4 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001484/0.4056, allocations: 45.64 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4056, allocations: 7.938 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.4056, allocations: 4 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.4057, allocations: 3.984 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.775e-06/0.4057, allocations: 4.062 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4057, allocations: 4 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.4057, allocations: 3.906 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.4057, allocations: 0 / 1.075 GB, free: 2.875 MB / 0.8262 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.0001141/0.4058, allocations: 189.2 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.162e-05/0.4059, allocations: 116.8 kB / 1.076 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.658e-05/0.406, allocations: 112.8 kB / 1.076 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.375e-05/0.406, allocations: 180.3 kB / 1.076 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.859e-05/0.4061, allocations: 180.2 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-05/0.4062, allocations: 188.1 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.4064, allocations: 409.2 kB / 1.077 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.902e-05/0.4065, allocations: 112.9 kB / 1.077 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/0.4065, allocations: 101 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.08e-05/0.4066, allocations: 188.2 kB / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.211e-05/0.4067, allocations: 180.2 kB / 1.077 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.944e-05/0.4067, allocations: 184.3 kB / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.061e-05/0.4068, allocations: 180.2 kB / 1.077 GB, free: 468 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.407, allocations: 303.8 kB / 1.078 GB, free: 140 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.4071, allocations: 197.9 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.432e-05/0.4072, allocations: 180.3 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.654e-05/0.4073, allocations: 108.9 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.554e-05/0.4074, allocations: 180.2 kB / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.4074, allocations: 105 kB / 1.079 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.373e-05/0.4075, allocations: 109.2 kB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4075, allocations: 0 / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009728/0.4085, allocations: 283.8 kB / 1.079 GB, free: 14.95 MB / 0.8419 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.001512/0.41, allocations: 0.5314 MB / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.4102, allocations: 45.69 kB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4102, allocations: 0 / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.377e-06/0.4102, allocations: 0 / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.4106, allocations: 463.6 kB / 1.08 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.411, allocations: 275.8 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.4113, allocations: 0.6846 MB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.786e-05/0.4114, allocations: 11.44 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.4114, allocations: 0 / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of Templates: time 0.009735/0.4211, allocations: 4.758 MB / 1.085 GB, free: 8.117 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches