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.001862/0.001862, allocations: 102.9 kB / 16.27 MB, free: 6.414 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.002033/0.002033, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.9 MB, free: 15.27 MB / 206.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.665/2.665, allocations: 437 MB / 0.711 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001322, allocations: 69.58 kB / 0.8699 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3813, allocations: 151.6 MB / 1.018 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003465/0.3848, allocations: 1.43 MB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005011/0.3898, allocations: 2.858 MB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/0.3899, allocations: 0 / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.39, allocations: 7.938 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.4e-05/0.3901, allocations: 15.86 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.005032/0.3952, allocations: 1.564 MB / 1.024 GB, free: 4.715 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.3953, allocations: 39.73 kB / 1.024 GB, free: 4.676 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.455e-05/0.3954, allocations: 7.922 kB / 1.024 GB, free: 4.668 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.324e-05/0.3954, allocations: 15.94 kB / 1.024 GB, free: 4.652 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.163e-05/0.3954, allocations: 23.84 kB / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.3955, allocations: 0 / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00278/0.3982, allocations: 1.424 MB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.3983, allocations: 7.984 kB / 1.025 GB, free: 3.195 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.3983, allocations: 15.88 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002453/0.4008, allocations: 1.084 MB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.4008, allocations: 0 / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4008, allocations: 0 / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.4008, allocations: 0 / 1.026 GB, free: 2.094 MB / 0.795 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.0009682/0.4018, allocations: 0.5108 MB / 1.027 GB, free: 1.535 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.4019, allocations: 12.92 kB / 1.027 GB, free: 1.523 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.923e-05/0.402, allocations: 84.12 kB / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.4022, allocations: 247.5 kB / 1.027 GB, free: 1.16 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.266e-05/0.4022, allocations: 154.9 kB / 1.027 GB, free: 1.008 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.477e-05/0.4023, allocations: 154.9 kB / 1.027 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.553e-05/0.4024, allocations: 109 kB / 1.028 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.4024, allocations: 75.28 kB / 1.028 GB, free: 0.668 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.974e-05/0.4025, allocations: 154.6 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.102e-05/0.4025, allocations: 150.6 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.366e-05/0.4026, allocations: 150.6 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.403, allocations: 461.9 kB / 1.028 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.616e-05/0.4031, allocations: 185.1 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.947e-05/0.4031, allocations: 84.19 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.4031, allocations: 83.22 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.422e-05/0.4032, allocations: 109.8 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/0.4032, allocations: 0 / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.275e-05/0.4033, allocations: 33.61 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.4034, allocations: 130.7 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.4035, allocations: 128.2 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.4036, allocations: 29.64 kB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.4036, allocations: 92.14 kB / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-06/0.4036, allocations: 0 / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.4037, allocations: 21.7 kB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4038, allocations: 310.8 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.957e-05/0.4038, allocations: 4 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.627e-05/0.4039, allocations: 15.98 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.195e-05/0.4039, allocations: 8.859 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4039, allocations: 3.938 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001516/0.4041, allocations: 53.55 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.4041, allocations: 4 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/0.4041, allocations: 7.984 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4042, allocations: 0 / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.965e-06/0.4042, allocations: 3.938 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4042, allocations: 0 / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.612e-05/0.4042, allocations: 8 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.4042, allocations: 4 kB / 1.03 GB, free: 14.34 MB / 0.8106 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.000109/0.4043, allocations: 185.1 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.4044, allocations: 112.8 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.1e-05/0.4045, allocations: 112.8 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.738e-05/0.4045, allocations: 180.2 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.121e-05/0.4046, allocations: 184.3 kB / 1.03 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.396e-05/0.4047, allocations: 180.2 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.4049, allocations: 409.2 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.755e-05/0.405, allocations: 112.9 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.405, allocations: 104.9 kB / 1.031 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.155e-05/0.4051, allocations: 176.3 kB / 1.031 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.871e-05/0.4051, allocations: 184.2 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-05/0.4052, allocations: 180.3 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.462e-05/0.4053, allocations: 184.2 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.4055, allocations: 315.6 kB / 1.032 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.091e-05/0.4056, allocations: 194 kB / 1.032 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.278e-05/0.4056, allocations: 184.2 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.157e-05/0.4057, allocations: 104.9 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.428e-05/0.4058, allocations: 180.3 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/0.4059, allocations: 101 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.221e-05/0.4059, allocations: 101.7 kB / 1.033 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4059, allocations: 4 kB / 1.033 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009454/0.4069, allocations: 275.8 kB / 1.033 GB, free: 10.43 MB / 0.8106 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.001387/0.4083, allocations: 0.5291 MB / 1.034 GB, free: 9.895 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.4084, allocations: 29.7 kB / 1.034 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4084, allocations: 4 kB / 1.034 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.4084, allocations: 0 / 1.034 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.4089, allocations: 471.7 kB / 1.034 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.4093, allocations: 253.8 kB / 1.035 GB, free: 9.109 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.4096, allocations: 0.6846 MB / 1.035 GB, free: 8.398 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.4096, allocations: 11.44 kB / 1.035 GB, free: 8.387 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.4096, allocations: 3.938 kB / 1.035 GB, free: 8.383 MB / 0.8106 GB Notification: Performance of Templates: time 0.009051/0.4187, allocations: 4.631 MB / 1.04 GB, free: 3.746 MB / 0.8106 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/jenkins1/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,Rgb,Rgg,time,x