Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002491/0.002491, 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.003036/0.003036, allocations: 157.3 kB / 23.55 MB, free: 0.8633 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.589/1.589, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.952/2.952, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.866e-06/2.866e-06, allocations: 0 / 0.7864 GB, free: 11.63 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.471e-05/3.757e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.63 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005982/0.00602, allocations: 3.083 MB / 0.7895 GB, free: 8.543 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004126/0.01015, allocations: 2.134 MB / 0.7915 GB, free: 6.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003684/0.01051, allocations: 4 kB / 0.7915 GB, free: 6.406 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.01244, allocations: 488.4 kB / 0.792 GB, free: 5.93 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005941/0.01303, allocations: 160 kB / 0.7922 GB, free: 5.773 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.01326, allocations: 56.47 kB / 0.7922 GB, free: 5.719 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008241/0.01408, allocations: 466.1 kB / 0.7927 GB, free: 5.262 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.01433, allocations: 96.72 kB / 0.7928 GB, free: 5.164 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005536/0.01489, allocations: 251.4 kB / 0.793 GB, free: 4.918 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003321/0.01522, allocations: 148.3 kB / 0.7931 GB, free: 4.773 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.14e-05/0.01529, allocations: 32 kB / 0.7932 GB, free: 4.742 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.038e-05/0.01538, allocations: 36.53 kB / 0.7932 GB, free: 4.707 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002912/0.01567, allocations: 97.05 kB / 0.7933 GB, free: 4.613 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002828/0.01596, allocations: 147.6 kB / 0.7934 GB, free: 4.469 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008089/0.01676, allocations: 0.5334 MB / 0.794 GB, free: 3.934 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.01677, allocations: 0 / 0.794 GB, free: 3.934 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.81e-07/0.01677, allocations: 1.188 kB / 0.794 GB, free: 3.934 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.365e-05/0.01679, allocations: 0 / 0.794 GB, free: 3.934 MB / 0.698 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.001589/0.01838, allocations: 0.7702 MB / 0.7947 GB, free: 3.129 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.01843, allocations: 12.02 kB / 0.7947 GB, free: 3.117 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.01859, allocations: 64.66 kB / 0.7948 GB, free: 3.055 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000652/0.01924, allocations: 324.3 kB / 0.7951 GB, free: 2.715 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.01927, allocations: 12.88 kB / 0.7951 GB, free: 2.703 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.01932, allocations: 24.38 kB / 0.7951 GB, free: 2.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004462/0.01977, allocations: 189.9 kB / 0.7953 GB, free: 2.492 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.01978, allocations: 4.125 kB / 0.7953 GB, free: 2.488 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.01981, allocations: 12.38 kB / 0.7953 GB, free: 2.477 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.01982, allocations: 8.906 kB / 0.7953 GB, free: 2.469 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.0202, allocations: 149.9 kB / 0.7955 GB, free: 2.324 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.02174, allocations: 0.8063 MB / 0.7963 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.02209, allocations: 162.9 kB / 0.7964 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.02231, allocations: 102.2 kB / 0.7965 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.02233, allocations: 4 kB / 0.7965 GB, free: 1.207 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.02237, allocations: 37.39 kB / 0.7966 GB, free: 1.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.02237, allocations: 0 / 0.7966 GB, free: 1.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0006227/0.023, allocations: 239.5 kB / 0.7968 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.02306, allocations: 59.34 kB / 0.7968 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006756/0.02373, allocations: 498.8 kB / 0.7973 GB, free: 356 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.02376, allocations: 34.77 kB / 0.7973 GB, free: 316 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.02402, allocations: 279.2 kB / 0.7976 GB, free: 32 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.02412, allocations: 67.59 kB / 0.7977 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.464e-05/0.0242, allocations: 47.86 kB / 0.7977 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003291/0.02453, allocations: 0.5475 MB / 0.7983 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.02468, allocations: 48.53 kB / 0.7983 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.0248, allocations: 51.72 kB / 0.7984 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.02507, allocations: 135.6 kB / 0.7985 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.02507, allocations: 0 / 0.7985 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004033/0.02548, allocations: 207.8 kB / 0.7987 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.02549, allocations: 4.812 kB / 0.7987 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.0255, allocations: 0 / 0.7987 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/0.02553, allocations: 0.6562 kB / 0.7987 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.02579, allocations: 51.97 kB / 0.7987 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.02579, allocations: 5.719 kB / 0.7987 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.02593, allocations: 15.83 kB / 0.7988 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.02595, allocations: 12 kB / 0.7988 GB, free: 14.82 MB / 0.7136 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.0002013/0.02615, allocations: 199.9 kB / 0.799 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/0.02623, allocations: 43.75 kB / 0.799 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.884e-05/0.02631, allocations: 39.41 kB / 0.799 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.02632, allocations: 0 / 0.799 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.02632, allocations: 0 / 0.799 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.02633, allocations: 0 / 0.799 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005535/0.02688, allocations: 364.3 kB / 0.7994 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.02688, allocations: 0 / 0.7994 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.02715, allocations: 51.97 kB / 0.7994 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.02715, allocations: 0.9375 kB / 0.7994 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.02717, allocations: 0 / 0.7994 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.02717, allocations: 7.938 kB / 0.7994 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.02717, allocations: 1.094 kB / 0.7994 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000688/0.02786, allocations: 420.4 kB / 0.7998 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-05/0.02796, allocations: 35.77 kB / 0.7999 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.028, allocations: 4 kB / 0.7999 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.02814, allocations: 9.109 kB / 0.7999 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.0282, allocations: 11.98 kB / 0.7999 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.02821, allocations: 4 kB / 0.7999 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004265/0.02864, allocations: 331.9 kB / 0.8002 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.02864, allocations: 0 / 0.8002 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005093/0.02915, allocations: 80.33 kB / 0.8003 GB, free: 13.2 MB / 0.7136 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.0001807/0.02933, allocations: 107.9 kB / 0.8004 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003898/0.02972, allocations: 147.2 kB / 0.8005 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.02972, allocations: 0 / 0.8005 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.02989, allocations: 84.94 kB / 0.8006 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00059/0.03048, allocations: 89.05 kB / 0.8007 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.03194, allocations: 0.6873 MB / 0.8014 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.03217, allocations: 186.2 kB / 0.8016 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001254/0.0323, allocations: 30.95 kB / 0.8016 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.66e-05/0.03237, allocations: 28.5 kB / 0.8016 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of SimCode: time 1.153e-06/0.03237, allocations: 0 / 0.8016 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of Templates: time 0.2847/0.317, allocations: 3.659 MB / 0.8052 GB, free: 8.273 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.712051138980314]