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.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.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.001033/0.001033, allocations: 88.77 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.001384/0.001384, allocations: 186.5 kB / 16.92 MB, free: 6.688 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.485/1.485, allocations: 223.3 MB / 241 MB, free: 5.348 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.85/2.85, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.0003882, allocations: 8 kB / 0.8736 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8186/0.819, allocations: 153.8 MB / 1.024 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001777/0.8208, allocations: 1.162 MB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004993/0.8259, allocations: 2.959 MB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.826, allocations: 0 / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.351e-05/0.826, allocations: 7.938 kB / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.536e-05/0.8261, allocations: 11.91 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004257/0.8304, allocations: 1.382 MB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.8305, allocations: 39.69 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.8305, allocations: 7.984 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.476e-05/0.8306, allocations: 19.91 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.966e-05/0.8306, allocations: 19.88 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.8306, allocations: 0 / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/0.8336, allocations: 1.466 MB / 1.031 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.8337, allocations: 11.94 kB / 1.031 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.965e-05/0.8337, allocations: 45.56 kB / 1.031 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.8352, allocations: 0.7895 MB / 1.031 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.8353, allocations: 0 / 1.031 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8353, allocations: 4 kB / 1.031 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.8353, allocations: 0 / 1.031 GB, free: 7.863 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.0008486/0.8361, allocations: 0.503 MB / 1.032 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.8362, allocations: 16.03 kB / 1.032 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.8363, allocations: 76.22 kB / 1.032 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.8365, allocations: 255.4 kB / 1.032 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.287e-05/0.8365, allocations: 150.9 kB / 1.032 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.367e-05/0.8366, allocations: 154.9 kB / 1.033 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.172e-05/0.8367, allocations: 105.1 kB / 1.033 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/0.8367, allocations: 79.28 kB / 1.033 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.8368, allocations: 150.6 kB / 1.033 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.286e-05/0.8369, allocations: 162.4 kB / 1.033 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.546e-05/0.8369, allocations: 150.6 kB / 1.033 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.8372, allocations: 469.8 kB / 1.034 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.359e-05/0.8373, allocations: 173.1 kB / 1.034 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.865e-05/0.8374, allocations: 80.14 kB / 1.034 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.8374, allocations: 79.22 kB / 1.034 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/0.8375, allocations: 109.8 kB / 1.034 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.8375, allocations: 0 / 1.034 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.039e-05/0.8376, allocations: 33.69 kB / 1.034 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.8376, allocations: 134.7 kB / 1.034 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.8378, allocations: 130.8 kB / 1.034 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.8378, allocations: 25.7 kB / 1.034 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.8379, allocations: 92.14 kB / 1.034 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.8379, allocations: 0 / 1.034 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.8379, allocations: 17.7 kB / 1.035 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.8381, allocations: 314.8 kB / 1.035 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.928e-05/0.8381, allocations: 8 kB / 1.035 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.414e-05/0.8381, allocations: 11.94 kB / 1.035 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.637e-05/0.8382, allocations: 12.84 kB / 1.035 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8382, allocations: 0 / 1.035 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001507/0.8383, allocations: 57.55 kB / 1.035 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.8384, allocations: 4 kB / 1.035 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/0.8384, allocations: 4 kB / 1.035 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/0.8384, allocations: 0 / 1.035 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.783e-06/0.8384, allocations: 0 / 1.035 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.8384, allocations: 0 / 1.035 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.377e-05/0.8385, allocations: 15.98 kB / 1.035 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.8385, allocations: 7.969 kB / 1.035 GB, free: 4.109 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.0001212/0.8386, allocations: 185.8 kB / 1.035 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.238e-05/0.8387, allocations: 112.8 kB / 1.035 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.473e-05/0.8388, allocations: 112.8 kB / 1.035 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.938e-05/0.8389, allocations: 184.2 kB / 1.035 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.109e-05/0.8389, allocations: 184.3 kB / 1.036 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.992e-05/0.839, allocations: 180.4 kB / 1.036 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.8393, allocations: 417.2 kB / 1.036 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.406e-05/0.8393, allocations: 104.9 kB / 1.036 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.8394, allocations: 116.9 kB / 1.036 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.158e-05/0.8394, allocations: 180.3 kB / 1.037 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.03e-05/0.8395, allocations: 180.3 kB / 1.037 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.511e-05/0.8396, allocations: 180.2 kB / 1.037 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.036e-05/0.8396, allocations: 180.3 kB / 1.037 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.8398, allocations: 307.8 kB / 1.037 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.503e-05/0.8399, allocations: 193.9 kB / 1.038 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.27e-05/0.84, allocations: 184.2 kB / 1.038 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.8401, allocations: 101 kB / 1.038 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.8402, allocations: 188.2 kB / 1.038 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.8402, allocations: 105 kB / 1.038 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.553e-05/0.8403, allocations: 97.92 kB / 1.038 GB, free: 480 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8403, allocations: 4 kB / 1.038 GB, free: 476 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0009272/0.8412, allocations: 279.8 kB / 1.039 GB, free: 196 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.0015/0.8427, allocations: 0.5341 MB / 1.039 GB, free: 15.64 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.8428, allocations: 45.62 kB / 1.039 GB, free: 15.59 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8429, allocations: 4.062 kB / 1.039 GB, free: 15.59 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.8429, allocations: 0 / 1.039 GB, free: 15.59 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.8433, allocations: 0.5302 MB / 1.04 GB, free: 15.05 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.8437, allocations: 293.3 kB / 1.04 GB, free: 14.74 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.844, allocations: 0.6809 MB / 1.041 GB, free: 14.03 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.634e-05/0.844, allocations: 11.44 kB / 1.041 GB, free: 14.02 MB / 0.795 GB Notification: Performance of SimCode: time 3.61e-07/0.844, allocations: 0 / 1.041 GB, free: 14.02 MB / 0.795 GB Notification: Performance of Templates: time 0.009618/0.8536, allocations: 4.742 MB / 1.045 GB, free: 9.289 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=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