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.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 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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_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_9_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.009392/0.009392, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001953/0.001953, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.296/2.296, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 68.03 kB / 0.9509 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.059, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002489/1.062, allocations: 1.44 MB / 1.089 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004037/1.066, allocations: 2.842 MB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/1.066, allocations: 0 / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/1.066, allocations: 6.547 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.655e-05/1.066, allocations: 14.98 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004125/1.07, allocations: 1.562 MB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/1.07, allocations: 44.97 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/1.07, allocations: 6.922 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.116e-05/1.07, allocations: 16.27 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.362e-05/1.071, allocations: 13.95 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/1.071, allocations: 5.094 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/1.073, allocations: 1.487 MB / 1.095 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/1.073, allocations: 10.73 kB / 1.095 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/1.073, allocations: 15.88 kB / 1.095 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001855/1.075, allocations: 1.071 MB / 1.096 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.075, allocations: 0 / 1.096 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.575e-06/1.075, allocations: 0 / 1.096 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.3e-06/1.075, allocations: 5.031 kB / 1.096 GB, free: 0.9336 MB / 0.8575 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.0006177/1.076, allocations: 0.5086 MB / 1.097 GB, free: 464 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/1.076, allocations: 9.859 kB / 1.097 GB, free: 464 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/1.076, allocations: 82.81 kB / 1.097 GB, free: 384 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/1.076, allocations: 256.3 kB / 1.097 GB, free: 96 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.616e-05/1.076, allocations: 154.9 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/1.076, allocations: 152.1 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.969e-05/1.076, allocations: 107 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/1.076, allocations: 75.28 kB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.807e-05/1.076, allocations: 150.6 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-05/1.076, allocations: 156.8 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.781e-05/1.076, allocations: 154.5 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/1.077, allocations: 464.9 kB / 1.099 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.387e-05/1.077, allocations: 166.7 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/1.077, allocations: 84.7 kB / 1.099 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/1.077, allocations: 76.31 kB / 1.099 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.561e-05/1.077, allocations: 122.3 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/1.077, allocations: 1.094 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 7.345e-05/1.077, allocations: 32.33 kB / 1.099 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/1.077, allocations: 128.4 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/1.077, allocations: 129 kB / 1.099 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/1.077, allocations: 27.28 kB / 1.099 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/1.077, allocations: 95.41 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/1.077, allocations: 1.156 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/1.077, allocations: 14.77 kB / 1.099 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.078, allocations: 319.1 kB / 1.1 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/1.078, allocations: 3.078 kB / 1.1 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.769e-05/1.078, allocations: 8.016 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.713e-05/1.078, allocations: 18.83 kB / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.078, allocations: 0 / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001307/1.078, allocations: 49.81 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.078, allocations: 6.156 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/1.078, allocations: 2.156 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/1.078, allocations: 1.578 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.006e-06/1.078, allocations: 0 / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/1.078, allocations: 7.875 kB / 1.1 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.131e-05/1.078, allocations: 4.969 kB / 1.1 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/1.078, allocations: 1.844 kB / 1.1 GB, free: 13.4 MB / 0.8731 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 9.901e-05/1.078, allocations: 188 kB / 1.1 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/1.078, allocations: 116.6 kB / 1.1 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.318e-05/1.078, allocations: 112.8 kB / 1.1 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.321e-05/1.078, allocations: 182.2 kB / 1.1 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.436e-05/1.078, allocations: 182 kB / 1.1 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.345e-05/1.078, allocations: 184.9 kB / 1.101 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/1.079, allocations: 417.5 kB / 1.101 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.333e-05/1.079, allocations: 105.5 kB / 1.101 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/1.079, allocations: 102.7 kB / 1.101 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.284e-05/1.079, allocations: 183 kB / 1.101 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.436e-05/1.079, allocations: 177 kB / 1.102 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.488e-05/1.079, allocations: 186.8 kB / 1.102 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-05/1.079, allocations: 177 kB / 1.102 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/1.079, allocations: 311.3 kB / 1.102 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.622e-05/1.079, allocations: 189.4 kB / 1.102 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.05e-05/1.079, allocations: 190.6 kB / 1.103 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.252e-05/1.079, allocations: 102 kB / 1.103 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/1.079, allocations: 182 kB / 1.103 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/1.079, allocations: 102.1 kB / 1.103 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.829e-05/1.08, allocations: 99.28 kB / 1.103 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/1.08, allocations: 0 / 1.103 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001008/1.081, allocations: 278 kB / 1.103 GB, free: 9.762 MB / 0.8731 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.001118/1.082, allocations: 0.5235 MB / 1.104 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001002/1.082, allocations: 35.05 kB / 1.104 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/1.082, allocations: 0 / 1.104 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.358e-06/1.082, allocations: 5.953 kB / 1.104 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/1.082, allocations: 468.9 kB / 1.104 GB, free: 9 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/1.083, allocations: 226.7 kB / 1.105 GB, free: 8.801 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/1.083, allocations: 0.6825 MB / 1.105 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.361e-05/1.083, allocations: 3.938 kB / 1.105 GB, free: 8.102 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/1.083, allocations: 13.22 kB / 1.105 GB, free: 8.09 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/1.083, allocations: 0 / 1.105 GB, free: 8.09 MB / 0.8731 GB Notification: Performance of Templates: time 0.01179/1.095, allocations: 5.464 MB / 1.111 GB, free: 7.668 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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,Rb,Rgb,Rgg,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x