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.001505/0.001505, allocations: 104.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.001334/0.001334, allocations: 189.8 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.574/1.574, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.613/2.613, allocations: 437.1 MB / 0.7111 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.001961, allocations: 72.12 kB / 0.87 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3807, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003068/0.3838, allocations: 1.438 MB / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004865/0.3887, allocations: 2.858 MB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.3888, allocations: 0 / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.3889, allocations: 3.938 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.553e-05/0.389, allocations: 15.84 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004433/0.3935, allocations: 1.567 MB / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.3936, allocations: 39.73 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.126e-05/0.3936, allocations: 11.92 kB / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.102e-05/0.3937, allocations: 11.94 kB / 1.024 GB, free: 4.637 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.999e-05/0.3937, allocations: 23.86 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.3937, allocations: 4 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.3964, allocations: 1.423 MB / 1.025 GB, free: 3.184 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.3965, allocations: 3.984 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.3965, allocations: 19.88 kB / 1.025 GB, free: 3.16 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.3984, allocations: 1.072 MB / 1.026 GB, free: 2.086 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.3985, allocations: 4 kB / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3985, allocations: 0 / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.3985, allocations: 0 / 1.026 GB, free: 2.082 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.0007664/0.3993, allocations: 0.5186 MB / 1.027 GB, free: 1.516 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3993, allocations: 8.922 kB / 1.027 GB, free: 1.508 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.019e-05/0.3994, allocations: 84.12 kB / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.3996, allocations: 251.5 kB / 1.027 GB, free: 1.141 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.558e-05/0.3997, allocations: 154.9 kB / 1.027 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.002e-05/0.3998, allocations: 150.9 kB / 1.027 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.133e-05/0.3999, allocations: 113.1 kB / 1.028 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/0.3999, allocations: 75.28 kB / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.24e-05/0.4, allocations: 150.6 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.278e-05/0.4001, allocations: 154.6 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.315e-05/0.4001, allocations: 150.6 kB / 1.028 GB, free: 204 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.4005, allocations: 473.9 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.4006, allocations: 177.1 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.4007, allocations: 84.19 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.4007, allocations: 75.28 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.797e-05/0.4008, allocations: 113.8 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.4008, allocations: 4 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.18e-05/0.4009, allocations: 33.55 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.4009, allocations: 126.7 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.4011, allocations: 133.8 kB / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.4011, allocations: 25.7 kB / 1.029 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.4012, allocations: 84.14 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.4012, allocations: 3.938 kB / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.4013, allocations: 25.7 kB / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4014, allocations: 318.8 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.4015, allocations: 4 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.104e-05/0.4015, allocations: 11.97 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.113e-05/0.4015, allocations: 12.86 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.4015, allocations: 0 / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001337/0.4017, allocations: 49.48 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4017, allocations: 8 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/0.4017, allocations: 3.984 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.4018, allocations: 0 / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.4018, allocations: 4.062 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4018, allocations: 4 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.582e-05/0.4018, allocations: 3.938 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.4018, allocations: 0 / 1.03 GB, free: 14.32 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.0001244/0.4019, allocations: 189.1 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.756e-05/0.402, allocations: 108.8 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.963e-05/0.4021, allocations: 116.8 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-05/0.4022, allocations: 180.3 kB / 1.03 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-05/0.4023, allocations: 184.2 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.56e-05/0.4024, allocations: 180.3 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.4027, allocations: 405.2 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.128e-05/0.4027, allocations: 112.8 kB / 1.031 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.842e-05/0.4028, allocations: 105 kB / 1.031 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.627e-05/0.4029, allocations: 188.2 kB / 1.031 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.686e-05/0.4029, allocations: 176.3 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.6e-05/0.403, allocations: 180.2 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.858e-05/0.4031, allocations: 184.2 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.4033, allocations: 319.7 kB / 1.032 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.4034, allocations: 182 kB / 1.032 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.4035, allocations: 184.2 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.408e-05/0.4036, allocations: 104.9 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.804e-05/0.4037, allocations: 176.3 kB / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.401e-05/0.4038, allocations: 108.9 kB / 1.033 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.347e-05/0.4038, allocations: 114 kB / 1.033 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4038, allocations: 0 / 1.033 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008892/0.4047, allocations: 271.8 kB / 1.033 GB, free: 10.41 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.001126/0.4059, allocations: 0.5136 MB / 1.034 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.406, allocations: 37.7 kB / 1.034 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.406, allocations: 4.062 kB / 1.034 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.406, allocations: 3.938 kB / 1.034 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.4065, allocations: 471.5 kB / 1.034 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.4069, allocations: 257.9 kB / 1.035 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.4072, allocations: 0.6846 MB / 1.035 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.289e-05/0.4072, allocations: 7.438 kB / 1.035 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.4072, allocations: 0 / 1.035 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of Templates: time 0.009704/0.4169, allocations: 4.643 MB / 1.04 GB, free: 3.727 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=400 -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