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.001248/0.001248, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 199 kB / 16.79 MB, free: 6.809 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.474/1.474, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.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.758/2.758, allocations: 437 MB / 0.7106 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 63.89 kB / 0.8693 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7971/0.7987, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003254/0.802, allocations: 1.514 MB / 1.019 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.005173/0.8072, allocations: 3.025 MB / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.277e-05/0.8073, allocations: 0 / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.8074, allocations: 0 / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.222e-05/0.8075, allocations: 19.84 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004285/0.8118, allocations: 1.407 MB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.077e-05/0.8119, allocations: 43.73 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.127e-05/0.812, allocations: 7.984 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.531e-05/0.812, allocations: 11.94 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.934e-05/0.812, allocations: 23.86 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.8121, allocations: 0 / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002817/0.8149, allocations: 1.462 MB / 1.025 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.8149, allocations: 11.94 kB / 1.025 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.815, allocations: 23.86 kB / 1.025 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.8165, allocations: 0.7818 MB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.8166, allocations: 0 / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8166, allocations: 3.938 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.8166, allocations: 0 / 1.025 GB, free: 10.45 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.0008939/0.8175, allocations: 0.5185 MB / 1.026 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.8175, allocations: 12.03 kB / 1.026 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.206e-05/0.8176, allocations: 80.12 kB / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.8178, allocations: 255.5 kB / 1.026 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.24e-05/0.8179, allocations: 150.9 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.502e-05/0.8179, allocations: 154.9 kB / 1.027 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.388e-05/0.818, allocations: 109 kB / 1.027 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.818, allocations: 75.28 kB / 1.027 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.786e-05/0.8181, allocations: 150.6 kB / 1.027 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.378e-05/0.8182, allocations: 162.5 kB / 1.027 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.83e-05/0.8182, allocations: 150.6 kB / 1.027 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.8186, allocations: 461.9 kB / 1.028 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.156e-05/0.8187, allocations: 177.1 kB / 1.028 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.689e-05/0.8187, allocations: 84.14 kB / 1.028 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.8188, allocations: 75.28 kB / 1.028 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/0.8188, allocations: 109.8 kB / 1.028 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.8188, allocations: 0 / 1.028 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.879e-05/0.8189, allocations: 33.61 kB / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.819, allocations: 130.6 kB / 1.028 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.8192, allocations: 136 kB / 1.028 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.8192, allocations: 25.7 kB / 1.028 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.8193, allocations: 96.03 kB / 1.028 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-06/0.8193, allocations: 0 / 1.028 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.8193, allocations: 17.72 kB / 1.028 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.8194, allocations: 322.8 kB / 1.029 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.798e-05/0.8195, allocations: 4 kB / 1.029 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.946e-05/0.8195, allocations: 4.062 kB / 1.029 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.213e-05/0.8196, allocations: 20.89 kB / 1.029 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8196, allocations: 0 / 1.029 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001435/0.8197, allocations: 57.56 kB / 1.029 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.8197, allocations: 4 kB / 1.029 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/0.8198, allocations: 4 kB / 1.029 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.8198, allocations: 0 / 1.029 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.8198, allocations: 0 / 1.029 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.8198, allocations: 0 / 1.029 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.952e-05/0.8198, allocations: 7.844 kB / 1.029 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.8199, allocations: 4 kB / 1.029 GB, free: 6.691 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.0001174/0.82, allocations: 189.2 kB / 1.029 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/0.82, allocations: 108.9 kB / 1.029 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.93e-05/0.8201, allocations: 112.8 kB / 1.029 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-05/0.8202, allocations: 184.2 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.04e-05/0.8203, allocations: 184.3 kB / 1.03 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-05/0.8203, allocations: 188.2 kB / 1.03 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.8206, allocations: 413.2 kB / 1.03 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.995e-05/0.8206, allocations: 108.9 kB / 1.03 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.8207, allocations: 104.9 kB / 1.03 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.106e-05/0.8207, allocations: 184.3 kB / 1.031 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-05/0.8208, allocations: 180.2 kB / 1.031 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.28e-05/0.8209, allocations: 184.2 kB / 1.031 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.015e-05/0.821, allocations: 180.2 kB / 1.031 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.8211, allocations: 312 kB / 1.031 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/0.8212, allocations: 193.9 kB / 1.032 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.725e-05/0.8213, allocations: 180.3 kB / 1.032 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.547e-05/0.8214, allocations: 112.9 kB / 1.032 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.8215, allocations: 176.3 kB / 1.032 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-05/0.8215, allocations: 101 kB / 1.032 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.697e-05/0.8216, allocations: 112.4 kB / 1.032 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8216, allocations: 0 / 1.032 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008944/0.8225, allocations: 283.8 kB / 1.033 GB, free: 2.758 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.001439/0.824, allocations: 0.537 MB / 1.033 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.8241, allocations: 37.7 kB / 1.033 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.8241, allocations: 4 kB / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-06/0.8241, allocations: 0 / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.8246, allocations: 0.5341 MB / 1.034 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.8249, allocations: 268.3 kB / 1.034 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.8252, allocations: 0.6848 MB / 1.035 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.8252, allocations: 11.44 kB / 1.035 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.8253, allocations: 0 / 1.035 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of Templates: time 0.00979/0.835, allocations: 4.748 MB / 1.039 GB, free: 11.87 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=480 -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,Rgb,Rgg1,Rgg2,time,x