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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009979/0.0009979, allocations: 99.11 kB / 16.02 MB, free: 76 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.001143/0.001143, allocations: 187.7 kB / 16.92 MB, free: 6.75 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.445/1.445, allocations: 223.3 MB / 241 MB, free: 5.352 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.8/2.8, allocations: 437.8 MB / 0.7128 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003989/0.0003992, allocations: 12 kB / 0.8736 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9275/0.9279, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001775/0.9297, allocations: 1.156 MB / 1.025 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004896/0.9347, allocations: 2.912 MB / 1.028 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.9347, allocations: 0 / 1.028 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.9348, allocations: 3.984 kB / 1.028 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.28e-05/0.9349, allocations: 11.86 kB / 1.028 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004073/0.9389, allocations: 1.366 MB / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.939, allocations: 35.75 kB / 1.029 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.243e-05/0.9391, allocations: 11.97 kB / 1.029 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.9391, allocations: 15.92 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.039e-05/0.9392, allocations: 19.88 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.9392, allocations: 0 / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/0.9417, allocations: 1.423 MB / 1.031 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.9417, allocations: 4 kB / 1.031 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.9418, allocations: 49.56 kB / 1.031 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.9431, allocations: 0.7661 MB / 1.031 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.9431, allocations: 4 kB / 1.031 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9432, allocations: 0 / 1.031 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.9432, allocations: 0 / 1.031 GB, free: 8.062 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.0007519/0.9439, allocations: 0.5068 MB / 1.032 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.944, allocations: 12.03 kB / 1.032 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.768e-05/0.944, allocations: 76.22 kB / 1.032 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.9442, allocations: 253.8 kB / 1.032 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.444e-05/0.9443, allocations: 158.9 kB / 1.032 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.81e-05/0.9443, allocations: 158.9 kB / 1.032 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.119e-05/0.9444, allocations: 105.1 kB / 1.033 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.9444, allocations: 75.28 kB / 1.033 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.037e-05/0.9445, allocations: 150.6 kB / 1.033 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/0.9445, allocations: 150.6 kB / 1.033 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.101e-05/0.9446, allocations: 154.6 kB / 1.033 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.9449, allocations: 469.8 kB / 1.034 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.511e-05/0.945, allocations: 173.1 kB / 1.034 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.945, allocations: 80.14 kB / 1.034 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.945, allocations: 83.22 kB / 1.034 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.9451, allocations: 113.8 kB / 1.034 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.9451, allocations: 0 / 1.034 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.241e-05/0.9452, allocations: 41.61 kB / 1.034 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.9452, allocations: 126.7 kB / 1.034 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.9454, allocations: 129.7 kB / 1.034 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.9454, allocations: 25.7 kB / 1.034 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.9455, allocations: 100.1 kB / 1.034 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-06/0.9455, allocations: 0 / 1.034 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.9455, allocations: 9.719 kB / 1.034 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.9456, allocations: 322.8 kB / 1.035 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.9456, allocations: 0 / 1.035 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.51e-05/0.9457, allocations: 4 kB / 1.035 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.148e-05/0.9457, allocations: 12.86 kB / 1.035 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9457, allocations: 0 / 1.035 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000132/0.9459, allocations: 57.56 kB / 1.035 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.9459, allocations: 13.25 kB / 1.035 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.9459, allocations: 4 kB / 1.035 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.9459, allocations: 0 / 1.035 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.9459, allocations: 0 / 1.035 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.9459, allocations: 3.984 kB / 1.035 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/0.946, allocations: 3.906 kB / 1.035 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.946, allocations: 4 kB / 1.035 GB, free: 4.316 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 9.726e-05/0.9461, allocations: 185.8 kB / 1.035 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.9461, allocations: 112.9 kB / 1.035 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/0.9462, allocations: 112.8 kB / 1.035 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.736e-05/0.9463, allocations: 184.3 kB / 1.035 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.224e-05/0.9463, allocations: 180.2 kB / 1.036 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.186e-05/0.9464, allocations: 180.2 kB / 1.036 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.9466, allocations: 413.3 kB / 1.036 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.116e-05/0.9466, allocations: 116.9 kB / 1.036 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.9467, allocations: 101 kB / 1.036 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-05/0.9467, allocations: 188.2 kB / 1.036 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/0.9468, allocations: 180.3 kB / 1.037 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.047e-05/0.9469, allocations: 176.3 kB / 1.037 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.726e-05/0.9469, allocations: 184.2 kB / 1.037 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.9471, allocations: 311.7 kB / 1.037 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.9471, allocations: 189.9 kB / 1.037 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.161e-05/0.9472, allocations: 176.3 kB / 1.038 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.559e-05/0.9473, allocations: 108.9 kB / 1.038 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.9474, allocations: 184.3 kB / 1.038 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/0.9474, allocations: 108.9 kB / 1.038 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.327e-05/0.9475, allocations: 100.3 kB / 1.038 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9475, allocations: 0 / 1.038 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008401/0.9483, allocations: 279.8 kB / 1.038 GB, free: 412 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.001282/0.9496, allocations: 0.5296 MB / 1.039 GB, free: 15.86 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.145e-05/0.9497, allocations: 37.7 kB / 1.039 GB, free: 15.82 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9497, allocations: 0 / 1.039 GB, free: 15.82 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/0.9497, allocations: 0 / 1.039 GB, free: 15.82 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.9501, allocations: 0.5263 MB / 1.039 GB, free: 15.29 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.9504, allocations: 285.7 kB / 1.04 GB, free: 14.98 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.9507, allocations: 0.6848 MB / 1.04 GB, free: 14.27 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.423e-05/0.9507, allocations: 11.44 kB / 1.04 GB, free: 14.26 MB / 0.795 GB Notification: Performance of SimCode: time 3.61e-07/0.9507, allocations: 4 kB / 1.04 GB, free: 14.25 MB / 0.795 GB Notification: Performance of Templates: time 0.008505/0.9592, allocations: 4.626 MB / 1.045 GB, free: 9.633 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches