Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.0008709/0.0008709, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00133/0.0022, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001278/0.001278, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001637/0.002916, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9915/0.9915, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1072/1.099, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.29/2.29, allocations: 446.7 MB / 0.6745 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2433/2.533, allocations: 145.9 MB / 0.817 GB, free: 4.191 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.787e-06/3.787e-06, allocations: 4 kB / 0.8183 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.624e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00453/0.004556, allocations: 3.147 MB / 0.8214 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.00788, allocations: 2.179 MB / 0.8235 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003226/0.008203, allocations: 4 kB / 0.8235 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.009699, allocations: 0.4937 MB / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004318/0.01013, allocations: 146.7 kB / 0.8242 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.01028, allocations: 59.94 kB / 0.8242 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005248/0.01081, allocations: 469.6 kB / 0.8247 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.01102, allocations: 100.5 kB / 0.8248 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005072/0.01153, allocations: 332.3 kB / 0.8251 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.01174, allocations: 135.6 kB / 0.8252 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.546e-05/0.01178, allocations: 32 kB / 0.8252 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.475e-05/0.01185, allocations: 36 kB / 0.8253 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.01196, allocations: 87.72 kB / 0.8254 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.0121, allocations: 119.8 kB / 0.8255 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.01251, allocations: 275 kB / 0.8257 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.81e-05/0.01253, allocations: 0 / 0.8257 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.543e-06/0.01253, allocations: 4 kB / 0.8257 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.963e-05/0.01255, allocations: 0 / 0.8257 GB, free: 11.2 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009272/0.01348, allocations: 0.6819 MB / 0.8264 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.01352, allocations: 12.62 kB / 0.8264 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.26e-05/0.01359, allocations: 40.89 kB / 0.8265 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.01396, allocations: 259.9 kB / 0.8267 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.01398, allocations: 16.88 kB / 0.8267 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.01402, allocations: 20.38 kB / 0.8267 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.01426, allocations: 149.3 kB / 0.8269 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.01427, allocations: 192 / 0.8269 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.01429, allocations: 12.38 kB / 0.8269 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.0143, allocations: 7.938 kB / 0.8269 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.01442, allocations: 53.47 kB / 0.827 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007201/0.01514, allocations: 456 kB / 0.8274 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.01529, allocations: 78.52 kB / 0.8275 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.832e-05/0.01536, allocations: 46.81 kB / 0.8275 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.01538, allocations: 7.938 kB / 0.8275 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.0154, allocations: 38.56 kB / 0.8276 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 2.625e-06/0.01541, allocations: 0 / 0.8276 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0002269/0.01563, allocations: 112.7 kB / 0.8277 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.01567, allocations: 55.41 kB / 0.8277 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.01594, allocations: 315.4 kB / 0.828 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.01595, allocations: 25.7 kB / 0.828 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.01603, allocations: 169.3 kB / 0.8282 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.035e-05/0.01609, allocations: 63.42 kB / 0.8283 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.01615, allocations: 37.69 kB / 0.8283 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.01626, allocations: 354.7 kB / 0.8286 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.153e-05/0.01629, allocations: 12 kB / 0.8286 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.01633, allocations: 23.92 kB / 0.8287 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.4e-05/0.01641, allocations: 52.27 kB / 0.8287 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01641, allocations: 0 / 0.8287 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001501/0.01656, allocations: 105.5 kB / 0.8288 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.01658, allocations: 12 kB / 0.8288 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01659, allocations: 0 / 0.8288 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.0166, allocations: 0 / 0.8288 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.01698, allocations: 86.64 kB / 0.8289 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.01698, allocations: 4 kB / 0.8289 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.462e-05/0.01708, allocations: 15.89 kB / 0.8289 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.01708, allocations: 3.984 kB / 0.8289 GB, free: 7.781 MB / 0.8073 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001012/0.01719, allocations: 128.7 kB / 0.8291 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.01723, allocations: 19.98 kB / 0.8291 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.201e-05/0.01729, allocations: 43.33 kB / 0.8291 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.0173, allocations: 4 kB / 0.8291 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.0173, allocations: 3.938 kB / 0.8291 GB, free: 7.57 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01731, allocations: 0 / 0.8291 GB, free: 7.57 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.01757, allocations: 177.7 kB / 0.8293 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01758, allocations: 0 / 0.8293 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.01786, allocations: 83.92 kB / 0.8294 GB, free: 7.297 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.01792, allocations: 35.75 kB / 0.8294 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.01792, allocations: 3.938 kB / 0.8294 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.01794, allocations: 8 kB / 0.8294 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.01794, allocations: 0 / 0.8294 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.01794, allocations: 0 / 0.8294 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.01821, allocations: 231.8 kB / 0.8296 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.01825, allocations: 11.92 kB / 0.8297 GB, free: 7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.01836, allocations: 11.98 kB / 0.8297 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.0184, allocations: 12.02 kB / 0.8297 GB, free: 6.977 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.01841, allocations: 0 / 0.8297 GB, free: 6.977 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001393/0.01855, allocations: 132.7 kB / 0.8298 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.01855, allocations: 0 / 0.8298 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000267/0.01881, allocations: 79.78 kB / 0.8299 GB, free: 6.77 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001273/0.01894, allocations: 84.42 kB / 0.83 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001496/0.01909, allocations: 72.75 kB / 0.83 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/0.0191, allocations: 4 kB / 0.83 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.665e-05/0.01916, allocations: 44.78 kB / 0.8301 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.01958, allocations: 115.9 kB / 0.8302 GB, free: 6.438 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005287/0.02486, allocations: 0.6392 MB / 0.8308 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.565e-05/0.02495, allocations: 100.6 kB / 0.8309 GB, free: 5.656 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001507/0.0251, allocations: 34.95 kB / 0.8309 GB, free: 5.625 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.0253, allocations: 117.3 kB / 0.8311 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of SimCode: time 1.372e-06/0.0253, allocations: 0 / 0.8311 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of Templates: time 0.008782/0.03408, allocations: 4.473 MB / 0.8354 GB, free: 1.223 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.098489800468087]