Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0009021/0.0009022, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.001025/0.001025, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 223.3 MB / 240 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.579/2.579, allocations: 390.9 MB / 0.666 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003594, allocations: 12 kB / 0.8154 GB, free: 13.52 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7957/0.7961, allocations: 142.4 MB / 0.9545 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001256/0.7974, allocations: 1.143 MB / 0.9556 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003253/0.8007, allocations: 2.653 MB / 0.9582 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.355e-05/0.8007, allocations: 1.531 kB / 0.9582 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.8008, allocations: 11.92 kB / 0.9582 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.284e-05/0.8008, allocations: 9.297 kB / 0.9582 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00308/0.8039, allocations: 1.262 MB / 0.9595 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.358e-05/0.804, allocations: 44.17 kB / 0.9595 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.034e-05/0.8041, allocations: 10.69 kB / 0.9595 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.334e-05/0.8041, allocations: 12.19 kB / 0.9595 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.36e-05/0.8042, allocations: 10.81 kB / 0.9595 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.8042, allocations: 1.375 kB / 0.9595 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.8066, allocations: 1.253 MB / 0.9608 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.8066, allocations: 5.078 kB / 0.9608 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.8066, allocations: 33.45 kB / 0.9608 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.8077, allocations: 0.6983 MB / 0.9615 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.8077, allocations: 0 / 0.9615 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8077, allocations: 4 kB / 0.9615 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.8077, allocations: 1.219 kB / 0.9615 GB, free: 2.766 MB / 0.7169 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.0004937/0.8082, allocations: 0.514 MB / 0.962 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.8082, allocations: 10.12 kB / 0.962 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.8083, allocations: 80.5 kB / 0.9621 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.201e-05/0.8084, allocations: 251.1 kB / 0.9623 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.8084, allocations: 158.5 kB / 0.9625 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.8084, allocations: 160.3 kB / 0.9626 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.954e-05/0.8085, allocations: 101 kB / 0.9627 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.8085, allocations: 80.02 kB / 0.9628 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.8085, allocations: 154.5 kB / 0.9629 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.8086, allocations: 155.7 kB / 0.9631 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.024e-05/0.8086, allocations: 150.6 kB / 0.9632 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.8088, allocations: 470.4 kB / 0.9637 GB, free: 464 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.643e-05/0.8088, allocations: 166.5 kB / 0.9638 GB, free: 288 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.749e-05/0.8089, allocations: 80.14 kB / 0.9639 GB, free: 204 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.8089, allocations: 75.28 kB / 0.964 GB, free: 128 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.8089, allocations: 115.2 kB / 0.9641 GB, free: 4 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.8089, allocations: 0 / 0.9641 GB, free: 4 kB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001119/0.809, allocations: 37.34 kB / 0.9641 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.8091, allocations: 130.5 kB / 0.9642 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.8092, allocations: 134.4 kB / 0.9644 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.8092, allocations: 29.7 kB / 0.9644 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.8093, allocations: 86.83 kB / 0.9645 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.8093, allocations: 4 kB / 0.9645 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.8093, allocations: 0 / 0.9645 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.8094, allocations: 321.2 kB / 0.9648 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.152e-05/0.8095, allocations: 2.594 kB / 0.9648 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.805e-05/0.8095, allocations: 7.938 kB / 0.9648 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.727e-05/0.8095, allocations: 4.688 kB / 0.9648 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.8095, allocations: 0 / 0.9648 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001312/0.8097, allocations: 51.67 kB / 0.9649 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.8097, allocations: 5.125 kB / 0.9649 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.8097, allocations: 15.2 kB / 0.9649 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.8097, allocations: 1.25 kB / 0.9649 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.8097, allocations: 0 / 0.9649 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.8098, allocations: 3.953 kB / 0.9649 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.294e-05/0.8098, allocations: 0.9062 kB / 0.9649 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.8098, allocations: 2.062 kB / 0.9649 GB, free: 15.2 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.115e-05/0.8099, allocations: 186.2 kB / 0.9651 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.81, allocations: 108.4 kB / 0.9652 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.457e-05/0.81, allocations: 122.9 kB / 0.9653 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.212e-05/0.8101, allocations: 177.4 kB / 0.9655 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.062e-05/0.8102, allocations: 177.7 kB / 0.9656 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.852e-05/0.8103, allocations: 188.2 kB / 0.9658 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.8105, allocations: 416.8 kB / 0.9662 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.964e-05/0.8106, allocations: 108.9 kB / 0.9663 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.8106, allocations: 106.2 kB / 0.9664 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.026e-05/0.8107, allocations: 177.4 kB / 0.9666 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.874e-05/0.8108, allocations: 185.3 kB / 0.9668 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.08e-05/0.8109, allocations: 177.5 kB / 0.9669 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.4e-05/0.8109, allocations: 185.6 kB / 0.9671 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.8111, allocations: 312 kB / 0.9674 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/0.8112, allocations: 184.3 kB / 0.9676 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.415e-05/0.8113, allocations: 181.4 kB / 0.9677 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.252e-05/0.8113, allocations: 106.3 kB / 0.9678 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.8114, allocations: 185.3 kB / 0.968 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.8115, allocations: 106 kB / 0.9681 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.834e-05/0.8115, allocations: 109.8 kB / 0.9682 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8115, allocations: 0 / 0.9682 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008631/0.8124, allocations: 280.6 kB / 0.9685 GB, free: 11.52 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000994/0.8134, allocations: 0.5004 MB / 0.969 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.8135, allocations: 38.23 kB / 0.969 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8135, allocations: 4.062 kB / 0.969 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.8135, allocations: 1.531 kB / 0.969 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.814, allocations: 0.5222 MB / 0.9695 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.8143, allocations: 257.9 kB / 0.9698 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.8146, allocations: 0.6854 MB / 0.9705 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.566e-05/0.8146, allocations: 1.094 kB / 0.9705 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.203e-05/0.8146, allocations: 8.75 kB / 0.9705 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.8146, allocations: 0 / 0.9705 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of Templates: time 0.01053/0.8252, allocations: 5.607 MB / 0.9759 GB, free: 6.832 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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