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.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_10_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_10_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.001267/0.001267, allocations: 100.2 kB / 16.35 MB, free: 5.824 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.001241/0.001241, allocations: 193.2 kB / 17.29 MB, free: 5.48 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.368/2.368, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 64.7 kB / 0.8707 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3281, allocations: 151.6 MB / 1.019 GB, free: 9.805 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003399/0.3315, allocations: 1.444 MB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004998/0.3366, allocations: 2.904 MB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.435e-05/0.3367, allocations: 0 / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.893e-05/0.3368, allocations: 3.938 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.454e-05/0.3369, allocations: 19.84 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004659/0.3416, allocations: 1.587 MB / 1.025 GB, free: 3.828 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.3417, allocations: 39.75 kB / 1.025 GB, free: 3.789 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.303e-05/0.3418, allocations: 11.95 kB / 1.025 GB, free: 3.777 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.181e-05/0.3418, allocations: 15.94 kB / 1.025 GB, free: 3.762 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.506e-05/0.3418, allocations: 19.88 kB / 1.025 GB, free: 3.742 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.3419, allocations: 4 kB / 1.025 GB, free: 3.738 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00243/0.3443, allocations: 1.533 MB / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.3443, allocations: 3.984 kB / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.3444, allocations: 23.81 kB / 1.026 GB, free: 2.176 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.3459, allocations: 1.107 MB / 1.027 GB, free: 1.066 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3459, allocations: 0 / 1.027 GB, free: 1.066 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3459, allocations: 0 / 1.027 GB, free: 1.066 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3459, allocations: 4 kB / 1.027 GB, free: 1.062 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.0006173/0.3466, allocations: 0.5185 MB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3466, allocations: 8.922 kB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.942e-05/0.3467, allocations: 88.06 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.3469, allocations: 254.2 kB / 1.028 GB, free: 120 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.398e-05/0.347, allocations: 150.9 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-05/0.347, allocations: 150.9 kB / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.685e-05/0.3471, allocations: 109.1 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.3472, allocations: 79.28 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/0.3472, allocations: 154.5 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.749e-05/0.3473, allocations: 150.6 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.033e-05/0.3474, allocations: 158.6 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.3477, allocations: 469.9 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.443e-05/0.3478, allocations: 169.2 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.692e-05/0.3478, allocations: 80.14 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.3479, allocations: 83.2 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.842e-05/0.3479, allocations: 117.8 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.3479, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.626e-05/0.348, allocations: 29.61 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/0.3481, allocations: 130.7 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.3483, allocations: 129.8 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.3483, allocations: 25.7 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.3484, allocations: 100 kB / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.3484, allocations: 0 / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.3484, allocations: 17.72 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3486, allocations: 314.8 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.373e-05/0.3486, allocations: 7.984 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.228e-05/0.3486, allocations: 15.94 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.207e-05/0.3487, allocations: 12.86 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3487, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001381/0.3488, allocations: 53.58 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3489, allocations: 8 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/0.3489, allocations: 7.984 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3489, allocations: 4.062 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.3489, allocations: 0 / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3489, allocations: 0 / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.349, allocations: 3.906 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.349, allocations: 0 / 1.031 GB, free: 13.29 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.0001209/0.3491, allocations: 187.5 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/0.3492, allocations: 112.9 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.039e-05/0.3492, allocations: 112.8 kB / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.685e-05/0.3493, allocations: 184.2 kB / 1.031 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.189e-05/0.3494, allocations: 180.3 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.587e-05/0.3495, allocations: 176.3 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.3498, allocations: 413.2 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-05/0.3499, allocations: 112.8 kB / 1.032 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.882e-05/0.3499, allocations: 112.9 kB / 1.032 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.414e-05/0.35, allocations: 176.3 kB / 1.032 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.328e-05/0.3501, allocations: 180.3 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.38e-05/0.3502, allocations: 180.2 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.797e-05/0.3503, allocations: 184.3 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.3505, allocations: 311.7 kB / 1.033 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-05/0.3506, allocations: 193.9 kB / 1.033 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/0.3508, allocations: 184.3 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3509, allocations: 101 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.351, allocations: 188.2 kB / 1.034 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.3511, allocations: 105 kB / 1.034 GB, free: 9.75 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.528e-05/0.3511, allocations: 97.61 kB / 1.034 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3511, allocations: 0 / 1.034 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008476/0.352, allocations: 283.8 kB / 1.034 GB, free: 9.379 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.001047/0.353, allocations: 0.5407 MB / 1.035 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.3532, allocations: 45.64 kB / 1.035 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3532, allocations: 0 / 1.035 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.562e-06/0.3532, allocations: 0 / 1.035 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.3536, allocations: 463.6 kB / 1.035 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.354, allocations: 244.2 kB / 1.036 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.3543, allocations: 0.6846 MB / 1.036 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.471e-05/0.3544, allocations: 4 kB / 1.036 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.281e-05/0.3544, allocations: 7.438 kB / 1.036 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of SimCode: time 2.9e-07/0.3544, allocations: 0 / 1.036 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of Templates: time 0.01/0.3644, allocations: 5.626 MB / 1.042 GB, free: 1.754 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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