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.009754/0.009754, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.002211/0.002211, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 4.156 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.484/2.484, allocations: 390.2 MB / 0.6648 GB, free: 132 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 64.06 kB / 0.9509 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3488, allocations: 140.4 MB / 1.088 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002658/0.3516, allocations: 1.43 MB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004194/0.3558, allocations: 2.85 MB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.3558, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.403e-05/0.3559, allocations: 3.938 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.257e-05/0.3559, allocations: 15.86 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003637/0.3596, allocations: 1.564 MB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.3597, allocations: 39.75 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.3597, allocations: 7.984 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.546e-05/0.3598, allocations: 7.938 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.282e-05/0.3598, allocations: 19.88 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.3598, allocations: 8 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.3619, allocations: 1.486 MB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.362, allocations: 0 / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.258e-05/0.362, allocations: 23.86 kB / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.3633, allocations: 1.068 MB / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3634, allocations: 0 / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3634, allocations: 0 / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3634, allocations: 0 / 1.096 GB, free: 8.906 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.0006381/0.364, allocations: 0.5185 MB / 1.097 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3641, allocations: 8.031 kB / 1.097 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.912e-05/0.3641, allocations: 84.12 kB / 1.097 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.3643, allocations: 251.5 kB / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.3645, allocations: 150.9 kB / 1.097 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.395e-05/0.3645, allocations: 150.9 kB / 1.097 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.3647, allocations: 105.1 kB / 1.098 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.668e-05/0.3647, allocations: 83.28 kB / 1.098 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.3648, allocations: 150.6 kB / 1.098 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.364e-05/0.3648, allocations: 158.5 kB / 1.098 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.211e-05/0.3649, allocations: 154.5 kB / 1.098 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.3652, allocations: 469.9 kB / 1.099 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.805e-05/0.3653, allocations: 165.1 kB / 1.099 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.947e-05/0.3654, allocations: 80.14 kB / 1.099 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.3654, allocations: 75.28 kB / 1.099 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.3655, allocations: 109.8 kB / 1.099 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3655, allocations: 4 kB / 1.099 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.697e-05/0.3656, allocations: 41.53 kB / 1.099 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.3656, allocations: 130.7 kB / 1.099 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.3658, allocations: 128 kB / 1.099 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.3658, allocations: 25.7 kB / 1.099 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.3659, allocations: 96.05 kB / 1.099 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.3659, allocations: 0 / 1.099 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.3659, allocations: 13.72 kB / 1.099 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3661, allocations: 326.8 kB / 1.1 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/0.3661, allocations: 0 / 1.1 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.689e-05/0.3661, allocations: 4 kB / 1.1 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.71e-05/0.3662, allocations: 12.86 kB / 1.1 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.3662, allocations: 4 kB / 1.1 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001436/0.3663, allocations: 57.56 kB / 1.1 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3663, allocations: 4 kB / 1.1 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.3664, allocations: 4.047 kB / 1.1 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.3664, allocations: 3.984 kB / 1.1 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.3664, allocations: 4.062 kB / 1.1 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.3664, allocations: 0 / 1.1 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.467e-05/0.3664, allocations: 7.844 kB / 1.1 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.3665, allocations: 4 kB / 1.1 GB, free: 5.152 MB / 0.8575 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.0001068/0.3666, allocations: 185.1 kB / 1.1 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.618e-05/0.3666, allocations: 116.9 kB / 1.1 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.563e-05/0.3667, allocations: 104.9 kB / 1.1 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.687e-05/0.3668, allocations: 188.3 kB / 1.1 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.152e-05/0.3669, allocations: 184.2 kB / 1.101 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.57e-05/0.3669, allocations: 176.3 kB / 1.101 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.3672, allocations: 413.2 kB / 1.101 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-05/0.3673, allocations: 104.9 kB / 1.101 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.631e-05/0.3674, allocations: 105 kB / 1.101 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-05/0.3674, allocations: 188.2 kB / 1.101 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.111e-05/0.3675, allocations: 184.2 kB / 1.102 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.719e-05/0.3676, allocations: 180.2 kB / 1.102 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.769e-05/0.3676, allocations: 176.3 kB / 1.102 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.3678, allocations: 315.7 kB / 1.102 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.3679, allocations: 193.9 kB / 1.102 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.373e-05/0.3679, allocations: 180.2 kB / 1.103 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.301e-05/0.368, allocations: 109 kB / 1.103 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.763e-05/0.3681, allocations: 180.3 kB / 1.103 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.3682, allocations: 108.9 kB / 1.103 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.613e-05/0.3682, allocations: 101.6 kB / 1.103 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3682, allocations: 0 / 1.103 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007173/0.369, allocations: 275.8 kB / 1.103 GB, free: 1.238 MB / 0.8575 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.00102/0.37, allocations: 0.5096 MB / 1.104 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001179/0.3701, allocations: 41.69 kB / 1.104 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3701, allocations: 4.062 kB / 1.104 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-06/0.3701, allocations: 0 / 1.104 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.3706, allocations: 476.2 kB / 1.104 GB, free: 208 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.371, allocations: 240.2 kB / 1.105 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.3712, allocations: 0.6807 MB / 1.105 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.298e-05/0.3713, allocations: 0 / 1.105 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.399e-05/0.3713, allocations: 11.44 kB / 1.105 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.3713, allocations: 0 / 1.105 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of Templates: time 0.009497/0.3808, allocations: 5.452 MB / 1.111 GB, free: 9.824 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