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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001526/0.001526, allocations: 186.7 kB / 16.25 MB, free: 6.645 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.709/2.709, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.78 kB / 0.9116 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2722, allocations: 159.9 MB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002445/0.2747, allocations: 1.495 MB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003843/0.2786, allocations: 2.848 MB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.2786, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.2787, allocations: 4 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.613e-05/0.2787, allocations: 19.84 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003251/0.282, allocations: 1.433 MB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.701e-05/0.2821, allocations: 39.8 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.2821, allocations: 7.922 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.445e-05/0.2822, allocations: 19.88 kB / 1.074 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.565e-05/0.2822, allocations: 19.88 kB / 1.074 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.766e-06/0.2822, allocations: 0 / 1.074 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.2841, allocations: 1.423 MB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.2841, allocations: 8 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.2842, allocations: 15.88 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.2856, allocations: 1.068 MB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2856, allocations: 0 / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2856, allocations: 3.938 kB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.2856, allocations: 0 / 1.076 GB, free: 2.277 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.0006488/0.2863, allocations: 0.5224 MB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2863, allocations: 8.031 kB / 1.077 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.2864, allocations: 76.22 kB / 1.077 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.2866, allocations: 252.6 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.943e-05/0.2866, allocations: 154.9 kB / 1.077 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.32e-05/0.2867, allocations: 154.9 kB / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.75e-05/0.2868, allocations: 113.1 kB / 1.077 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.2868, allocations: 75.28 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/0.2869, allocations: 150.6 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.229e-05/0.2869, allocations: 154.5 kB / 1.078 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.558e-05/0.287, allocations: 154.6 kB / 1.078 GB, free: 400 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.2873, allocations: 465.8 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.119e-05/0.2873, allocations: 173.1 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.032e-05/0.2874, allocations: 80.14 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.2874, allocations: 75.28 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.2875, allocations: 121.8 kB / 1.079 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.2875, allocations: 0 / 1.079 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.555e-05/0.2876, allocations: 37.64 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.2876, allocations: 126.7 kB / 1.079 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.2877, allocations: 131 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.2878, allocations: 25.7 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.2878, allocations: 96.12 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.2878, allocations: 0 / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.2879, allocations: 17.72 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.288, allocations: 318.8 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/0.288, allocations: 4 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.71e-05/0.288, allocations: 8 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.886e-05/0.2881, allocations: 12.86 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2881, allocations: 0 / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001244/0.2882, allocations: 57.56 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2882, allocations: 4 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.2882, allocations: 4 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.2883, allocations: 4.062 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-06/0.2883, allocations: 0 / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2883, allocations: 0 / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/0.2883, allocations: 7.844 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.2883, allocations: 4 kB / 1.079 GB, free: 14.52 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.334e-05/0.2884, allocations: 182.7 kB / 1.08 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.29e-05/0.2885, allocations: 112.9 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.885e-05/0.2885, allocations: 120.6 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.737e-05/0.2886, allocations: 180.2 kB / 1.08 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.607e-05/0.2887, allocations: 180.3 kB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.443e-05/0.2887, allocations: 180.3 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.2889, allocations: 417.2 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.472e-05/0.289, allocations: 112.9 kB / 1.081 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.567e-05/0.289, allocations: 108.9 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.214e-05/0.2891, allocations: 180.2 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-05/0.2891, allocations: 180.3 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.003e-05/0.2892, allocations: 180.2 kB / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-05/0.2893, allocations: 180.2 kB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.2894, allocations: 315.7 kB / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-05/0.2895, allocations: 193.9 kB / 1.082 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.681e-05/0.2896, allocations: 176.3 kB / 1.082 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.2896, allocations: 104.9 kB / 1.082 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/0.2897, allocations: 184.3 kB / 1.083 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.2897, allocations: 108.9 kB / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.846e-05/0.2898, allocations: 100.8 kB / 1.083 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2898, allocations: 0 / 1.083 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007241/0.2905, allocations: 275.8 kB / 1.083 GB, free: 10.6 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.001063/0.2916, allocations: 0.5125 MB / 1.084 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.72e-05/0.2917, allocations: 41.69 kB / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2917, allocations: 4 kB / 1.084 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.2917, allocations: 0 / 1.084 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.2921, allocations: 467.6 kB / 1.084 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/0.2924, allocations: 244 kB / 1.084 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.2926, allocations: 0.6807 MB / 1.085 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.243e-05/0.2927, allocations: 0 / 1.085 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.085e-05/0.2927, allocations: 11.44 kB / 1.085 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.2927, allocations: 0 / 1.085 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of Templates: time 0.009175/0.3019, allocations: 5.477 MB / 1.09 GB, free: 3.164 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Rgb,Rgg,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x