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.001553/0.001553, allocations: 108 kB / 15.61 MB, free: 148 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.001586/0.001586, allocations: 198.2 kB / 16.53 MB, free: 6.66 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.519/1.519, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.918/2.918, allocations: 437 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 72.08 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7075/0.7095, allocations: 151.6 MB / 1.017 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003042/0.7126, allocations: 1.432 MB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004704/0.7173, allocations: 2.903 MB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.7174, allocations: 0 / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.7175, allocations: 3.938 kB / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.262e-05/0.7176, allocations: 19.84 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004294/0.7219, allocations: 1.586 MB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.785e-05/0.722, allocations: 39.73 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.946e-05/0.722, allocations: 11.98 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.467e-05/0.7221, allocations: 15.92 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.392e-05/0.7221, allocations: 19.88 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.7221, allocations: 3.984 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/0.7244, allocations: 1.459 MB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.7244, allocations: 4 kB / 1.025 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.7245, allocations: 15.88 kB / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.726, allocations: 1.127 MB / 1.026 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.7261, allocations: 0 / 1.026 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7261, allocations: 8 kB / 1.026 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.7261, allocations: 0 / 1.026 GB, free: 9.879 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.0006808/0.7268, allocations: 0.5069 MB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.7268, allocations: 12.03 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.767e-05/0.7269, allocations: 80.12 kB / 1.026 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.7271, allocations: 251.5 kB / 1.027 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-05/0.7272, allocations: 166.9 kB / 1.027 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.7273, allocations: 154.9 kB / 1.027 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.591e-05/0.7273, allocations: 105.1 kB / 1.027 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.988e-05/0.7274, allocations: 75.28 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.528e-05/0.7274, allocations: 150.6 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.539e-05/0.7275, allocations: 150.6 kB / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.438e-05/0.7276, allocations: 154.6 kB / 1.028 GB, free: 8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.7279, allocations: 469.9 kB / 1.028 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.656e-05/0.728, allocations: 169.1 kB / 1.028 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.556e-05/0.7281, allocations: 80.14 kB / 1.028 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.7281, allocations: 79.28 kB / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.828e-05/0.7282, allocations: 113.8 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.7282, allocations: 0 / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.159e-05/0.7283, allocations: 37.55 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/0.7284, allocations: 126.7 kB / 1.029 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.7285, allocations: 135.5 kB / 1.029 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.7286, allocations: 25.7 kB / 1.029 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.7286, allocations: 96.12 kB / 1.029 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.7286, allocations: 0 / 1.029 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.7287, allocations: 17.72 kB / 1.029 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.7288, allocations: 322.8 kB / 1.029 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.498e-05/0.7289, allocations: 4 kB / 1.029 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/0.7289, allocations: 4 kB / 1.029 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.948e-05/0.7289, allocations: 16.8 kB / 1.029 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7289, allocations: 0 / 1.029 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001369/0.7291, allocations: 61.47 kB / 1.029 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.7291, allocations: 9.312 kB / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.7291, allocations: 7.938 kB / 1.029 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.7292, allocations: 0 / 1.029 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.7292, allocations: 0 / 1.029 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.7292, allocations: 0 / 1.029 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.942e-05/0.7292, allocations: 11.84 kB / 1.029 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.7292, allocations: 0 / 1.029 GB, free: 6.117 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.0001127/0.7293, allocations: 185.1 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-05/0.7294, allocations: 116.9 kB / 1.03 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.753e-05/0.7295, allocations: 112.9 kB / 1.03 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.979e-05/0.7296, allocations: 180.3 kB / 1.03 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.28e-05/0.7296, allocations: 188.2 kB / 1.03 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.83e-05/0.7297, allocations: 176.3 kB / 1.03 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.73, allocations: 413.2 kB / 1.031 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.442e-05/0.7301, allocations: 112.9 kB / 1.031 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.7301, allocations: 101 kB / 1.031 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.397e-05/0.7302, allocations: 188.2 kB / 1.031 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.329e-05/0.7303, allocations: 176.3 kB / 1.031 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.207e-05/0.7304, allocations: 184.3 kB / 1.031 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-05/0.7305, allocations: 184.2 kB / 1.031 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.7307, allocations: 315.7 kB / 1.032 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.184e-05/0.7307, allocations: 185.9 kB / 1.032 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.505e-05/0.7308, allocations: 184.2 kB / 1.032 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.608e-05/0.7309, allocations: 101 kB / 1.032 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/0.731, allocations: 180.3 kB / 1.032 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/0.7311, allocations: 108.9 kB / 1.032 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.121e-05/0.7311, allocations: 104.5 kB / 1.033 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7311, allocations: 0 / 1.033 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000771/0.7319, allocations: 279.8 kB / 1.033 GB, free: 2.199 MB / 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.001094/0.733, allocations: 0.5331 MB / 1.033 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.7331, allocations: 45.69 kB / 1.033 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7331, allocations: 0 / 1.033 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.7332, allocations: 0 / 1.033 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.7336, allocations: 472.3 kB / 1.034 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.7339, allocations: 224.3 kB / 1.034 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.7342, allocations: 0.6885 MB / 1.035 GB, free: 180 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.68e-05/0.7343, allocations: 3.938 kB / 1.035 GB, free: 176 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.492e-05/0.7343, allocations: 11.44 kB / 1.035 GB, free: 164 kB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7343, allocations: 0 / 1.035 GB, free: 164 kB / 0.7794 GB Notification: Performance of Templates: time 0.01013/0.7444, allocations: 5.658 MB / 1.04 GB, free: 10.55 MB / 0.795 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=400 -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/jenkins/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