Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001712/0.001712, allocations: 105.1 kB / 16.35 MB, free: 5.824 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.001878/0.001879, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.614/2.614, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 68.62 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3837, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002745/0.3865, allocations: 1.452 MB / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004516/0.391, allocations: 2.848 MB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.3911, allocations: 3.938 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.817e-05/0.3913, allocations: 0 / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.36e-05/0.3913, allocations: 19.8 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004174/0.3955, allocations: 1.559 MB / 1.033 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.55e-05/0.3956, allocations: 39.73 kB / 1.033 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.066e-05/0.3957, allocations: 7.938 kB / 1.033 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.077e-05/0.3957, allocations: 15.92 kB / 1.033 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.964e-05/0.3958, allocations: 11.88 kB / 1.033 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.3958, allocations: 4 kB / 1.033 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/0.398, allocations: 1.486 MB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.398, allocations: 4 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.3981, allocations: 23.88 kB / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.3996, allocations: 1.08 MB / 1.035 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3996, allocations: 0 / 1.035 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.545e-06/0.3997, allocations: 0 / 1.035 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3997, allocations: 0 / 1.035 GB, free: 9.48 MB / 0.8106 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.0006116/0.4003, allocations: 0.5119 MB / 1.036 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.4003, allocations: 12.03 kB / 1.036 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.4004, allocations: 80.12 kB / 1.036 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.4006, allocations: 249.7 kB / 1.036 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.519e-05/0.4007, allocations: 162.9 kB / 1.036 GB, free: 8.391 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.034e-05/0.4007, allocations: 150.9 kB / 1.036 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.722e-05/0.4008, allocations: 105.1 kB / 1.036 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.574e-05/0.4008, allocations: 83.22 kB / 1.036 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/0.4009, allocations: 150.6 kB / 1.037 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.476e-05/0.401, allocations: 154.6 kB / 1.037 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.951e-05/0.401, allocations: 158.5 kB / 1.037 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.4014, allocations: 457.9 kB / 1.037 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.482e-05/0.4015, allocations: 177.2 kB / 1.037 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.4015, allocations: 92.08 kB / 1.038 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.4016, allocations: 75.28 kB / 1.038 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.4016, allocations: 109.8 kB / 1.038 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.4016, allocations: 0 / 1.038 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.839e-05/0.4017, allocations: 37.55 kB / 1.038 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.4018, allocations: 126.7 kB / 1.038 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.4019, allocations: 133.8 kB / 1.038 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.402, allocations: 25.7 kB / 1.038 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.402, allocations: 92.12 kB / 1.038 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/0.402, allocations: 0 / 1.038 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.4021, allocations: 17.72 kB / 1.038 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4022, allocations: 314.8 kB / 1.038 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.478e-05/0.4022, allocations: 11.94 kB / 1.038 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.506e-05/0.4022, allocations: 4 kB / 1.038 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.931e-05/0.4023, allocations: 12.86 kB / 1.038 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4023, allocations: 4.031 kB / 1.038 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001312/0.4024, allocations: 57.56 kB / 1.039 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.4025, allocations: 6.344 kB / 1.039 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.4025, allocations: 4 kB / 1.039 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.4025, allocations: 0 / 1.039 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.4025, allocations: 0 / 1.039 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4025, allocations: 0 / 1.039 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.181e-05/0.4025, allocations: 3.938 kB / 1.039 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.4026, allocations: 4 kB / 1.039 GB, free: 5.73 MB / 0.8106 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.0001111/0.4027, allocations: 197 kB / 1.039 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/0.4028, allocations: 116.8 kB / 1.039 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/0.4028, allocations: 104.9 kB / 1.039 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.954e-05/0.4029, allocations: 180.2 kB / 1.039 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.507e-05/0.403, allocations: 180.3 kB / 1.039 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.152e-05/0.403, allocations: 184.2 kB / 1.039 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.4033, allocations: 417.2 kB / 1.04 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.375e-05/0.4033, allocations: 104.9 kB / 1.04 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.4034, allocations: 104.9 kB / 1.04 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-05/0.4035, allocations: 180.2 kB / 1.04 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.57e-05/0.4035, allocations: 188.2 kB / 1.04 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.634e-05/0.4036, allocations: 184.2 kB / 1.041 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.087e-05/0.4037, allocations: 176.3 kB / 1.041 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.4039, allocations: 311.7 kB / 1.041 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.629e-05/0.404, allocations: 194 kB / 1.041 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.211e-05/0.404, allocations: 180.3 kB / 1.041 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.467e-05/0.4041, allocations: 105 kB / 1.042 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/0.4042, allocations: 184.2 kB / 1.042 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/0.4043, allocations: 101 kB / 1.042 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.198e-05/0.4043, allocations: 107.2 kB / 1.042 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.4043, allocations: 0 / 1.042 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008465/0.4052, allocations: 271.8 kB / 1.042 GB, free: 1.816 MB / 0.8106 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.001031/0.4062, allocations: 0.5324 MB / 1.043 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.4064, allocations: 45.62 kB / 1.043 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4064, allocations: 0 / 1.043 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.4064, allocations: 0 / 1.043 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.4068, allocations: 467.7 kB / 1.043 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.4072, allocations: 232.1 kB / 1.043 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.4075, allocations: 0.6844 MB / 1.044 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.209e-05/0.4075, allocations: 0 / 1.044 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.327e-05/0.4075, allocations: 7.438 kB / 1.044 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.4075, allocations: 4 kB / 1.044 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of Templates: time 0.009988/0.4175, allocations: 5.469 MB / 1.049 GB, free: 10.37 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches