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.InternalResistancesTwoUTubeNegative.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.InternalResistancesTwoUTubeNegative,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.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,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.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001202/0.001202, allocations: 191.4 kB / 16.14 MB, free: 6.711 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.347/1.347, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.771/2.771, allocations: 472.7 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.88 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.275, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00255/0.2776, allocations: 1.513 MB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004357/0.2819, allocations: 3.008 MB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.837e-05/0.282, allocations: 0 / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.2821, allocations: 3.938 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.984e-05/0.2821, allocations: 15.86 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003522/0.2857, allocations: 1.392 MB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.933e-05/0.2857, allocations: 51.66 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.673e-05/0.2858, allocations: 7.984 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.586e-05/0.2858, allocations: 11.94 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.752e-05/0.2858, allocations: 19.92 kB / 1.074 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.2859, allocations: 0 / 1.074 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002181/0.288, allocations: 1.462 MB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.2881, allocations: 7.922 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.045e-05/0.2881, allocations: 23.88 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.2898, allocations: 1.123 MB / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2898, allocations: 0 / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2898, allocations: 0 / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.2898, allocations: 3.938 kB / 1.076 GB, free: 2.199 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.0006383/0.2905, allocations: 0.5278 MB / 1.077 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2905, allocations: 8.031 kB / 1.077 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.2906, allocations: 80.22 kB / 1.077 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.2907, allocations: 253.1 kB / 1.077 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.731e-05/0.2907, allocations: 158.9 kB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.2908, allocations: 150.9 kB / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.174e-05/0.2909, allocations: 105.1 kB / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.2909, allocations: 79.28 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/0.2909, allocations: 150.6 kB / 1.078 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.786e-05/0.291, allocations: 158.6 kB / 1.078 GB, free: 468 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.469e-05/0.291, allocations: 154.5 kB / 1.078 GB, free: 312 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002791/0.2913, allocations: 465.8 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.1e-05/0.2914, allocations: 173.1 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.81e-05/0.2914, allocations: 84.14 kB / 1.079 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.2915, allocations: 75.28 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.2915, allocations: 121.7 kB / 1.079 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.2915, allocations: 0 / 1.079 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.171e-05/0.2916, allocations: 25.7 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.2917, allocations: 130.7 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.2918, allocations: 147.3 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.2918, allocations: 25.7 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.2919, allocations: 96.12 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.2919, allocations: 0 / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.2919, allocations: 13.72 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.292, allocations: 314.8 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.292, allocations: 7.984 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.875e-05/0.2921, allocations: 8 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.971e-05/0.2921, allocations: 24.83 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2921, allocations: 0 / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001221/0.2922, allocations: 49.55 kB / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2923, allocations: 8 kB / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.2923, allocations: 4 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2923, allocations: 3.984 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.2923, allocations: 0 / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2923, allocations: 0 / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.2924, allocations: 0 / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.2924, allocations: 0 / 1.08 GB, free: 14.43 MB / 0.8419 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 8.638e-05/0.2925, allocations: 189.2 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.2925, allocations: 116.8 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.467e-05/0.2926, allocations: 112.8 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.138e-05/0.2926, allocations: 176.3 kB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.375e-05/0.2927, allocations: 184.2 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.672e-05/0.2928, allocations: 180.3 kB / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.293, allocations: 413.2 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-05/0.293, allocations: 116.9 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.391e-05/0.293, allocations: 101 kB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.058e-05/0.2931, allocations: 184.1 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/0.2932, allocations: 180.5 kB / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.061e-05/0.2932, allocations: 188.2 kB / 1.082 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.946e-05/0.2933, allocations: 176.3 kB / 1.082 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.2934, allocations: 311.8 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-05/0.2935, allocations: 189.9 kB / 1.082 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/0.2935, allocations: 188.2 kB / 1.082 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.2936, allocations: 101 kB / 1.082 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.2937, allocations: 188.2 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.2937, allocations: 104.9 kB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.453e-05/0.2938, allocations: 96.98 kB / 1.083 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2938, allocations: 0 / 1.083 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007777/0.2946, allocations: 287.8 kB / 1.083 GB, free: 10.5 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.001195/0.2958, allocations: 0.54 MB / 1.084 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.17e-05/0.2959, allocations: 41.7 kB / 1.084 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2959, allocations: 0 / 1.084 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.978e-06/0.2959, allocations: 3.938 kB / 1.084 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.2963, allocations: 0.5341 MB / 1.084 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.2966, allocations: 245.8 kB / 1.084 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.2968, allocations: 0.6809 MB / 1.085 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.571e-05/0.2969, allocations: 3.938 kB / 1.085 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.124e-05/0.2969, allocations: 7.438 kB / 1.085 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of SimCode: time 3.5e-07/0.2969, allocations: 4 kB / 1.085 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of Templates: time 0.009682/0.3066, allocations: 5.68 MB / 1.091 GB, free: 2.738 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Rgb,Rgg1,Rgg2,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg1,Rgg2,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x