Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.009244/0.009244, allocations: 100.8 kB / 15.87 MB, free: 5.863 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.002323/0.002323, allocations: 190.8 kB / 16.79 MB, free: 5.805 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.507/1.507, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.853/2.853, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 68.38 kB / 0.8991 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3761, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003233/0.3793, allocations: 1.505 MB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005235/0.3846, allocations: 3.019 MB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.344e-05/0.3847, allocations: 3.938 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.382e-05/0.3848, allocations: 4 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.22e-05/0.3849, allocations: 15.84 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004397/0.3893, allocations: 1.392 MB / 1.059 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.3894, allocations: 47.67 kB / 1.059 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.3895, allocations: 0 / 1.059 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.773e-05/0.3895, allocations: 11.94 kB / 1.059 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.082e-05/0.3896, allocations: 23.92 kB / 1.059 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.3896, allocations: 4 kB / 1.059 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002817/0.3924, allocations: 1.462 MB / 1.06 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.3924, allocations: 3.938 kB / 1.06 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.3925, allocations: 23.86 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.3941, allocations: 0.7918 MB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3941, allocations: 0 / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3941, allocations: 0 / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3941, allocations: 0 / 1.061 GB, free: 15.95 MB / 0.8262 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.0009472/0.3951, allocations: 0.5264 MB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3951, allocations: 8.031 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.658e-05/0.3952, allocations: 84.12 kB / 1.062 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.3954, allocations: 243.6 kB / 1.062 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.061e-05/0.3955, allocations: 158.9 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.979e-05/0.3956, allocations: 150.9 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.68e-05/0.3956, allocations: 109.1 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.272e-05/0.3957, allocations: 79.27 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.583e-05/0.3957, allocations: 150.6 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/0.3958, allocations: 154.6 kB / 1.063 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.127e-05/0.3959, allocations: 154.5 kB / 1.063 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.3962, allocations: 465.9 kB / 1.063 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.149e-05/0.3963, allocations: 173.1 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.636e-05/0.3963, allocations: 80.14 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.3964, allocations: 75.28 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/0.3964, allocations: 113.8 kB / 1.064 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3964, allocations: 4 kB / 1.064 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.479e-05/0.3965, allocations: 37.59 kB / 1.064 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/0.3966, allocations: 126.7 kB / 1.064 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.3968, allocations: 139.5 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3968, allocations: 25.7 kB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.3969, allocations: 96.03 kB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.579e-06/0.3969, allocations: 4 kB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.3969, allocations: 17.72 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.397, allocations: 318.8 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.923e-05/0.3971, allocations: 7.938 kB / 1.064 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.024e-05/0.3971, allocations: 8 kB / 1.064 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.083e-05/0.3972, allocations: 8.859 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3972, allocations: 4 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001483/0.3973, allocations: 53.56 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3974, allocations: 9.25 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.3974, allocations: 0 / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3974, allocations: 4.062 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.987e-06/0.3974, allocations: 4 kB / 1.064 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3974, allocations: 0 / 1.064 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.867e-05/0.3974, allocations: 3.906 kB / 1.064 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.3975, allocations: 7.938 kB / 1.064 GB, free: 12.18 MB / 0.8262 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.0001104/0.3976, allocations: 185.1 kB / 1.065 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.471e-05/0.3976, allocations: 104.9 kB / 1.065 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.567e-05/0.3977, allocations: 116.8 kB / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.067e-05/0.3978, allocations: 180.3 kB / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.181e-05/0.3979, allocations: 184.3 kB / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.344e-05/0.3979, allocations: 184.3 kB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.3982, allocations: 409.3 kB / 1.066 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-05/0.3982, allocations: 116.9 kB / 1.066 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.3983, allocations: 105 kB / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-05/0.3983, allocations: 184.2 kB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.708e-05/0.3984, allocations: 176.3 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.479e-05/0.3985, allocations: 184.2 kB / 1.066 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-05/0.3985, allocations: 180.2 kB / 1.067 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.3987, allocations: 311.7 kB / 1.067 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.097e-05/0.3988, allocations: 197.9 kB / 1.067 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.795e-05/0.3988, allocations: 176.3 kB / 1.067 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.661e-05/0.3989, allocations: 104.9 kB / 1.067 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.42e-05/0.399, allocations: 176.3 kB / 1.068 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/0.3991, allocations: 116.9 kB / 1.068 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.734e-05/0.3991, allocations: 101.1 kB / 1.068 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3991, allocations: 0 / 1.068 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009909/0.4001, allocations: 283.8 kB / 1.068 GB, free: 8.262 MB / 0.8262 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.001535/0.4017, allocations: 0.5409 MB / 1.069 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.4018, allocations: 37.7 kB / 1.069 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4018, allocations: 4 kB / 1.069 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/0.4018, allocations: 0 / 1.069 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.4023, allocations: 0.5367 MB / 1.069 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.4027, allocations: 271.5 kB / 1.069 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.4029, allocations: 0.6887 MB / 1.07 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.398e-05/0.403, allocations: 7.438 kB / 1.07 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.403, allocations: 4 kB / 1.07 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of Templates: time 0.008445/0.4114, allocations: 4.747 MB / 1.075 GB, free: 1.355 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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