Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001262/0.001262, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.001169/0.001169, allocations: 198.8 kB / 16.91 MB, free: 6.188 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.519/1.519, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 437 MB / 0.7107 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 76.7 kB / 0.8695 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3727, allocations: 151.6 MB / 1.018 GB, free: 10.96 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003094/0.3759, allocations: 1.498 MB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004686/0.3806, allocations: 2.853 MB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.3807, allocations: 0 / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.844e-05/0.3808, allocations: 7.922 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.044e-05/0.3809, allocations: 15.86 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004727/0.3856, allocations: 1.445 MB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.769e-05/0.3857, allocations: 43.72 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.796e-05/0.3858, allocations: 11.92 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.646e-05/0.3858, allocations: 15.92 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.144e-05/0.3858, allocations: 15.88 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.3859, allocations: 4 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.3885, allocations: 1.423 MB / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.561e-05/0.3885, allocations: 7.969 kB / 1.025 GB, free: 3.609 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.922e-05/0.3886, allocations: 19.88 kB / 1.025 GB, free: 3.59 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.3901, allocations: 0.7409 MB / 1.025 GB, free: 2.848 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3901, allocations: 4 kB / 1.025 GB, free: 2.844 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.395e-06/0.3901, allocations: 0 / 1.025 GB, free: 2.844 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.3902, allocations: 0 / 1.025 GB, free: 2.844 MB / 0.795 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.000901/0.3911, allocations: 0.5085 MB / 1.026 GB, free: 2.289 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3911, allocations: 8.922 kB / 1.026 GB, free: 2.281 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.158e-05/0.3912, allocations: 84.12 kB / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.3914, allocations: 255.4 kB / 1.026 GB, free: 1.91 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.268e-05/0.3915, allocations: 150.9 kB / 1.026 GB, free: 1.762 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.505e-05/0.3915, allocations: 150.9 kB / 1.027 GB, free: 1.613 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.477e-05/0.3916, allocations: 113.1 kB / 1.027 GB, free: 1.496 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.3916, allocations: 79.28 kB / 1.027 GB, free: 1.418 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.94e-05/0.3917, allocations: 150.6 kB / 1.027 GB, free: 1.27 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.192e-05/0.3918, allocations: 150.6 kB / 1.027 GB, free: 1.121 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.238e-05/0.3918, allocations: 154.5 kB / 1.027 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.3922, allocations: 465.9 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.49e-05/0.3923, allocations: 165.1 kB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.3923, allocations: 80.14 kB / 1.028 GB, free: 216 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.3923, allocations: 75.28 kB / 1.028 GB, free: 140 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.546e-05/0.3924, allocations: 113.8 kB / 1.028 GB, free: 16 kB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3924, allocations: 4 kB / 1.028 GB, free: 12 kB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.0001131/0.3925, allocations: 37.55 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.3926, allocations: 130.7 kB / 1.028 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.3928, allocations: 132.9 kB / 1.028 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.3928, allocations: 29.69 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.3929, allocations: 92.12 kB / 1.028 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-06/0.3929, allocations: 0 / 1.028 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.3929, allocations: 17.72 kB / 1.028 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.393, allocations: 322.8 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/0.3931, allocations: 4 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.848e-05/0.3931, allocations: 4 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.075e-05/0.3931, allocations: 16.8 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3932, allocations: 0 / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001432/0.3933, allocations: 57.47 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.3933, allocations: 8 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/0.3934, allocations: 0 / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3934, allocations: 0 / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.695e-06/0.3934, allocations: 4.062 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3934, allocations: 8 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.415e-05/0.3934, allocations: 3.938 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3934, allocations: 0 / 1.029 GB, free: 15.1 MB / 0.8106 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 0.0001116/0.3936, allocations: 185.1 kB / 1.029 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.3936, allocations: 112.8 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/0.3937, allocations: 120.8 kB / 1.029 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-05/0.3938, allocations: 180.3 kB / 1.029 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.243e-05/0.3938, allocations: 180.2 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.273e-05/0.3939, allocations: 188.2 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.3941, allocations: 409.2 kB / 1.03 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.956e-05/0.3942, allocations: 108.9 kB / 1.03 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.331e-05/0.3942, allocations: 105 kB / 1.03 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.019e-05/0.3943, allocations: 184.2 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.726e-05/0.3944, allocations: 180.2 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.073e-05/0.3945, allocations: 180.2 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.764e-05/0.3945, allocations: 180.3 kB / 1.031 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.3947, allocations: 311.7 kB / 1.031 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.801e-05/0.3948, allocations: 186 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/0.3948, allocations: 184.2 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.671e-05/0.3949, allocations: 101 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/0.395, allocations: 184.3 kB / 1.032 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.395, allocations: 108.9 kB / 1.032 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.728e-05/0.3951, allocations: 107.2 kB / 1.032 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3951, allocations: 0 / 1.032 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008986/0.396, allocations: 271.8 kB / 1.032 GB, free: 11.19 MB / 0.8106 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.00105/0.3971, allocations: 0.5208 MB / 1.033 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.3972, allocations: 41.69 kB / 1.033 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3972, allocations: 4.062 kB / 1.033 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.3972, allocations: 0 / 1.033 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.3976, allocations: 471.5 kB / 1.033 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.398, allocations: 262.3 kB / 1.034 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.3983, allocations: 0.6807 MB / 1.034 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.3983, allocations: 11.44 kB / 1.034 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of SimCode: time 5.11e-07/0.3983, allocations: 0 / 1.034 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of Templates: time 0.008527/0.4068, allocations: 4.644 MB / 1.039 GB, free: 4.5 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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,Rgb,Rgg,time,x