Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001256/0.001256, allocations: 103.7 kB / 16.41 MB, free: 6.5 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.001355/0.001355, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.443/1.443, 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 9.1.3-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 67.89 kB / 0.9516 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136/1.137, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002484/1.14, allocations: 1.43 MB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004215/1.144, allocations: 2.835 MB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/1.144, allocations: 0 / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.763e-05/1.144, allocations: 5.297 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.429e-05/1.144, allocations: 20.41 kB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004356/1.148, allocations: 1.565 MB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/1.148, allocations: 40.41 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/1.148, allocations: 7.453 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.454e-05/1.149, allocations: 11.94 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.751e-05/1.149, allocations: 13.89 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/1.149, allocations: 5.625 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/1.152, allocations: 1.491 MB / 1.096 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/1.152, allocations: 9.797 kB / 1.096 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/1.152, allocations: 15.83 kB / 1.096 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002054/1.154, allocations: 1.071 MB / 1.097 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.154, allocations: 1.062 kB / 1.097 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.435e-06/1.154, allocations: 0 / 1.097 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.444e-06/1.154, allocations: 0 / 1.097 GB, free: 0.9492 MB / 0.8575 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.0006512/1.154, allocations: 0.513 MB / 1.098 GB, free: 476 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/1.154, allocations: 9.219 kB / 1.098 GB, free: 476 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/1.154, allocations: 83.03 kB / 1.098 GB, free: 396 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/1.155, allocations: 257.2 kB / 1.098 GB, free: 104 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-05/1.155, allocations: 152.2 kB / 1.098 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/1.155, allocations: 152 kB / 1.098 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.544e-05/1.155, allocations: 105.8 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/1.155, allocations: 76.12 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.168e-05/1.155, allocations: 150.6 kB / 1.098 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.207e-05/1.155, allocations: 160.2 kB / 1.099 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.176e-05/1.155, allocations: 154.6 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/1.155, allocations: 458.3 kB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.956e-05/1.155, allocations: 170.2 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/1.156, allocations: 84.14 kB / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/1.156, allocations: 75.94 kB / 1.1 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/1.156, allocations: 118.6 kB / 1.1 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.156, allocations: 1.062 kB / 1.1 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 9.68e-05/1.156, allocations: 33.11 kB / 1.1 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/1.156, allocations: 127.4 kB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/1.156, allocations: 137.8 kB / 1.1 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/1.156, allocations: 25.7 kB / 1.1 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/1.156, allocations: 92.34 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/1.156, allocations: 0 / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/1.156, allocations: 19.34 kB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.156, allocations: 320 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.326e-05/1.156, allocations: 2.438 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.682e-05/1.156, allocations: 3.281 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.626e-05/1.156, allocations: 23.27 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.156, allocations: 0 / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001315/1.156, allocations: 45.89 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.157, allocations: 5.438 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/1.157, allocations: 2.219 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/1.157, allocations: 1.062 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.169e-06/1.157, allocations: 5.5 kB / 1.1 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/1.157, allocations: 7.875 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.317e-05/1.157, allocations: 5.031 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/1.157, allocations: 1.062 kB / 1.1 GB, free: 13.41 MB / 0.8731 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.0001057/1.157, allocations: 191.5 kB / 1.101 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.025e-05/1.157, allocations: 117.1 kB / 1.101 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.356e-05/1.157, allocations: 108.2 kB / 1.101 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.531e-05/1.157, allocations: 185.8 kB / 1.101 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-05/1.157, allocations: 177.7 kB / 1.101 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.116e-05/1.157, allocations: 186.3 kB / 1.101 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/1.157, allocations: 412.2 kB / 1.102 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-05/1.157, allocations: 106.9 kB / 1.102 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.642e-05/1.157, allocations: 107.1 kB / 1.102 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.166e-05/1.157, allocations: 177.9 kB / 1.102 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.749e-05/1.158, allocations: 186 kB / 1.102 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.259e-05/1.158, allocations: 182.1 kB / 1.102 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.189e-05/1.158, allocations: 177.7 kB / 1.103 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/1.158, allocations: 310.3 kB / 1.103 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.158e-05/1.158, allocations: 189.5 kB / 1.103 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.819e-05/1.158, allocations: 187 kB / 1.103 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.305e-05/1.158, allocations: 101.5 kB / 1.103 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/1.158, allocations: 182 kB / 1.104 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/1.158, allocations: 103.1 kB / 1.104 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.906e-05/1.158, allocations: 102.5 kB / 1.104 GB, free: 9.84 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.158, allocations: 0.5938 kB / 1.104 GB, free: 9.84 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001102/1.159, allocations: 278.1 kB / 1.104 GB, free: 9.773 MB / 0.8731 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.001244/1.161, allocations: 0.5224 MB / 1.105 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001123/1.161, allocations: 43.59 kB / 1.105 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/1.161, allocations: 0 / 1.105 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.485e-06/1.161, allocations: 0.625 kB / 1.105 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/1.161, allocations: 472.8 kB / 1.105 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/1.162, allocations: 255.3 kB / 1.105 GB, free: 8.77 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/1.162, allocations: 0.6811 MB / 1.106 GB, free: 8.074 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.273e-05/1.162, allocations: 13.81 kB / 1.106 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.162, allocations: 0 / 1.106 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of Templates: time 0.0129/1.175, allocations: 4.612 MB / 1.11 GB, free: 7.602 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches