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.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 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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_10_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_10_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.001684/0.001684, allocations: 104.7 kB / 16.41 MB, free: 6.512 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.001916/0.001916, allocations: 187 kB / 17.34 MB, free: 5.742 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.15 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 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 63.91 kB / 1.019 GB, free: 9.312 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.035, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00262/1.038, allocations: 1.442 MB / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004458/1.042, allocations: 2.903 MB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/1.042, allocations: 0 / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.707e-05/1.042, allocations: 7.922 kB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.849e-05/1.043, allocations: 15.86 kB / 1.172 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00406/1.047, allocations: 1.599 MB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/1.047, allocations: 43.67 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.863e-05/1.047, allocations: 4 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.061e-05/1.047, allocations: 15.92 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 3.334e-05/1.047, allocations: 19.88 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/1.047, allocations: 0 / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/1.049, allocations: 1.533 MB / 1.175 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/1.049, allocations: 4 kB / 1.175 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/1.049, allocations: 27.86 kB / 1.175 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001511/1.051, allocations: 1.113 MB / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/1.051, allocations: 0 / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.255e-06/1.051, allocations: 0 / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.342e-06/1.051, allocations: 0 / 1.176 GB, free: 11.11 MB / 0.9044 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.000653/1.051, allocations: 0.5185 MB / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/1.051, allocations: 8.922 kB / 1.176 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.535e-05/1.052, allocations: 80.22 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/1.052, allocations: 259.4 kB / 1.177 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.798e-05/1.052, allocations: 154.9 kB / 1.177 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.334e-05/1.052, allocations: 150.9 kB / 1.177 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.412e-05/1.052, allocations: 105.1 kB / 1.177 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/1.052, allocations: 75.28 kB / 1.177 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.158e-05/1.052, allocations: 158.5 kB / 1.177 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-05/1.052, allocations: 158.6 kB / 1.177 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.518e-05/1.052, allocations: 150.6 kB / 1.178 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/1.053, allocations: 465.8 kB / 1.178 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/1.053, allocations: 165.1 kB / 1.178 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.39e-05/1.053, allocations: 88.08 kB / 1.178 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.185e-05/1.053, allocations: 75.28 kB / 1.178 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/1.053, allocations: 113.8 kB / 1.179 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.053, allocations: 0 / 1.179 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 7.807e-05/1.053, allocations: 29.69 kB / 1.179 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/1.053, allocations: 130.7 kB / 1.179 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/1.053, allocations: 140.2 kB / 1.179 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/1.053, allocations: 25.7 kB / 1.179 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/1.053, allocations: 96.16 kB / 1.179 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/1.053, allocations: 0 / 1.179 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/1.053, allocations: 17.7 kB / 1.179 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.053, allocations: 314.8 kB / 1.179 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.719e-05/1.053, allocations: 4 kB / 1.179 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.987e-05/1.054, allocations: 15.94 kB / 1.179 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.662e-05/1.054, allocations: 24.88 kB / 1.179 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.054, allocations: 0 / 1.179 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001455/1.054, allocations: 49.55 kB / 1.179 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/1.054, allocations: 8 kB / 1.179 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/1.054, allocations: 0 / 1.179 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/1.054, allocations: 4 kB / 1.179 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.064e-06/1.054, allocations: 0 / 1.179 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/1.054, allocations: 0 / 1.179 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.602e-05/1.054, allocations: 3.938 kB / 1.179 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/1.054, allocations: 3.984 kB / 1.179 GB, free: 7.344 MB / 0.9044 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.0001225/1.054, allocations: 193.1 kB / 1.18 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/1.054, allocations: 108.8 kB / 1.18 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.362e-05/1.054, allocations: 120.9 kB / 1.18 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-05/1.054, allocations: 184.1 kB / 1.18 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.442e-05/1.054, allocations: 184.2 kB / 1.18 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-05/1.054, allocations: 180.3 kB / 1.18 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/1.055, allocations: 413.2 kB / 1.181 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-05/1.055, allocations: 108.9 kB / 1.181 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.722e-05/1.055, allocations: 112.8 kB / 1.181 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.912e-05/1.055, allocations: 176.3 kB / 1.181 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.008e-05/1.055, allocations: 180.2 kB / 1.181 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.086e-05/1.055, allocations: 184.3 kB / 1.181 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.004e-05/1.055, allocations: 176.3 kB / 1.182 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/1.055, allocations: 307.8 kB / 1.182 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/1.055, allocations: 193.9 kB / 1.182 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-05/1.055, allocations: 184.3 kB / 1.182 GB, free: 4.191 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.483e-05/1.056, allocations: 105 kB / 1.182 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/1.056, allocations: 188.2 kB / 1.182 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-05/1.056, allocations: 105 kB / 1.183 GB, free: 3.781 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.643e-05/1.056, allocations: 95.27 kB / 1.183 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/1.056, allocations: 0 / 1.183 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00081/1.057, allocations: 283.8 kB / 1.183 GB, free: 3.41 MB / 0.9044 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.001073/1.058, allocations: 0.538 MB / 1.183 GB, free: 2.863 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001165/1.058, allocations: 45.62 kB / 1.184 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.058, allocations: 4 kB / 1.184 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/1.058, allocations: 0 / 1.184 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/1.058, allocations: 463.7 kB / 1.184 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/1.059, allocations: 267.9 kB / 1.184 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/1.059, allocations: 0.6846 MB / 1.185 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.487e-05/1.059, allocations: 11.44 kB / 1.185 GB, free: 1.336 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/1.059, allocations: 0 / 1.185 GB, free: 1.336 MB / 0.9044 GB Notification: Performance of Templates: time 0.008232/1.067, allocations: 4.741 MB / 1.19 GB, free: 12.6 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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