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.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 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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_10_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_10_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.01167/0.01167, allocations: 96.31 kB / 15.73 MB, free: 6.035 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.001596/0.001596, allocations: 195.6 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.777/2.777, allocations: 437 MB / 0.7105 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.89 kB / 1.019 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.348, allocations: 151.6 MB / 1.167 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002933/0.351, allocations: 1.434 MB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004513/0.3555, allocations: 2.849 MB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.3556, allocations: 0 / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.3557, allocations: 11.86 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.832e-05/0.3558, allocations: 11.86 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004244/0.36, allocations: 1.571 MB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.3601, allocations: 43.67 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.3602, allocations: 4 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.827e-05/0.3602, allocations: 15.94 kB / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.837e-05/0.3603, allocations: 11.94 kB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.3603, allocations: 0 / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.3626, allocations: 1.494 MB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.3626, allocations: 3.938 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.3627, allocations: 23.86 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.3641, allocations: 1.073 MB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3641, allocations: 0 / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3641, allocations: 0 / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3642, allocations: 0 / 1.175 GB, free: 14.29 MB / 0.9356 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.0006449/0.3648, allocations: 0.5363 MB / 1.176 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3648, allocations: 8.031 kB / 1.176 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.629e-05/0.3649, allocations: 84.17 kB / 1.176 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.3651, allocations: 259.5 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.356e-05/0.3652, allocations: 150.9 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.916e-05/0.3652, allocations: 154.9 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.045e-05/0.3653, allocations: 113.1 kB / 1.176 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.3653, allocations: 75.28 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.683e-05/0.3654, allocations: 150.6 kB / 1.177 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.135e-05/0.3655, allocations: 154.6 kB / 1.177 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.407e-05/0.3656, allocations: 158.5 kB / 1.177 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.3659, allocations: 461.9 kB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.795e-05/0.366, allocations: 169.1 kB / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.366, allocations: 80.14 kB / 1.177 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.366, allocations: 75.28 kB / 1.178 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.3661, allocations: 121.8 kB / 1.178 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.3661, allocations: 0 / 1.178 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.979e-05/0.3662, allocations: 37.59 kB / 1.178 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.3663, allocations: 126.7 kB / 1.178 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.3664, allocations: 131.9 kB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.3664, allocations: 25.7 kB / 1.178 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.3665, allocations: 88.14 kB / 1.178 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.3665, allocations: 0 / 1.178 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.3665, allocations: 25.7 kB / 1.178 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3667, allocations: 318.8 kB / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.3667, allocations: 0 / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.622e-05/0.3667, allocations: 4 kB / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.524e-05/0.3668, allocations: 20.88 kB / 1.178 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3668, allocations: 4 kB / 1.178 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001224/0.3669, allocations: 49.53 kB / 1.178 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3669, allocations: 4 kB / 1.178 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.831e-05/0.367, allocations: 4 kB / 1.178 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.367, allocations: 8 kB / 1.178 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.367, allocations: 0 / 1.178 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.367, allocations: 3.984 kB / 1.178 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.989e-05/0.367, allocations: 0 / 1.178 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.367, allocations: 4 kB / 1.178 GB, free: 10.51 MB / 0.9356 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.0001149/0.3672, allocations: 185.2 kB / 1.179 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.59e-05/0.3672, allocations: 120.8 kB / 1.179 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.605e-05/0.3673, allocations: 104.9 kB / 1.179 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.155e-05/0.3674, allocations: 188.2 kB / 1.179 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.747e-05/0.3674, allocations: 180.2 kB / 1.179 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.152e-05/0.3675, allocations: 180.3 kB / 1.179 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.3678, allocations: 413.2 kB / 1.18 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.101e-05/0.3678, allocations: 104.9 kB / 1.18 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.728e-05/0.3679, allocations: 109 kB / 1.18 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.898e-05/0.3679, allocations: 184.2 kB / 1.18 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.109e-05/0.368, allocations: 184.2 kB / 1.18 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-05/0.3681, allocations: 180.2 kB / 1.181 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.829e-05/0.3682, allocations: 176.3 kB / 1.181 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.3683, allocations: 319.7 kB / 1.181 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.272e-05/0.3684, allocations: 182 kB / 1.181 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.764e-05/0.3685, allocations: 180.2 kB / 1.181 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.842e-05/0.3686, allocations: 113 kB / 1.181 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/0.3687, allocations: 176.3 kB / 1.182 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-05/0.3687, allocations: 108.9 kB / 1.182 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.743e-05/0.3688, allocations: 105.5 kB / 1.182 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3688, allocations: 0 / 1.182 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008493/0.3697, allocations: 287 kB / 1.182 GB, free: 6.582 MB / 0.9356 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.001089/0.3707, allocations: 0.5245 MB / 1.183 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.3709, allocations: 41.7 kB / 1.183 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3709, allocations: 0 / 1.183 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.647e-06/0.3709, allocations: 0 / 1.183 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.3714, allocations: 471.5 kB / 1.183 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.3717, allocations: 236 kB / 1.183 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.372, allocations: 0.6807 MB / 1.184 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.36e-05/0.3721, allocations: 0 / 1.184 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.294e-05/0.3721, allocations: 7.438 kB / 1.184 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.3721, allocations: 0 / 1.184 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of Templates: time 0.009413/0.3815, allocations: 5.47 MB / 1.189 GB, free: 15.14 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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