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.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.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.001085/0.001085, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.007818/0.007818, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.669/2.669, allocations: 462.6 MB / 0.7363 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003286, allocations: 10.5 kB / 0.9028 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2681, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001489/0.2696, allocations: 1.154 MB / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004234/0.2739, allocations: 2.915 MB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.2739, allocations: 0 / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.171e-05/0.2739, allocations: 3.984 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.245e-05/0.274, allocations: 11.86 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003446/0.2775, allocations: 1.367 MB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.466e-05/0.2775, allocations: 35.73 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.036e-05/0.2776, allocations: 8 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.055e-05/0.2776, allocations: 15.92 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.869e-05/0.2777, allocations: 19.86 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.167e-06/0.2777, allocations: 0 / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002109/0.2798, allocations: 1.423 MB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.2798, allocations: 12 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.2799, allocations: 45.56 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.2814, allocations: 1.092 MB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2814, allocations: 0 / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2814, allocations: 0 / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.2815, allocations: 0 / 1.067 GB, free: 12.84 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.0005769/0.282, allocations: 0.5069 MB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2821, allocations: 11.97 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.2821, allocations: 80.22 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.2823, allocations: 268.9 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-05/0.2823, allocations: 150.9 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.2824, allocations: 154.9 kB / 1.068 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.697e-05/0.2825, allocations: 109.1 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.2825, allocations: 75.28 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.683e-05/0.2825, allocations: 150.6 kB / 1.068 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.912e-05/0.2826, allocations: 154.6 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.85e-05/0.2826, allocations: 154.5 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.2829, allocations: 465.9 kB / 1.069 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.776e-05/0.283, allocations: 165.1 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.898e-05/0.283, allocations: 84.14 kB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.283, allocations: 79.22 kB / 1.069 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.2831, allocations: 117.8 kB / 1.069 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2831, allocations: 0 / 1.069 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.438e-05/0.2832, allocations: 29.64 kB / 1.069 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.2832, allocations: 130.7 kB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.2834, allocations: 139.8 kB / 1.069 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.2834, allocations: 25.7 kB / 1.07 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.2834, allocations: 92.08 kB / 1.07 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.2834, allocations: 0 / 1.07 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.2835, allocations: 13.72 kB / 1.07 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.2836, allocations: 318.8 kB / 1.07 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/0.2836, allocations: 4 kB / 1.07 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.451e-05/0.2836, allocations: 4 kB / 1.07 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.505e-05/0.2837, allocations: 16.89 kB / 1.07 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2837, allocations: 0 / 1.07 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001342/0.2838, allocations: 61.47 kB / 1.07 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.2838, allocations: 4 kB / 1.07 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.2838, allocations: 4 kB / 1.07 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.2839, allocations: 0 / 1.07 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.2839, allocations: 48 / 1.07 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2839, allocations: 0 / 1.07 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.409e-05/0.2839, allocations: 3.984 kB / 1.07 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.2839, allocations: 0 / 1.07 GB, free: 9.098 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.168e-05/0.284, allocations: 189.2 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.454e-05/0.2841, allocations: 124.8 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.042e-05/0.2841, allocations: 104.9 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-05/0.2842, allocations: 180.3 kB / 1.071 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.452e-05/0.2842, allocations: 184.2 kB / 1.071 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.164e-05/0.2843, allocations: 180.4 kB / 1.071 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.2845, allocations: 417.2 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.888e-05/0.2845, allocations: 108.9 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/0.2846, allocations: 105 kB / 1.072 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.925e-05/0.2846, allocations: 180.2 kB / 1.072 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-05/0.2847, allocations: 176.3 kB / 1.072 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.176e-05/0.2847, allocations: 192.2 kB / 1.072 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-05/0.2848, allocations: 176.3 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.2849, allocations: 307.7 kB / 1.073 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.285, allocations: 193.9 kB / 1.073 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.36e-05/0.2851, allocations: 184.2 kB / 1.073 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-05/0.2851, allocations: 105 kB / 1.073 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.2852, allocations: 184.3 kB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/0.2852, allocations: 104.9 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.689e-05/0.2853, allocations: 99.25 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2853, allocations: 0 / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006988/0.286, allocations: 279.8 kB / 1.074 GB, free: 5.18 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.001091/0.2871, allocations: 0.5218 MB / 1.074 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.156e-05/0.2872, allocations: 33.7 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2872, allocations: 3.938 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.689e-06/0.2872, allocations: 8 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.2876, allocations: 0.534 MB / 1.075 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.2879, allocations: 253.1 kB / 1.075 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.2882, allocations: 0.6848 MB / 1.076 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.387e-05/0.2882, allocations: 0 / 1.076 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.366e-05/0.2882, allocations: 11.44 kB / 1.076 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.2882, allocations: 0 / 1.076 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of Templates: time 0.009519/0.2977, allocations: 5.478 MB / 1.081 GB, free: 13.64 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) Reference file matches