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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.0008077/0.0008075, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0008381/0.0008381, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.2 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.823/2.823, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003836, allocations: 8.75 kB / 0.9022 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3784, allocations: 159.6 MB / 1.058 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001602/0.3801, allocations: 1.15 MB / 1.059 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003962/0.3841, allocations: 2.668 MB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.3841, allocations: 0 / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.3842, allocations: 3.984 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.593e-05/0.3842, allocations: 15.86 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003256/0.3875, allocations: 1.257 MB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.495e-05/0.3876, allocations: 43.67 kB / 1.063 GB, free: 164 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.3876, allocations: 4 kB / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.779e-05/0.3877, allocations: 8 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.966e-05/0.3877, allocations: 27.8 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.3877, allocations: 0 / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.3897, allocations: 1.252 MB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.3897, allocations: 8 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.3898, allocations: 37.64 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000956/0.3907, allocations: 0.7099 MB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3908, allocations: 0 / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.029e-06/0.3908, allocations: 0 / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.3908, allocations: 3.938 kB / 1.065 GB, free: 14.1 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.0005738/0.3914, allocations: 0.5106 MB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3914, allocations: 8.031 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.112e-05/0.3915, allocations: 79.28 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.3916, allocations: 256.7 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.397e-05/0.3917, allocations: 150.6 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-05/0.3917, allocations: 150.6 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.126e-05/0.3918, allocations: 108.9 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.3918, allocations: 79.22 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.281e-05/0.3919, allocations: 154.5 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.992e-05/0.392, allocations: 154.6 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.657e-05/0.392, allocations: 154.6 kB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.3923, allocations: 465.9 kB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.836e-05/0.3924, allocations: 169.1 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.293e-05/0.3924, allocations: 88.14 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.3925, allocations: 75.28 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.3925, allocations: 109.8 kB / 1.068 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3925, allocations: 0 / 1.068 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.883e-05/0.3926, allocations: 37.59 kB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.3927, allocations: 126.7 kB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.3928, allocations: 141.9 kB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.3928, allocations: 25.7 kB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.3929, allocations: 96.05 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.3929, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.3929, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.393, allocations: 318.8 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-05/0.3931, allocations: 4 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.621e-05/0.3931, allocations: 4 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.023e-05/0.3931, allocations: 8 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3931, allocations: 4.031 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000135/0.3933, allocations: 53.64 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3933, allocations: 4 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/0.3933, allocations: 4 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.3933, allocations: 0 / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.3933, allocations: 0 / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3934, allocations: 0 / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.3934, allocations: 3.906 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.3934, allocations: 4 kB / 1.068 GB, free: 10.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.3935, allocations: 189.1 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/0.3936, allocations: 112.9 kB / 1.069 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.216e-05/0.3936, allocations: 112.8 kB / 1.069 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-05/0.3937, allocations: 184.2 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-05/0.3938, allocations: 176.3 kB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.97e-05/0.3939, allocations: 180.2 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.3941, allocations: 425.1 kB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.641e-05/0.3942, allocations: 101 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.3942, allocations: 104.9 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-05/0.3943, allocations: 188.3 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.816e-05/0.3943, allocations: 184.2 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.716e-05/0.3944, allocations: 180.3 kB / 1.071 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-05/0.3945, allocations: 180.3 kB / 1.071 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.3946, allocations: 311.6 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.509e-05/0.3947, allocations: 189.9 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.892e-05/0.3948, allocations: 188.5 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-05/0.3949, allocations: 105 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.3949, allocations: 180.2 kB / 1.072 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.395, allocations: 109.1 kB / 1.072 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.444e-05/0.395, allocations: 100.8 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.395, allocations: 4 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008096/0.3959, allocations: 279.8 kB / 1.072 GB, free: 6.465 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009822/0.3968, allocations: 0.4941 MB / 1.073 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.397, allocations: 49.62 kB / 1.073 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.397, allocations: 0 / 1.073 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.963e-06/0.397, allocations: 0 / 1.073 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.3974, allocations: 0.5224 MB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.3978, allocations: 256.2 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.398, allocations: 0.6848 MB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.528e-05/0.3981, allocations: 0 / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.344e-05/0.3981, allocations: 11.44 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3981, allocations: 0 / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of Templates: time 0.01036/0.4084, allocations: 5.621 MB / 1.08 GB, free: 14.8 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/jenkins/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