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.001918/0.001918, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002066/0.002066, allocations: 216.5 kB / 22.99 MB, free: 4.945 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.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 3.398/3.398, allocations: 0.5107 GB / 0.8166 GB, free: 17.75 MB / 0.6231 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.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: 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.002113/0.002113, allocations: 65.42 kB / 1.187 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4432/0.4453, allocations: 181.9 MB / 1.365 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005782/0.4511, allocations: 2.86 MB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004056/0.4551, allocations: 1.962 MB / 1.369 GB, free: 8.816 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004687/0.4556, allocations: 8 kB / 1.369 GB, free: 8.809 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002093/0.4577, allocations: 485 kB / 1.37 GB, free: 8.336 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005521/0.4582, allocations: 142.9 kB / 1.37 GB, free: 8.195 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.4584, allocations: 55.95 kB / 1.37 GB, free: 8.141 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005495/0.459, allocations: 441.8 kB / 1.37 GB, free: 7.707 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002532/0.4592, allocations: 103.8 kB / 1.371 GB, free: 7.602 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/0.4595, allocations: 167.4 kB / 1.371 GB, free: 7.438 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.4598, allocations: 159.1 kB / 1.371 GB, free: 7.281 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.485e-05/0.4598, allocations: 36 kB / 1.371 GB, free: 7.246 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.865e-05/0.4599, allocations: 35.94 kB / 1.371 GB, free: 7.211 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.4601, allocations: 95.67 kB / 1.371 GB, free: 7.117 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.4603, allocations: 179.1 kB / 1.371 GB, free: 6.941 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006678/0.4609, allocations: 0.5486 MB / 1.372 GB, free: 6.391 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4609, allocations: 0 / 1.372 GB, free: 6.391 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4609, allocations: 0 / 1.372 GB, free: 6.391 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.461, allocations: 0 / 1.372 GB, free: 6.391 MB / 1.061 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.001207/0.4622, allocations: 0.6368 MB / 1.372 GB, free: 5.723 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.4622, allocations: 8.031 kB / 1.372 GB, free: 5.715 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.631e-05/0.4623, allocations: 52.64 kB / 1.372 GB, free: 5.664 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000641/0.4629, allocations: 312.6 kB / 1.373 GB, free: 5.336 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.463, allocations: 12.81 kB / 1.373 GB, free: 5.324 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/0.463, allocations: 24.38 kB / 1.373 GB, free: 5.301 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004451/0.4635, allocations: 215.5 kB / 1.373 GB, free: 5.082 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.4635, allocations: 0 / 1.373 GB, free: 5.082 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.4635, allocations: 4 kB / 1.373 GB, free: 5.078 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.4635, allocations: 8 kB / 1.373 GB, free: 5.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.4639, allocations: 165.7 kB / 1.373 GB, free: 4.91 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.4651, allocations: 0.6283 MB / 1.374 GB, free: 4.242 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.4654, allocations: 142.6 kB / 1.374 GB, free: 4.094 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.4657, allocations: 108.8 kB / 1.374 GB, free: 3.984 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.4657, allocations: 0 / 1.374 GB, free: 3.984 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.4657, allocations: 38.55 kB / 1.374 GB, free: 3.938 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.4657, allocations: 0 / 1.374 GB, free: 3.938 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.000637/0.4664, allocations: 255.9 kB / 1.374 GB, free: 3.684 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.4664, allocations: 59.34 kB / 1.374 GB, free: 3.613 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005331/0.4669, allocations: 389.7 kB / 1.375 GB, free: 3.223 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.467, allocations: 29.7 kB / 1.375 GB, free: 3.188 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.4672, allocations: 216.3 kB / 1.375 GB, free: 2.973 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.658e-05/0.4672, allocations: 59.44 kB / 1.375 GB, free: 2.914 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/0.4673, allocations: 37.7 kB / 1.375 GB, free: 2.871 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.4675, allocations: 346.8 kB / 1.375 GB, free: 2.523 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.4676, allocations: 55.97 kB / 1.375 GB, free: 2.469 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.4678, allocations: 53.52 kB / 1.375 GB, free: 2.418 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.4681, allocations: 142.5 kB / 1.376 GB, free: 2.277 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4681, allocations: 0 / 1.376 GB, free: 2.277 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004071/0.4685, allocations: 206.7 kB / 1.376 GB, free: 2.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.4685, allocations: 4 kB / 1.376 GB, free: 2.066 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4685, allocations: 4 kB / 1.376 GB, free: 2.062 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.4685, allocations: 0 / 1.376 GB, free: 2.062 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.4688, allocations: 51.91 kB / 1.376 GB, free: 2.012 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.4688, allocations: 0 / 1.376 GB, free: 2.012 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.4689, allocations: 31.88 kB / 1.376 GB, free: 1.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.469, allocations: 4 kB / 1.376 GB, free: 1.977 MB / 1.061 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.0001933/0.4692, allocations: 166.9 kB / 1.376 GB, free: 1.805 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.733e-05/0.4692, allocations: 31.81 kB / 1.376 GB, free: 1.773 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.908e-05/0.4693, allocations: 43.34 kB / 1.376 GB, free: 1.73 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4693, allocations: 3.938 kB / 1.376 GB, free: 1.727 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.4693, allocations: 0 / 1.376 GB, free: 1.727 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4693, allocations: 0 / 1.376 GB, free: 1.727 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/0.4697, allocations: 273.1 kB / 1.376 GB, free: 1.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4697, allocations: 0 / 1.376 GB, free: 1.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.47, allocations: 59.91 kB / 1.376 GB, free: 1.371 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.47, allocations: 0 / 1.376 GB, free: 1.371 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.47, allocations: 4 kB / 1.376 GB, free: 1.367 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.47, allocations: 4 kB / 1.376 GB, free: 1.363 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.47, allocations: 3.938 kB / 1.376 GB, free: 1.359 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006458/0.4706, allocations: 373.2 kB / 1.377 GB, free: 0.9805 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.653e-05/0.4707, allocations: 43.72 kB / 1.377 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.4708, allocations: 12.06 kB / 1.377 GB, free: 0.9258 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.4709, allocations: 7.984 kB / 1.377 GB, free: 0.918 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.471, allocations: 15.92 kB / 1.377 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.471, allocations: 0 / 1.377 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003376/0.4713, allocations: 287.2 kB / 1.377 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4713, allocations: 0 / 1.377 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003276/0.4716, allocations: 79.84 kB / 1.377 GB, free: 0.543 MB / 1.061 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.0001645/0.4718, allocations: 103.2 kB / 1.377 GB, free: 444 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003778/0.4722, allocations: 139.9 kB / 1.377 GB, free: 304 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4722, allocations: 4 kB / 1.377 GB, free: 300 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.4723, allocations: 71.91 kB / 1.378 GB, free: 228 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/0.4729, allocations: 91.38 kB / 1.378 GB, free: 140 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.4744, allocations: 0.785 MB / 1.378 GB, free: 15.32 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.4746, allocations: 186.2 kB / 1.379 GB, free: 15.12 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.927e-05/0.4747, allocations: 23.44 kB / 1.379 GB, free: 15.09 MB / 1.076 GB Notification: Performance of SimCode: time 3.61e-07/0.4747, allocations: 0 / 1.379 GB, free: 15.09 MB / 1.076 GB Notification: Performance of Templates: time 0.007752/0.4824, allocations: 4.354 MB / 1.383 GB, free: 10.77 MB / 1.076 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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: 12.884140537120402]