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.001709/0.001709, allocations: 83.89 kB / 19.76 MB, free: 2.023 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.002088/0.002088, allocations: 156.6 kB / 23.01 MB, free: 4.961 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.423/1.423, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.861/2.861, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 177] 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.002174/0.002174, allocations: 71.83 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7825/0.7846, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003538/0.7882, allocations: 2.876 MB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002367/0.7905, allocations: 1.949 MB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.7907, allocations: 10.31 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.7921, allocations: 477.3 kB / 1.192 GB, free: 12.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.7924, allocations: 146.5 kB / 1.192 GB, free: 12.67 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001163/0.7925, allocations: 61.33 kB / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000387/0.7929, allocations: 442.4 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.7931, allocations: 97.52 kB / 1.193 GB, free: 12.36 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.7933, allocations: 163.4 kB / 1.193 GB, free: 12.28 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.7936, allocations: 166.6 kB / 1.193 GB, free: 12.2 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.807e-05/0.7936, allocations: 38.44 kB / 1.193 GB, free: 12.2 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.674e-05/0.7937, allocations: 34.5 kB / 1.193 GB, free: 12.2 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.7938, allocations: 95.11 kB / 1.193 GB, free: 12.14 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.794, allocations: 173.2 kB / 1.193 GB, free: 12.05 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005779/0.7945, allocations: 0.5457 MB / 1.194 GB, free: 11.86 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7945, allocations: 0 / 1.194 GB, free: 11.86 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7945, allocations: 1.219 kB / 1.194 GB, free: 11.86 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.7945, allocations: 0 / 1.194 GB, free: 11.86 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000943/0.7955, allocations: 0.6411 MB / 1.194 GB, free: 11.37 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.7955, allocations: 10.67 kB / 1.194 GB, free: 11.37 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.586e-05/0.7956, allocations: 49.78 kB / 1.194 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.7961, allocations: 320.5 kB / 1.195 GB, free: 11.09 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.7961, allocations: 17.59 kB / 1.195 GB, free: 11.09 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.7961, allocations: 18.41 kB / 1.195 GB, free: 11.08 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.7965, allocations: 209 kB / 1.195 GB, free: 10.98 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.7965, allocations: 1.062 kB / 1.195 GB, free: 10.98 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.7965, allocations: 10.59 kB / 1.195 GB, free: 10.97 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.7966, allocations: 5.562 kB / 1.195 GB, free: 10.97 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.7969, allocations: 159.7 kB / 1.195 GB, free: 10.92 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009621/0.7979, allocations: 0.6362 MB / 1.196 GB, free: 10.51 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.7982, allocations: 137.1 kB / 1.196 GB, free: 10.45 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.7984, allocations: 108.9 kB / 1.196 GB, free: 10.4 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.7984, allocations: 6.172 kB / 1.196 GB, free: 10.39 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.7984, allocations: 36.38 kB / 1.196 GB, free: 10.35 MB / 1.076 GB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.7984, allocations: 0 / 1.196 GB, free: 10.35 MB / 1.076 GB Notification: Performance of matching and sorting (n=18): time 0.0005712/0.799, allocations: 258.3 kB / 1.196 GB, free: 10.23 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.799, allocations: 58.5 kB / 1.196 GB, free: 10.17 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.7994, allocations: 393.1 kB / 1.197 GB, free: 9.973 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.7994, allocations: 31.44 kB / 1.197 GB, free: 9.938 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.7995, allocations: 207.9 kB / 1.197 GB, free: 9.766 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.7996, allocations: 64.64 kB / 1.197 GB, free: 9.715 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.7996, allocations: 29.61 kB / 1.197 GB, free: 9.691 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.275e-05/0.7997, allocations: 346.7 kB / 1.197 GB, free: 9.363 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.7999, allocations: 53.64 kB / 1.197 GB, free: 9.348 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.8, allocations: 62.86 kB / 1.197 GB, free: 9.324 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.8003, allocations: 136.2 kB / 1.198 GB, free: 9.266 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8003, allocations: 0 / 1.198 GB, free: 9.266 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003669/0.8006, allocations: 204.9 kB / 1.198 GB, free: 9.168 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.8007, allocations: 6.312 kB / 1.198 GB, free: 9.168 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.8007, allocations: 0 / 1.198 GB, free: 9.168 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.8007, allocations: 1.062 kB / 1.198 GB, free: 9.168 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.8009, allocations: 70.58 kB / 1.198 GB, free: 9.148 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.8009, allocations: 5.625 kB / 1.198 GB, free: 9.145 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.8011, allocations: 15.28 kB / 1.198 GB, free: 9.137 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.8011, allocations: 8.188 kB / 1.198 GB, free: 9.133 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 (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.0001195/0.8012, allocations: 160.8 kB / 1.198 GB, free: 8.992 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.8013, allocations: 31.31 kB / 1.198 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.674e-05/0.8013, allocations: 39.98 kB / 1.198 GB, free: 8.953 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.8013, allocations: 6.312 kB / 1.198 GB, free: 8.949 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.8013, allocations: 4.656 kB / 1.198 GB, free: 8.945 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.8014, allocations: 1.812 kB / 1.198 GB, free: 8.945 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.8017, allocations: 262.7 kB / 1.198 GB, free: 8.762 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.8017, allocations: 4 kB / 1.198 GB, free: 8.758 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.8019, allocations: 59.12 kB / 1.198 GB, free: 8.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.8019, allocations: 1.094 kB / 1.198 GB, free: 8.75 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.8019, allocations: 1.125 kB / 1.198 GB, free: 8.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.8019, allocations: 2.109 kB / 1.198 GB, free: 8.75 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.8019, allocations: 3.938 kB / 1.198 GB, free: 8.746 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005416/0.8025, allocations: 378.1 kB / 1.199 GB, free: 8.516 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.8025, allocations: 46.02 kB / 1.199 GB, free: 8.484 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.8026, allocations: 1.766 kB / 1.199 GB, free: 8.484 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.8027, allocations: 10.08 kB / 1.199 GB, free: 8.48 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.8028, allocations: 18.7 kB / 1.199 GB, free: 8.473 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.8028, allocations: 7.766 kB / 1.199 GB, free: 8.469 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002779/0.8031, allocations: 284.9 kB / 1.199 GB, free: 8.324 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8031, allocations: 0 / 1.199 GB, free: 8.324 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003307/0.8034, allocations: 77.31 kB / 1.199 GB, free: 8.309 MB / 1.076 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 8.522e-05/0.8035, allocations: 107 kB / 1.199 GB, free: 8.215 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003758/0.8039, allocations: 138.1 kB / 1.199 GB, free: 8.176 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8039, allocations: 0 / 1.199 GB, free: 8.176 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.804, allocations: 72.5 kB / 1.2 GB, free: 8.156 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.8045, allocations: 82.33 kB / 1.2 GB, free: 8.121 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.8056, allocations: 0.7523 MB / 1.2 GB, free: 7.648 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.8058, allocations: 192.9 kB / 1.201 GB, free: 7.555 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001137/0.8059, allocations: 36.69 kB / 1.201 GB, free: 7.543 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.729e-05/0.806, allocations: 23.66 kB / 1.201 GB, free: 7.535 MB / 1.076 GB Notification: Performance of SimCode: time 6.61e-07/0.806, allocations: 1 kB / 1.201 GB, free: 7.535 MB / 1.076 GB Notification: Performance of Templates: time 0.008384/0.8144, allocations: 3.664 MB / 1.204 GB, free: 7.055 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.574342873995192]