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 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.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.001631/0.001636, 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.002047/0.002047, allocations: 192.8 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.313/1.313, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.623/2.623, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 66.83 kB / 0.8985 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2849, allocations: 157.4 MB / 1.052 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002784/0.2877, allocations: 1.495 MB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004367/0.2921, allocations: 2.977 MB / 1.057 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.168e-05/0.2922, allocations: 8 kB / 1.057 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.29e-05/0.2923, allocations: 3.938 kB / 1.057 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.383e-05/0.2924, allocations: 11.91 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003461/0.2958, allocations: 1.379 MB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.275e-05/0.2959, allocations: 35.75 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.595e-05/0.2959, allocations: 4 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.678e-05/0.296, allocations: 15.92 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.424e-05/0.296, allocations: 23.88 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.296, allocations: 3.984 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.2981, allocations: 1.423 MB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.2981, allocations: 4 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.2982, allocations: 23.86 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.2998, allocations: 1.092 MB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2998, allocations: 7.938 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2998, allocations: 0 / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.2998, allocations: 3.938 kB / 1.06 GB, free: 256 kB / 0.8106 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.0006036/0.3004, allocations: 0.507 MB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3005, allocations: 11.97 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.3005, allocations: 88.12 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.3006, allocations: 255.5 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.3007, allocations: 150.9 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.3007, allocations: 154.9 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.098e-05/0.3008, allocations: 117.1 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.3008, allocations: 75.28 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.3009, allocations: 150.6 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.3009, allocations: 150.6 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.799e-05/0.301, allocations: 154.5 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.3013, allocations: 465.9 kB / 1.063 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.475e-05/0.3013, allocations: 165.1 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.3014, allocations: 84.14 kB / 1.063 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.3014, allocations: 75.28 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.3015, allocations: 113.8 kB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 2.384e-06/0.3015, allocations: 4 kB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.572e-05/0.3015, allocations: 33.55 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.3016, allocations: 130.7 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.3017, allocations: 135.7 kB / 1.063 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.3017, allocations: 25.7 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.3018, allocations: 84.14 kB / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.3018, allocations: 0 / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.3018, allocations: 17.72 kB / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.3019, allocations: 322.8 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.302, allocations: 8 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.668e-05/0.302, allocations: 0 / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.413e-05/0.302, allocations: 16.8 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.302, allocations: 0 / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001196/0.3022, allocations: 53.53 kB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3022, allocations: 8 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.3022, allocations: 0 / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.3022, allocations: 0 / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-07/0.3022, allocations: 4.062 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3022, allocations: 4 kB / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.012e-05/0.3023, allocations: 0 / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.3023, allocations: 0 / 1.064 GB, free: 12.51 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 8.547e-05/0.3024, allocations: 189.1 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.3024, allocations: 116.8 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.3025, allocations: 112.9 kB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-05/0.3025, allocations: 180.3 kB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-05/0.3026, allocations: 192.1 kB / 1.065 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.898e-05/0.3026, allocations: 176.3 kB / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.3028, allocations: 417.2 kB / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.838e-05/0.3029, allocations: 104.9 kB / 1.065 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-05/0.3029, allocations: 105 kB / 1.065 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-05/0.303, allocations: 188.2 kB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.892e-05/0.303, allocations: 176.3 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.156e-05/0.3031, allocations: 180.2 kB / 1.066 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-05/0.3031, allocations: 188.3 kB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.3033, allocations: 315.6 kB / 1.066 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.3033, allocations: 186 kB / 1.067 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/0.3034, allocations: 184.2 kB / 1.067 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.814e-05/0.3035, allocations: 101 kB / 1.067 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.3035, allocations: 184.2 kB / 1.067 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/0.3036, allocations: 109 kB / 1.067 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.246e-05/0.3036, allocations: 105.2 kB / 1.067 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3036, allocations: 0 / 1.067 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000714/0.3044, allocations: 283.8 kB / 1.068 GB, free: 8.578 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 (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.001058/0.3054, allocations: 0.5174 MB / 1.068 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.475e-05/0.3055, allocations: 33.7 kB / 1.068 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3055, allocations: 4.062 kB / 1.068 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.11e-06/0.3055, allocations: 7.938 kB / 1.068 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.3059, allocations: 0.5263 MB / 1.069 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.3062, allocations: 233.9 kB / 1.069 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.3064, allocations: 0.6809 MB / 1.069 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.18e-05/0.3065, allocations: 0 / 1.069 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.018e-05/0.3065, allocations: 11.44 kB / 1.069 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3065, allocations: 3.938 kB / 1.069 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of Templates: time 0.009049/0.3155, allocations: 5.491 MB / 1.075 GB, free: 1.055 MB / 0.8262 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) Reference file matches