Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001684/0.001684, 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.001861/0.001861, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.43/2.43, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.91 kB / 0.8119 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7007/0.7021, allocations: 140.4 MB / 0.949 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003514/0.7057, allocations: 1.498 MB / 0.9504 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005618/0.7114, allocations: 3.005 MB / 0.9534 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.7114, allocations: 1.094 kB / 0.9534 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.7115, allocations: 3.984 kB / 0.9534 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.481e-05/0.7116, allocations: 13.45 kB / 0.9534 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004009/0.7156, allocations: 1.408 MB / 0.9548 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.864e-05/0.7157, allocations: 43.06 kB / 0.9548 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.7158, allocations: 6.438 kB / 0.9548 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.651e-05/0.7158, allocations: 16.42 kB / 0.9548 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.732e-05/0.7158, allocations: 18.78 kB / 0.9548 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.7158, allocations: 1.188 kB / 0.9548 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002693/0.7185, allocations: 1.467 MB / 0.9563 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.7186, allocations: 1.5 kB / 0.9563 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.7186, allocations: 18.91 kB / 0.9563 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002205/0.7208, allocations: 1.119 MB / 0.9574 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.7208, allocations: 1.375 kB / 0.9574 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7209, allocations: 7.938 kB / 0.9574 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.7209, allocations: 0 / 0.9574 GB, free: 3.375 MB / 0.7169 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.0008954/0.7218, allocations: 0.5212 MB / 0.9579 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.7218, allocations: 9.281 kB / 0.9579 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.894e-05/0.7219, allocations: 81.78 kB / 0.958 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.722, allocations: 251.9 kB / 0.9582 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.7221, allocations: 152.3 kB / 0.9584 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.7221, allocations: 156.2 kB / 0.9585 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.94e-05/0.7222, allocations: 105.1 kB / 0.9586 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.7222, allocations: 75.28 kB / 0.9587 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.7222, allocations: 155.6 kB / 0.9589 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.139e-05/0.7223, allocations: 154.5 kB / 0.959 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.171e-05/0.7223, allocations: 155.5 kB / 0.9591 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.7225, allocations: 462.1 kB / 0.9596 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.918e-05/0.7226, allocations: 170.2 kB / 0.9598 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/0.7226, allocations: 80.14 kB / 0.9598 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.7226, allocations: 79.28 kB / 0.9599 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.7227, allocations: 118.9 kB / 0.96 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.7227, allocations: 0 / 0.96 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.529e-05/0.7228, allocations: 32.64 kB / 0.96 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.7228, allocations: 131.9 kB / 0.9602 GB, free: 448 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.723, allocations: 127.7 kB / 0.9603 GB, free: 332 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.723, allocations: 26.83 kB / 0.9603 GB, free: 300 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.723, allocations: 102.3 kB / 0.9604 GB, free: 196 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/0.723, allocations: 0 / 0.9604 GB, free: 196 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.7231, allocations: 15.25 kB / 0.9604 GB, free: 180 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.7232, allocations: 317 kB / 0.9607 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/0.7233, allocations: 7.266 kB / 0.9607 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.7233, allocations: 7.281 kB / 0.9607 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.032e-05/0.7233, allocations: 22.48 kB / 0.9608 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.7234, allocations: 0 / 0.9608 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001463/0.7235, allocations: 52.8 kB / 0.9608 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.7235, allocations: 13.34 kB / 0.9608 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.7236, allocations: 2.344 kB / 0.9608 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.7236, allocations: 5.016 kB / 0.9608 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.7236, allocations: 0 / 0.9608 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.7236, allocations: 1.156 kB / 0.9608 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.7236, allocations: 0 / 0.9608 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.7236, allocations: 1.969 kB / 0.9608 GB, free: 15.78 MB / 0.7325 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.0001176/0.7238, allocations: 183.1 kB / 0.961 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.7238, allocations: 119 kB / 0.9611 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.863e-05/0.7239, allocations: 114.8 kB / 0.9612 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-05/0.724, allocations: 185 kB / 0.9614 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.603e-05/0.7241, allocations: 177.7 kB / 0.9616 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.609e-05/0.7242, allocations: 177 kB / 0.9618 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.7245, allocations: 419.8 kB / 0.9622 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-05/0.7245, allocations: 114.2 kB / 0.9623 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.178e-05/0.7246, allocations: 110 kB / 0.9624 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-05/0.7247, allocations: 177.4 kB / 0.9625 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.006e-05/0.7247, allocations: 177.3 kB / 0.9627 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.772e-05/0.7248, allocations: 181.3 kB / 0.9629 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-05/0.7249, allocations: 185.3 kB / 0.9631 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.7251, allocations: 312.3 kB / 0.9634 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.496e-05/0.7252, allocations: 188.6 kB / 0.9635 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-05/0.7253, allocations: 185.6 kB / 0.9637 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.46e-05/0.7254, allocations: 106.3 kB / 0.9638 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.951e-05/0.7255, allocations: 184.2 kB / 0.964 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/0.7255, allocations: 106.5 kB / 0.9641 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.981e-05/0.7256, allocations: 97.83 kB / 0.9642 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7256, allocations: 0 / 0.9642 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001161/0.7268, allocations: 287.9 kB / 0.9645 GB, free: 12.1 MB / 0.7325 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.001541/0.7283, allocations: 0.5323 MB / 0.965 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.7284, allocations: 47.09 kB / 0.965 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.7285, allocations: 0 / 0.965 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/0.7285, allocations: 0 / 0.965 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.7289, allocations: 0.5267 MB / 0.9655 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.7293, allocations: 250.9 kB / 0.9658 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.7296, allocations: 0.6848 MB / 0.9664 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.589e-05/0.7296, allocations: 1.094 kB / 0.9664 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.731e-05/0.7297, allocations: 9.5 kB / 0.9665 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.7297, allocations: 0 / 0.9665 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of Templates: time 0.01177/0.7414, allocations: 5.678 MB / 0.972 GB, free: 7.375 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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