Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002425/0.002425, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 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.002346/0.002346, allocations: 165.3 kB / 23.55 MB, free: 0.8672 MB / 18.57 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.604/1.604, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.079/3.079, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.8109 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.183e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002902/0.002934, allocations: 1.479 MB / 0.8124 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005494/0.008428, allocations: 2.82 MB / 0.8151 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.008479, allocations: 0 / 0.8151 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.008806, allocations: 7.922 kB / 0.8151 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.715e-05/0.008893, allocations: 15.8 kB / 0.8151 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.004461/0.01335, allocations: 1.647 MB / 0.8167 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.01347, allocations: 43.67 kB / 0.8168 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.945e-05/0.01352, allocations: 9.328 kB / 0.8168 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.946e-05/0.01357, allocations: 19.98 kB / 0.8168 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.56e-05/0.0136, allocations: 11.94 kB / 0.8168 GB, free: 12 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.01362, allocations: 0.7188 kB / 0.8168 GB, free: 12 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002729/0.01635, allocations: 1.49 MB / 0.8183 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.01637, allocations: 7.688 kB / 0.8183 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.01641, allocations: 19.92 kB / 0.8183 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002157/0.01856, allocations: 1.266 MB / 0.8195 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.01857, allocations: 0 / 0.8195 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.234e-06/0.01857, allocations: 0 / 0.8195 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.01858, allocations: 0 / 0.8195 GB, free: 9.219 MB / 0.7761 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.0007806/0.01936, allocations: 0.5644 MB / 0.8201 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.0194, allocations: 12.03 kB / 0.8201 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.01951, allocations: 128 kB / 0.8202 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.01972, allocations: 239.7 kB / 0.8204 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.01985, allocations: 244.8 kB / 0.8207 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.02, allocations: 238.8 kB / 0.8209 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.02011, allocations: 153.4 kB / 0.8211 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.428e-05/0.02017, allocations: 119.4 kB / 0.8212 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.0203, allocations: 242.5 kB / 0.8214 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001241/0.02043, allocations: 243.3 kB / 0.8216 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.02056, allocations: 246.3 kB / 0.8219 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007259/0.02129, allocations: 0.5837 MB / 0.8224 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.02147, allocations: 262.6 kB / 0.8227 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.832e-05/0.02154, allocations: 126.9 kB / 0.8228 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.122e-05/0.02162, allocations: 123.2 kB / 0.8229 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.909e-05/0.02171, allocations: 161.7 kB / 0.8231 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.02171, allocations: 0 / 0.8231 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001039/0.02182, allocations: 42.61 kB / 0.8231 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.02194, allocations: 174.5 kB / 0.8233 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.02215, allocations: 194.9 kB / 0.8235 GB, free: 5.012 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.02217, allocations: 26.58 kB / 0.8235 GB, free: 4.98 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.726e-05/0.02227, allocations: 138.9 kB / 0.8236 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-06/0.02227, allocations: 0 / 0.8236 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.02232, allocations: 29.73 kB / 0.8237 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002746/0.02259, allocations: 0.4884 MB / 0.8241 GB, free: 4.305 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.235e-05/0.02262, allocations: 4 kB / 0.8241 GB, free: 4.301 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.198e-05/0.02264, allocations: 7.984 kB / 0.8241 GB, free: 4.293 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.904e-05/0.02269, allocations: 15.62 kB / 0.8242 GB, free: 4.273 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.02269, allocations: 0 / 0.8242 GB, free: 4.273 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001695/0.02286, allocations: 51.5 kB / 0.8242 GB, free: 4.219 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.02287, allocations: 11.28 kB / 0.8242 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.0229, allocations: 4 kB / 0.8242 GB, free: 4.207 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.02291, allocations: 0 / 0.8242 GB, free: 4.207 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-06/0.02292, allocations: 7.922 kB / 0.8242 GB, free: 4.199 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.02293, allocations: 4.547 kB / 0.8242 GB, free: 4.195 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.02295, allocations: 1.438 kB / 0.8242 GB, free: 4.195 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.02296, allocations: 4 kB / 0.8242 GB, free: 4.191 MB / 0.7761 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.0001839/0.02314, allocations: 275.8 kB / 0.8245 GB, free: 3.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.02326, allocations: 158.6 kB / 0.8247 GB, free: 3.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.773e-05/0.02334, allocations: 148.7 kB / 0.8248 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001426/0.02349, allocations: 272.1 kB / 0.8251 GB, free: 3.328 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001445/0.02363, allocations: 272 kB / 0.8253 GB, free: 3.055 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001478/0.02378, allocations: 276 kB / 0.8256 GB, free: 2.777 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.02414, allocations: 0.496 MB / 0.8261 GB, free: 2.238 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.398e-05/0.02423, allocations: 148.9 kB / 0.8262 GB, free: 2.086 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.554e-05/0.02431, allocations: 148.9 kB / 0.8264 GB, free: 1.934 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001606/0.02447, allocations: 272.2 kB / 0.8266 GB, free: 1.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/0.02463, allocations: 276.1 kB / 0.8269 GB, free: 1.383 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001642/0.02479, allocations: 268 kB / 0.8271 GB, free: 1.113 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001547/0.02495, allocations: 264.1 kB / 0.8274 GB, free: 0.8477 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.02524, allocations: 455.8 kB / 0.8278 GB, free: 384 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.976e-05/0.02534, allocations: 156.8 kB / 0.828 GB, free: 220 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.02553, allocations: 268 kB / 0.8282 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.02566, allocations: 144.9 kB / 0.8284 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.02583, allocations: 287.9 kB / 0.8286 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-05/0.02591, allocations: 144.9 kB / 0.8288 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001088/0.02602, allocations: 143.2 kB / 0.8289 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.01e-07/0.02602, allocations: 4 kB / 0.8289 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0009394/0.02696, allocations: 291 kB / 0.8292 GB, free: 14.93 MB / 0.7917 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.001607/0.02856, allocations: 0.6322 MB / 0.8298 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.0287, allocations: 49.38 kB / 0.8299 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.0287, allocations: 0 / 0.8299 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 4.578e-06/0.02871, allocations: 3.938 kB / 0.8299 GB, free: 14.22 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006148/0.02932, allocations: 0.7078 MB / 0.8305 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.02974, allocations: 277.1 kB / 0.8308 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.34e-05/0.02983, allocations: 75.33 kB / 0.8309 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 1.258e-05/0.02984, allocations: 4 kB / 0.8309 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.02986, allocations: 8.5 kB / 0.8309 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of SimCode: time 6.32e-07/0.02986, allocations: 0 / 0.8309 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of Templates: time 0.01284/0.0427, allocations: 5.987 MB / 0.8367 GB, free: 7.18 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.847622934961691]