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.001728/0.001728, allocations: 110.4 kB / 16.41 MB, free: 6.496 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.001736/0.001737, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.525/1.525, 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.649/2.649, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.89 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.86/0.8619, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00255/0.8645, allocations: 1.443 MB / 1.169 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004467/0.869, allocations: 2.911 MB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.8691, allocations: 0 / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/0.8691, allocations: 3.938 kB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.327e-05/0.8692, allocations: 15.84 kB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003749/0.873, allocations: 1.592 MB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.378e-05/0.8731, allocations: 43.75 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.8731, allocations: 7.984 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 2.672e-05/0.8732, allocations: 11.94 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 3.067e-05/0.8732, allocations: 15.88 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.8732, allocations: 0 / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/0.8754, allocations: 1.537 MB / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.8754, allocations: 3.984 kB / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.8755, allocations: 15.88 kB / 1.175 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.8769, allocations: 1.123 MB / 1.176 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8769, allocations: 4 kB / 1.176 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8769, allocations: 4 kB / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.8769, allocations: 0 / 1.176 GB, free: 11.12 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.0006179/0.8776, allocations: 0.5246 MB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.8776, allocations: 12.92 kB / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.8777, allocations: 80.17 kB / 1.177 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.8779, allocations: 255.5 kB / 1.177 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.804e-05/0.8779, allocations: 154.9 kB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/0.878, allocations: 154.9 kB / 1.177 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.886e-05/0.8781, allocations: 105.1 kB / 1.177 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/0.8781, allocations: 75.28 kB / 1.177 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.636e-05/0.8782, allocations: 154.5 kB / 1.177 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.01e-05/0.8783, allocations: 150.6 kB / 1.178 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.222e-05/0.8783, allocations: 154.6 kB / 1.178 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.8787, allocations: 461.9 kB / 1.178 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.8788, allocations: 173.1 kB / 1.178 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.104e-05/0.8788, allocations: 84.08 kB / 1.178 GB, free: 8.465 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.8789, allocations: 79.28 kB / 1.178 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/0.8789, allocations: 113.8 kB / 1.179 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 3.115e-06/0.8789, allocations: 3.984 kB / 1.179 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 7.912e-05/0.879, allocations: 33.66 kB / 1.179 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.8791, allocations: 126.7 kB / 1.179 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.8793, allocations: 136.6 kB / 1.179 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.8793, allocations: 29.64 kB / 1.179 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.8793, allocations: 104.1 kB / 1.179 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.8794, allocations: 0 / 1.179 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.8794, allocations: 17.72 kB / 1.179 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.8795, allocations: 318.8 kB / 1.179 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.858e-05/0.8796, allocations: 11.98 kB / 1.179 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.597e-05/0.8796, allocations: 7.938 kB / 1.179 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.899e-05/0.8796, allocations: 12.86 kB / 1.179 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8796, allocations: 0 / 1.179 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001216/0.8798, allocations: 49.7 kB / 1.179 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.8798, allocations: 8 kB / 1.179 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/0.8798, allocations: 7.984 kB / 1.179 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.8798, allocations: 0 / 1.179 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.8798, allocations: 0 / 1.179 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.8799, allocations: 0 / 1.179 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.8799, allocations: 7.953 kB / 1.179 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-06/0.8799, allocations: 0 / 1.179 GB, free: 7.348 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.0001107/0.88, allocations: 189.1 kB / 1.18 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/0.8801, allocations: 116.9 kB / 1.18 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.903e-05/0.8802, allocations: 120.8 kB / 1.18 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.772e-05/0.8802, allocations: 180.2 kB / 1.18 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.519e-05/0.8803, allocations: 176.3 kB / 1.18 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.869e-05/0.8804, allocations: 180.3 kB / 1.18 GB, free: 6.352 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.8807, allocations: 417.2 kB / 1.181 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.892e-05/0.8807, allocations: 108.9 kB / 1.181 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.688e-05/0.8808, allocations: 108.9 kB / 1.181 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.771e-05/0.8809, allocations: 180.3 kB / 1.181 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.032e-05/0.881, allocations: 180.2 kB / 1.181 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.433e-05/0.881, allocations: 176.3 kB / 1.181 GB, free: 5.113 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.023e-05/0.8811, allocations: 184.3 kB / 1.182 GB, free: 4.926 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.8813, allocations: 311.8 kB / 1.182 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.324e-05/0.8814, allocations: 189.9 kB / 1.182 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.264e-05/0.8815, allocations: 184.2 kB / 1.182 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-05/0.8816, allocations: 101 kB / 1.182 GB, free: 4.094 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.323e-05/0.8817, allocations: 184.2 kB / 1.183 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/0.8817, allocations: 105 kB / 1.183 GB, free: 3.797 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.727e-05/0.8818, allocations: 105.6 kB / 1.183 GB, free: 3.695 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8818, allocations: 0 / 1.183 GB, free: 3.695 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007331/0.8825, allocations: 291 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.001064/0.8836, allocations: 0.5424 MB / 1.184 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.8837, allocations: 45.58 kB / 1.184 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.8837, allocations: 0 / 1.184 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.8838, 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.0004272/0.8842, allocations: 467.7 kB / 1.184 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.8845, allocations: 246 kB / 1.184 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.8849, allocations: 0.6807 MB / 1.185 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.268e-05/0.8849, allocations: 0 / 1.185 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.55e-05/0.8849, allocations: 11.44 kB / 1.185 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.8849, allocations: 4 kB / 1.185 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of Templates: time 0.009989/0.8949, allocations: 5.62 MB / 1.19 GB, free: 11.78 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 -s cvode -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,Rb,Rgb,Rgg1,Rgg2,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x