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.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.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.001447/0.001447, 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.001497/0.001497, allocations: 195.5 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.519/1.519, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.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.84/2.84, allocations: 437 MB / 0.7099 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 71.88 kB / 0.8686 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6636/0.6655, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003011/0.6685, allocations: 1.506 MB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004729/0.6733, allocations: 3.025 MB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.6733, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.6734, allocations: 3.984 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.445e-05/0.6735, allocations: 15.86 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003511/0.677, allocations: 1.404 MB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.149e-05/0.6771, allocations: 39.75 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.6771, allocations: 19.91 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.155e-05/0.6772, allocations: 15.94 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.412e-05/0.6772, allocations: 7.938 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.6772, allocations: 7.984 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002212/0.6794, allocations: 1.462 MB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.6795, allocations: 7.938 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.6795, allocations: 15.88 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.6811, allocations: 1.129 MB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.6811, allocations: 0 / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.82e-07/0.6811, allocations: 4 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.6811, allocations: 0 / 1.025 GB, free: 10.03 MB / 0.7794 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.0006628/0.6818, allocations: 0.5185 MB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.6819, allocations: 11.97 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.237e-05/0.6819, allocations: 88.06 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.6821, allocations: 253.8 kB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.032e-05/0.6822, allocations: 150.9 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.603e-05/0.6823, allocations: 158.9 kB / 1.026 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.955e-05/0.6824, allocations: 105.1 kB / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.174e-05/0.6825, allocations: 75.28 kB / 1.026 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.761e-05/0.6826, allocations: 154.6 kB / 1.027 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.919e-05/0.6827, allocations: 150.6 kB / 1.027 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.775e-05/0.6828, allocations: 154.5 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.6832, allocations: 469.9 kB / 1.027 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.6833, allocations: 165.1 kB / 1.028 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.424e-05/0.6833, allocations: 80.14 kB / 1.028 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.6834, allocations: 75.28 kB / 1.028 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.203e-05/0.6835, allocations: 121.8 kB / 1.028 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 2.895e-06/0.6835, allocations: 0 / 1.028 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.899e-05/0.6835, allocations: 33.55 kB / 1.028 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/0.6836, allocations: 126.7 kB / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.6838, allocations: 133.8 kB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.6838, allocations: 25.7 kB / 1.028 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.088e-05/0.6839, allocations: 96.03 kB / 1.028 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.958e-06/0.6839, allocations: 4 kB / 1.028 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.6839, allocations: 21.66 kB / 1.028 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.6841, allocations: 314.8 kB / 1.028 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.633e-05/0.6841, allocations: 8 kB / 1.028 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.779e-05/0.6841, allocations: 4 kB / 1.029 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.442e-05/0.6842, allocations: 24.86 kB / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6842, allocations: 0 / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001417/0.6843, allocations: 49.62 kB / 1.029 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.6844, allocations: 8.062 kB / 1.029 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.6844, allocations: 4 kB / 1.029 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.6844, allocations: 4 kB / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.6844, allocations: 0 / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.6844, allocations: 0 / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.554e-05/0.6844, allocations: 7.844 kB / 1.029 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.6845, allocations: 0 / 1.029 GB, free: 6.266 MB / 0.7794 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.0001151/0.6846, allocations: 185.7 kB / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.229e-05/0.6847, allocations: 108.9 kB / 1.029 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.242e-05/0.6847, allocations: 120.8 kB / 1.029 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.167e-05/0.6848, allocations: 176.3 kB / 1.029 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.567e-05/0.6849, allocations: 184.2 kB / 1.029 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.412e-05/0.685, allocations: 180.3 kB / 1.03 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.6853, allocations: 417.1 kB / 1.03 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.156e-05/0.6854, allocations: 116.9 kB / 1.03 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.351e-05/0.6854, allocations: 105 kB / 1.03 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.087e-05/0.6855, allocations: 180.2 kB / 1.03 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.441e-05/0.6856, allocations: 176.3 kB / 1.03 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-05/0.6857, allocations: 192.2 kB / 1.031 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.284e-05/0.6858, allocations: 176.3 kB / 1.031 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.686, allocations: 311.9 kB / 1.031 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.6861, allocations: 197.9 kB / 1.031 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.6862, allocations: 180.2 kB / 1.031 GB, free: 3.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.804e-05/0.6863, allocations: 101 kB / 1.032 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.6864, allocations: 188.2 kB / 1.032 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.6864, allocations: 101 kB / 1.032 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.26e-05/0.6865, allocations: 105.6 kB / 1.032 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6865, allocations: 0 / 1.032 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008865/0.6874, allocations: 279.8 kB / 1.032 GB, free: 2.344 MB / 0.7794 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.001427/0.6889, allocations: 0.5371 MB / 1.033 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.689, allocations: 41.7 kB / 1.033 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.689, allocations: 4 kB / 1.033 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.769e-06/0.689, allocations: 3.938 kB / 1.033 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005518/0.6896, allocations: 0.5341 MB / 1.033 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003738/0.69, allocations: 241.8 kB / 1.034 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.6903, allocations: 0.6887 MB / 1.034 GB, free: 228 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.881e-05/0.6904, allocations: 0 / 1.034 GB, free: 228 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.6904, allocations: 11.44 kB / 1.034 GB, free: 216 kB / 0.7794 GB Notification: Performance of SimCode: time 1.834e-06/0.6904, allocations: 0 / 1.034 GB, free: 216 kB / 0.7794 GB Notification: Performance of Templates: time 0.01151/0.7019, allocations: 5.687 MB / 1.04 GB, free: 10.57 MB / 0.795 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=400 -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/jenkins/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