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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009605/0.0009606, allocations: 92.39 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 180.4 kB / 16.92 MB, free: 6.652 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.616/1.616, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.878/2.878, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004006, allocations: 12 kB / 0.8736 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8896/0.8901, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002057/0.8922, allocations: 1.156 MB / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005357/0.8976, allocations: 2.912 MB / 1.028 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.8977, allocations: 0 / 1.028 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.8977, allocations: 0 / 1.028 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.943e-05/0.8978, allocations: 15.86 kB / 1.028 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004209/0.902, allocations: 1.37 MB / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.286e-05/0.9021, allocations: 39.69 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.11e-05/0.9022, allocations: 7.984 kB / 1.029 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.339e-05/0.9022, allocations: 15.91 kB / 1.029 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.152e-05/0.9022, allocations: 15.94 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.9023, allocations: 4 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002566/0.9048, allocations: 1.423 MB / 1.031 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.9049, allocations: 3.938 kB / 1.031 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.358e-05/0.9049, allocations: 53.56 kB / 1.031 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.9063, allocations: 0.7661 MB / 1.031 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.9063, allocations: 0 / 1.031 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.574e-06/0.9064, allocations: 4 kB / 1.031 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.9064, allocations: 0 / 1.031 GB, free: 8.078 MB / 0.7794 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.0009198/0.9073, allocations: 0.5085 MB / 1.032 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.9073, allocations: 8.031 kB / 1.032 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.835e-05/0.9074, allocations: 80.22 kB / 1.032 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.9076, allocations: 255.6 kB / 1.032 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.886e-05/0.9077, allocations: 150.9 kB / 1.032 GB, free: 7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.903e-05/0.9077, allocations: 154.9 kB / 1.032 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.164e-05/0.9078, allocations: 113 kB / 1.033 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.417e-05/0.9079, allocations: 75.28 kB / 1.033 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.741e-05/0.9079, allocations: 150.6 kB / 1.033 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.821e-05/0.908, allocations: 154.6 kB / 1.033 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.804e-05/0.908, allocations: 150.6 kB / 1.033 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.9084, allocations: 469.8 kB / 1.034 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.565e-05/0.9085, allocations: 169.1 kB / 1.034 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.9085, allocations: 84.14 kB / 1.034 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.026e-05/0.9086, allocations: 75.28 kB / 1.034 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.668e-05/0.9087, allocations: 125.8 kB / 1.034 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.9087, allocations: 0 / 1.034 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.819e-05/0.9088, allocations: 25.7 kB / 1.034 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.9088, allocations: 126.7 kB / 1.034 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.909, allocations: 143.5 kB / 1.034 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.909, allocations: 25.7 kB / 1.034 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.9091, allocations: 92.08 kB / 1.034 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.9091, allocations: 0 / 1.034 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.9091, allocations: 17.7 kB / 1.034 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.9093, allocations: 314.8 kB / 1.035 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.958e-05/0.9093, allocations: 4 kB / 1.035 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.857e-05/0.9093, allocations: 7.984 kB / 1.035 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.296e-05/0.9094, allocations: 16.84 kB / 1.035 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9094, allocations: 4.031 kB / 1.035 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001358/0.9095, allocations: 45.64 kB / 1.035 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.9095, allocations: 8 kB / 1.035 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.9096, allocations: 0 / 1.035 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.9096, allocations: 4 kB / 1.035 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.9096, allocations: 7.875 kB / 1.035 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.9096, allocations: 0 / 1.035 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/0.9096, allocations: 3.906 kB / 1.035 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.9097, allocations: 3.984 kB / 1.035 GB, free: 4.336 MB / 0.7794 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.0001177/0.9098, allocations: 189.2 kB / 1.035 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.9099, allocations: 104.9 kB / 1.035 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.5e-05/0.9099, allocations: 112.9 kB / 1.035 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.269e-05/0.91, allocations: 180.2 kB / 1.035 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.796e-05/0.9101, allocations: 180.2 kB / 1.036 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.304e-05/0.9101, allocations: 184.2 kB / 1.036 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.9104, allocations: 409.3 kB / 1.036 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.796e-05/0.9104, allocations: 120.9 kB / 1.036 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.279e-05/0.9105, allocations: 101 kB / 1.036 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.827e-05/0.9106, allocations: 184.3 kB / 1.036 GB, free: 2.484 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.9107, allocations: 180.2 kB / 1.037 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.666e-05/0.9107, allocations: 184.3 kB / 1.037 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.531e-05/0.9108, allocations: 180.2 kB / 1.037 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.911, allocations: 307.7 kB / 1.037 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.946e-05/0.9111, allocations: 193.9 kB / 1.037 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.9112, allocations: 180.3 kB / 1.038 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.9113, allocations: 104.9 kB / 1.038 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/0.9113, allocations: 184.2 kB / 1.038 GB, free: 0.9102 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-05/0.9114, allocations: 105 kB / 1.038 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.596e-05/0.9115, allocations: 97.3 kB / 1.038 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9115, allocations: 0 / 1.038 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0009655/0.9124, allocations: 279.8 kB / 1.038 GB, free: 444 kB / 0.7794 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.001457/0.9139, allocations: 0.5291 MB / 1.039 GB, free: 15.89 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.914, allocations: 37.7 kB / 1.039 GB, free: 15.85 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.914, allocations: 3.938 kB / 1.039 GB, free: 15.84 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.081e-06/0.914, allocations: 4 kB / 1.039 GB, free: 15.84 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.9145, allocations: 0.5324 MB / 1.039 GB, free: 15.3 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.9149, allocations: 278.8 kB / 1.04 GB, free: 15 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.9152, allocations: 0.6848 MB / 1.04 GB, free: 14.29 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.643e-05/0.9152, allocations: 11.44 kB / 1.04 GB, free: 14.28 MB / 0.795 GB Notification: Performance of SimCode: time 1.483e-06/0.9152, allocations: 0 / 1.04 GB, free: 14.28 MB / 0.795 GB Notification: Performance of Templates: time 0.009616/0.9248, allocations: 4.634 MB / 1.045 GB, free: 9.656 MB / 0.795 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