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.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.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.001428/0.001428, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001574/0.001574, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.51/1.51, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.66/2.66, allocations: 437 MB / 0.7099 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.91 kB / 0.8686 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8331/0.8344, allocations: 151.6 MB / 1.017 GB, free: 2.953 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003612/0.8381, allocations: 1.507 MB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.006263/0.8444, allocations: 2.978 MB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.176e-05/0.8445, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.929e-05/0.8446, allocations: 3.984 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.959e-05/0.8447, allocations: 11.86 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004614/0.8494, allocations: 1.381 MB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.536e-05/0.8495, allocations: 35.8 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.389e-05/0.8495, allocations: 15.97 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.553e-05/0.8496, allocations: 11.94 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.036e-05/0.8496, allocations: 27.8 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.8496, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.8522, allocations: 1.42 MB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.8522, allocations: 4 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.8522, allocations: 23.86 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.8538, allocations: 1.094 MB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.8538, allocations: 0 / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.532e-06/0.8538, allocations: 0 / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.8538, allocations: 4 kB / 1.025 GB, free: 10.43 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.0006493/0.8545, allocations: 0.5146 MB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.8545, allocations: 8.031 kB / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.309e-05/0.8546, allocations: 84.12 kB / 1.026 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.8548, allocations: 251.6 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.479e-05/0.8549, allocations: 150.9 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.645e-05/0.855, allocations: 158.9 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.499e-05/0.855, allocations: 109.1 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.396e-05/0.8551, allocations: 75.28 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.237e-05/0.8552, allocations: 150.6 kB / 1.026 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.845e-05/0.8552, allocations: 154.5 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.901e-05/0.8553, allocations: 150.6 kB / 1.027 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.8557, allocations: 469.9 kB / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.592e-05/0.8558, allocations: 169.1 kB / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.315e-05/0.8558, allocations: 88.12 kB / 1.027 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.8559, allocations: 79.22 kB / 1.027 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.792e-05/0.8559, allocations: 117.8 kB / 1.028 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.856, allocations: 0 / 1.028 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.446e-05/0.856, allocations: 33.55 kB / 1.028 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.8561, allocations: 130.7 kB / 1.028 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.8563, allocations: 132.2 kB / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.8563, allocations: 25.7 kB / 1.028 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.8564, allocations: 84.14 kB / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.8564, allocations: 0 / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.8564, allocations: 29.7 kB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.8566, allocations: 310.8 kB / 1.028 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.672e-05/0.8566, allocations: 8 kB / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.94e-05/0.8566, allocations: 7.984 kB / 1.028 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.235e-05/0.8567, allocations: 8.859 kB / 1.028 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8567, allocations: 0 / 1.028 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001379/0.8568, allocations: 53.48 kB / 1.028 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.8569, allocations: 8 kB / 1.028 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.8569, allocations: 8.047 kB / 1.028 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.8569, allocations: 0 / 1.028 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.428e-06/0.8569, allocations: 4 kB / 1.028 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.8569, allocations: 0 / 1.028 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.943e-05/0.857, allocations: 0 / 1.028 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.857, allocations: 0 / 1.028 GB, free: 6.688 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.000124/0.8571, allocations: 185.1 kB / 1.029 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.812e-05/0.8572, allocations: 112.8 kB / 1.029 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.206e-05/0.8572, allocations: 120.8 kB / 1.029 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.79e-05/0.8573, allocations: 180.2 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.064e-05/0.8574, allocations: 176.3 kB / 1.029 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.138e-05/0.8575, allocations: 188.2 kB / 1.029 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.8578, allocations: 409.2 kB / 1.03 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.655e-05/0.8579, allocations: 116.8 kB / 1.03 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.8579, allocations: 108.9 kB / 1.03 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.1e-05/0.858, allocations: 176.3 kB / 1.03 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.124e-05/0.8581, allocations: 184.2 kB / 1.03 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.152e-05/0.8582, allocations: 180.2 kB / 1.03 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.716e-05/0.8582, allocations: 188.4 kB / 1.031 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.8584, allocations: 315.7 kB / 1.031 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.8586, allocations: 186 kB / 1.031 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.732e-05/0.8586, allocations: 184.2 kB / 1.031 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-05/0.8587, allocations: 104.9 kB / 1.031 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.677e-05/0.8588, allocations: 180.3 kB / 1.032 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.8589, allocations: 108.9 kB / 1.032 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.475e-05/0.859, allocations: 100.3 kB / 1.032 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.859, allocations: 0 / 1.032 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0009031/0.8599, allocations: 283.8 kB / 1.032 GB, free: 2.758 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.00114/0.861, allocations: 0.5175 MB / 1.033 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.8612, allocations: 37.7 kB / 1.033 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.8612, allocations: 4 kB / 1.033 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/0.8612, allocations: 4 kB / 1.033 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.8617, allocations: 0.534 MB / 1.033 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.862, allocations: 234.2 kB / 1.033 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.8623, allocations: 0.6848 MB / 1.034 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.445e-05/0.8624, allocations: 0 / 1.034 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.221e-05/0.8624, allocations: 11.44 kB / 1.034 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.8624, allocations: 4 kB / 1.034 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of Templates: time 0.00994/0.8723, allocations: 5.471 MB / 1.039 GB, free: 11.23 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/jenkins/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