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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_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_latest_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.001429/0.001429, allocations: 109.5 kB / 15.99 MB, free: 6.359 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.001364/0.001364, allocations: 193.7 kB / 16.91 MB, free: 6.195 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.38/1.38, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.724/2.724, allocations: 469.4 MB / 0.7423 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001557, allocations: 58.66 kB / 0.9084 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3816, allocations: 159.1 MB / 1.064 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003981/0.3857, allocations: 1.487 MB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005347/0.391, allocations: 2.856 MB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.3911, allocations: 0 / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.86e-05/0.3912, allocations: 0 / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.942e-05/0.3913, allocations: 15.86 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004532/0.3958, allocations: 1.442 MB / 1.069 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.201e-05/0.3959, allocations: 39.75 kB / 1.069 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.396, allocations: 3.938 kB / 1.069 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.874e-05/0.396, allocations: 19.92 kB / 1.07 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.661e-05/0.3961, allocations: 15.88 kB / 1.07 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.3961, allocations: 0 / 1.07 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.3985, allocations: 1.42 MB / 1.071 GB, free: 8 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.3985, allocations: 15.92 kB / 1.071 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.3986, allocations: 19.88 kB / 1.071 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.4, allocations: 0.7409 MB / 1.072 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4, allocations: 0 / 1.072 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4, allocations: 0 / 1.072 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.4, allocations: 0 / 1.072 GB, free: 7.223 MB / 0.8419 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.0008641/0.4009, allocations: 0.5147 MB / 1.072 GB, free: 6.66 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.401, allocations: 8.625 kB / 1.072 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.544e-05/0.401, allocations: 80.12 kB / 1.072 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.4012, allocations: 259.5 kB / 1.073 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.853e-05/0.4013, allocations: 154.9 kB / 1.073 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.4014, allocations: 150.9 kB / 1.073 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.877e-05/0.4014, allocations: 109 kB / 1.073 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/0.4015, allocations: 75.28 kB / 1.073 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.323e-05/0.4015, allocations: 150.6 kB / 1.073 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.794e-05/0.4016, allocations: 154.6 kB / 1.073 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.92e-05/0.4016, allocations: 162.5 kB / 1.073 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.402, allocations: 453.9 kB / 1.074 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.729e-05/0.4021, allocations: 177.1 kB / 1.074 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.4021, allocations: 84.14 kB / 1.074 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.4021, allocations: 75.33 kB / 1.074 GB, free: 4.496 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.4022, allocations: 113.8 kB / 1.074 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.4022, allocations: 0 / 1.074 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 9.082e-05/0.4023, allocations: 33.61 kB / 1.074 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.4023, allocations: 130.7 kB / 1.074 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.4025, allocations: 130.8 kB / 1.075 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.4025, allocations: 29.7 kB / 1.075 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.4026, allocations: 92.05 kB / 1.075 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.4026, allocations: 0 / 1.075 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.4027, allocations: 17.72 kB / 1.075 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4028, allocations: 326.8 kB / 1.075 GB, free: 3.578 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.917e-05/0.4028, allocations: 0 / 1.075 GB, free: 3.578 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.59e-05/0.4028, allocations: 7.938 kB / 1.075 GB, free: 3.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.919e-05/0.4029, allocations: 12.91 kB / 1.075 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4029, allocations: 4.031 kB / 1.075 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001343/0.403, allocations: 53.61 kB / 1.075 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.403, allocations: 4 kB / 1.075 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.4031, allocations: 4 kB / 1.075 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.4031, allocations: 0 / 1.075 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.4031, allocations: 0 / 1.075 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.4031, allocations: 0 / 1.075 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.654e-05/0.4031, allocations: 7.844 kB / 1.075 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.4031, allocations: 7.938 kB / 1.075 GB, free: 3.469 MB / 0.8419 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.0001064/0.4033, allocations: 193.8 kB / 1.075 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/0.4033, allocations: 112.9 kB / 1.075 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.51e-05/0.4034, allocations: 104.9 kB / 1.076 GB, free: 3.039 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.215e-05/0.4035, allocations: 184.2 kB / 1.076 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.526e-05/0.4035, allocations: 176.4 kB / 1.076 GB, free: 2.672 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.008e-05/0.4036, allocations: 192.2 kB / 1.076 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.4038, allocations: 413.2 kB / 1.076 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.216e-05/0.4039, allocations: 104.9 kB / 1.077 GB, free: 1.906 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.485e-05/0.4039, allocations: 104.9 kB / 1.077 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.895e-05/0.404, allocations: 176.3 kB / 1.077 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.4041, allocations: 192.2 kB / 1.077 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.414e-05/0.4041, allocations: 180.3 kB / 1.077 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-05/0.4042, allocations: 176.3 kB / 1.077 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.4043, allocations: 315.7 kB / 1.078 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/0.4044, allocations: 193.9 kB / 1.078 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.712e-05/0.4045, allocations: 180.2 kB / 1.078 GB, free: 336 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.472e-05/0.4046, allocations: 109 kB / 1.078 GB, free: 220 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.4047, allocations: 180.2 kB / 1.078 GB, free: 32 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.6687/1.073, allocations: 101.6 kB / 1.078 GB, free: 22.66 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001054/1.074, allocations: 101.6 kB / 1.078 GB, free: 22.59 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.81e-07/1.074, allocations: 0 / 1.078 GB, free: 22.59 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001151/1.075, allocations: 270.7 kB / 1.079 GB, free: 22.59 MB / 0.8419 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.001325/1.076, allocations: 0.5206 MB / 1.079 GB, free: 22.4 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001271/1.076, allocations: 39.45 kB / 1.079 GB, free: 22.37 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.076, allocations: 2.438 kB / 1.079 GB, free: 22.37 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-06/1.076, allocations: 2.969 kB / 1.079 GB, free: 22.37 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/1.077, allocations: 464.3 kB / 1.08 GB, free: 21.93 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/1.077, allocations: 266.4 kB / 1.08 GB, free: 21.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/1.077, allocations: 0.6825 MB / 1.081 GB, free: 21.01 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.248e-05/1.077, allocations: 9.031 kB / 1.081 GB, free: 21 MB / 0.8419 GB Notification: Performance of SimCode: time 5.21e-07/1.077, allocations: 0.6875 kB / 1.081 GB, free: 21 MB / 0.8419 GB Notification: Performance of Templates: time 0.0121/1.089, allocations: 4.635 MB / 1.085 GB, free: 20.62 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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