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.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002178/0.002178, allocations: 162.4 kB / 23.02 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.887/2.887, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003291/0.003291, allocations: 63.91 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8336/0.8369, allocations: 181.8 MB / 1.187 GB, free: 16.25 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002342/0.8393, allocations: 1.45 MB / 1.188 GB, free: 15.25 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003847/0.8431, allocations: 2.67 MB / 1.191 GB, free: 13.55 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.8432, allocations: 0 / 1.191 GB, free: 13.55 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.101e-05/0.8432, allocations: 7.391 kB / 1.191 GB, free: 13.55 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.534e-05/0.8433, allocations: 18.72 kB / 1.191 GB, free: 13.54 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004287/0.8475, allocations: 1.633 MB / 1.192 GB, free: 12.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.8476, allocations: 42.8 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.879e-05/0.8477, allocations: 6.047 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.812e-05/0.8477, allocations: 14.02 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.095e-05/0.8477, allocations: 18.36 kB / 1.192 GB, free: 12.74 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.8478, allocations: 1.188 kB / 1.192 GB, free: 12.74 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002712/0.8505, allocations: 1.487 MB / 1.194 GB, free: 12.34 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.022e-05/0.8505, allocations: 5.609 kB / 1.194 GB, free: 12.34 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.8505, allocations: 21.2 kB / 1.194 GB, free: 12.33 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.8524, allocations: 1.099 MB / 1.195 GB, free: 12.05 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8524, allocations: 8.938 kB / 1.195 GB, free: 12.04 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8524, allocations: 0 / 1.195 GB, free: 12.04 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.8525, allocations: 0 / 1.195 GB, free: 12.04 MB / 1.076 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.0006126/0.8531, allocations: 467.1 kB / 1.195 GB, free: 11.63 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.8531, allocations: 13.38 kB / 1.195 GB, free: 11.63 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.8531, allocations: 82.52 kB / 1.196 GB, free: 11.55 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.853e-05/0.8532, allocations: 201.6 kB / 1.196 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.8532, allocations: 152 kB / 1.196 GB, free: 11.19 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.8533, allocations: 156 kB / 1.196 GB, free: 11.04 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.68e-05/0.8533, allocations: 107 kB / 1.196 GB, free: 10.93 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.8533, allocations: 75.28 kB / 1.196 GB, free: 10.85 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.8534, allocations: 155.6 kB / 1.196 GB, free: 10.7 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.8534, allocations: 151.7 kB / 1.196 GB, free: 10.55 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.121e-05/0.8534, allocations: 160.1 kB / 1.197 GB, free: 10.39 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.8536, allocations: 413 kB / 1.197 GB, free: 9.977 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.701e-05/0.8536, allocations: 171 kB / 1.197 GB, free: 9.801 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.472e-05/0.8536, allocations: 81.52 kB / 1.197 GB, free: 9.719 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.8536, allocations: 75.28 kB / 1.197 GB, free: 9.645 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.8537, allocations: 120.4 kB / 1.197 GB, free: 9.52 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.8537, allocations: 0 / 1.197 GB, free: 9.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 6.27e-05/0.8537, allocations: 40.8 kB / 1.197 GB, free: 9.477 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.8537, allocations: 132.8 kB / 1.198 GB, free: 9.336 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.8539, allocations: 128.2 kB / 1.198 GB, free: 9.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.051e-06/0.8539, allocations: 25.7 kB / 1.198 GB, free: 9.199 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.977e-05/0.8539, allocations: 93.08 kB / 1.198 GB, free: 9.109 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.8539, allocations: 0 / 1.198 GB, free: 9.109 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.8539, allocations: 16.75 kB / 1.198 GB, free: 9.094 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.751e-05/0.854, allocations: 318.3 kB / 1.198 GB, free: 8.777 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.247e-05/0.854, allocations: 7.844 kB / 1.198 GB, free: 8.773 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.479e-05/0.854, allocations: 8.203 kB / 1.198 GB, free: 8.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.39e-05/0.854, allocations: 20.02 kB / 1.198 GB, free: 8.754 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.854, allocations: 0 / 1.198 GB, free: 8.754 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001134/0.8542, allocations: 51.05 kB / 1.198 GB, free: 8.715 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.8542, allocations: 11.19 kB / 1.198 GB, free: 8.711 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.8542, allocations: 3.172 kB / 1.198 GB, free: 8.711 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.8542, allocations: 1.703 kB / 1.198 GB, free: 8.711 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.8542, allocations: 0 / 1.198 GB, free: 8.711 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.8542, allocations: 0 / 1.198 GB, free: 8.711 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.18e-05/0.8542, allocations: 1.859 kB / 1.198 GB, free: 8.711 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.8542, allocations: 1.406 kB / 1.198 GB, free: 8.711 MB / 1.076 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 5.909e-05/0.8543, allocations: 192.9 kB / 1.198 GB, free: 8.516 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.8543, allocations: 116.4 kB / 1.199 GB, free: 8.398 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.8544, allocations: 112.9 kB / 1.199 GB, free: 8.281 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/0.8544, allocations: 182.5 kB / 1.199 GB, free: 8.098 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.026e-05/0.8544, allocations: 182.5 kB / 1.199 GB, free: 7.914 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/0.8544, allocations: 178.1 kB / 1.199 GB, free: 7.734 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.8545, allocations: 369.3 kB / 1.2 GB, free: 7.348 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.8545, allocations: 103.3 kB / 1.2 GB, free: 7.242 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.31e-05/0.8546, allocations: 107 kB / 1.2 GB, free: 7.133 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-05/0.8546, allocations: 178.2 kB / 1.2 GB, free: 6.953 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.8546, allocations: 189.5 kB / 1.2 GB, free: 6.762 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.108e-05/0.8546, allocations: 182.8 kB / 1.2 GB, free: 6.578 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.972e-05/0.8546, allocations: 178.1 kB / 1.2 GB, free: 6.398 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.114e-05/0.8547, allocations: 313.2 kB / 1.201 GB, free: 6.078 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.8547, allocations: 107 kB / 1.201 GB, free: 5.969 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.8548, allocations: 187 kB / 1.201 GB, free: 5.781 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.62e-05/0.8548, allocations: 106.8 kB / 1.201 GB, free: 5.672 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.8548, allocations: 182.3 kB / 1.201 GB, free: 5.488 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.8549, allocations: 107 kB / 1.201 GB, free: 5.379 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.454e-05/0.8549, allocations: 97.67 kB / 1.201 GB, free: 5.301 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8549, allocations: 5.406 kB / 1.201 GB, free: 5.297 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009997/0.8559, allocations: 298.8 kB / 1.202 GB, free: 5.219 MB / 1.076 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.001065/0.857, allocations: 0.5502 MB / 1.202 GB, free: 4.941 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.247e-05/0.8571, allocations: 40.03 kB / 1.202 GB, free: 4.906 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8571, allocations: 4 kB / 1.202 GB, free: 4.902 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.8571, allocations: 5.188 kB / 1.202 GB, free: 4.898 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.8574, allocations: 461.6 kB / 1.203 GB, free: 4.449 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.8577, allocations: 240 kB / 1.203 GB, free: 4.234 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.401e-05/0.8577, allocations: 66.39 kB / 1.203 GB, free: 4.164 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.288e-05/0.8577, allocations: 0.6562 kB / 1.203 GB, free: 4.164 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.168e-05/0.8577, allocations: 14.56 kB / 1.203 GB, free: 4.152 MB / 1.076 GB Notification: Performance of SimCode: time 4.3e-07/0.8577, allocations: 1.094 kB / 1.203 GB, free: 4.152 MB / 1.076 GB Notification: Performance of Templates: time 0.01141/0.8691, allocations: 5.869 MB / 1.209 GB, free: 3.688 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.828735660994425]