Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001779/0.001779, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.002257/0.002257, allocations: 154.9 kB / 23.01 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.866/1.866, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.838/2.838, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [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.002203/0.002203, allocations: 66.25 kB / 0.982 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9807/0.9829, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004346/0.9873, allocations: 3.813 MB / 1.158 GB, free: 30.81 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00302/0.9903, allocations: 2.213 MB / 1.16 GB, free: 29.28 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/0.9905, allocations: 8.938 kB / 1.16 GB, free: 29.28 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.992, allocations: 0.5215 MB / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.9923, allocations: 246.7 kB / 1.161 GB, free: 28.89 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.9925, allocations: 137.5 kB / 1.161 GB, free: 28.8 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005944/0.9931, allocations: 0.8161 MB / 1.162 GB, free: 28.38 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003338/0.9934, allocations: 220.3 kB / 1.162 GB, free: 28.25 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003373/0.9937, allocations: 300 kB / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.9941, allocations: 282.8 kB / 1.162 GB, free: 27.98 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.526e-05/0.9942, allocations: 74.88 kB / 1.162 GB, free: 27.98 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.9943, allocations: 75.94 kB / 1.162 GB, free: 27.98 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.9944, allocations: 177.8 kB / 1.163 GB, free: 27.87 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.9947, allocations: 310.5 kB / 1.163 GB, free: 27.71 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007611/0.9954, allocations: 1 MB / 1.164 GB, free: 27.35 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9954, allocations: 0 / 1.164 GB, free: 27.35 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9954, allocations: 0 / 1.164 GB, free: 27.35 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.836e-05/0.9954, allocations: 0 / 1.164 GB, free: 27.35 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001306/0.9968, allocations: 0.8935 MB / 1.165 GB, free: 26.73 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.9968, allocations: 8.719 kB / 1.165 GB, free: 26.73 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.9969, allocations: 77.34 kB / 1.165 GB, free: 26.69 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005832/0.9975, allocations: 401.6 kB / 1.165 GB, free: 26.39 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.9975, allocations: 36.75 kB / 1.165 GB, free: 26.37 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/0.9976, allocations: 52.47 kB / 1.165 GB, free: 26.36 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006557/0.9982, allocations: 431.1 kB / 1.166 GB, free: 26.16 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.9982, allocations: 0 / 1.166 GB, free: 26.16 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.9983, allocations: 21.69 kB / 1.166 GB, free: 26.15 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.9983, allocations: 11.78 kB / 1.166 GB, free: 26.15 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006338/0.9989, allocations: 365.6 kB / 1.166 GB, free: 26.02 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/1.001, allocations: 1.161 MB / 1.167 GB, free: 25.35 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/1.001, allocations: 322.2 kB / 1.168 GB, free: 25.2 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000412/1.001, allocations: 289.6 kB / 1.168 GB, free: 25.09 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/1.001, allocations: 6.641 kB / 1.168 GB, free: 25.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/1.001, allocations: 41.19 kB / 1.168 GB, free: 25.05 MB / 1.076 GB Notification: Performance of pre-optimization done (n=42): time 1.713e-06/1.001, allocations: 0 / 1.168 GB, free: 25.05 MB / 1.076 GB Notification: Performance of matching and sorting (n=42): time 0.0008845/1.002, allocations: 0.4899 MB / 1.168 GB, free: 24.83 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/1.002, allocations: 57.81 kB / 1.168 GB, free: 24.76 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/1.003, allocations: 436.8 kB / 1.169 GB, free: 24.56 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/1.003, allocations: 40.97 kB / 1.169 GB, free: 24.52 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/1.003, allocations: 275.4 kB / 1.169 GB, free: 24.3 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.476e-05/1.003, allocations: 158.4 kB / 1.169 GB, free: 24.17 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-05/1.003, allocations: 58.47 kB / 1.169 GB, free: 24.13 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.051e-05/1.003, allocations: 359.9 kB / 1.17 GB, free: 23.8 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/1.003, allocations: 123.1 kB / 1.17 GB, free: 23.75 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/1.004, allocations: 129.2 kB / 1.17 GB, free: 23.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/1.004, allocations: 289.6 kB / 1.17 GB, free: 23.57 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.004, allocations: 0 / 1.17 GB, free: 23.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005352/1.005, allocations: 391.2 kB / 1.171 GB, free: 23.39 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/1.005, allocations: 13.31 kB / 1.171 GB, free: 23.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/1.005, allocations: 3.328 kB / 1.171 GB, free: 23.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/1.005, allocations: 6.844 kB / 1.171 GB, free: 23.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/1.005, allocations: 127.5 kB / 1.171 GB, free: 23.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/1.005, allocations: 0 / 1.171 GB, free: 23.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/1.005, allocations: 28 kB / 1.171 GB, free: 23.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/1.005, allocations: 15.17 kB / 1.171 GB, free: 23.34 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 (46): * Single equations (assignments): 46 * 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.0001642/1.006, allocations: 189.2 kB / 1.171 GB, free: 23.18 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/1.006, allocations: 49.5 kB / 1.171 GB, free: 23.15 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.059e-05/1.006, allocations: 64.73 kB / 1.171 GB, free: 23.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/1.006, allocations: 2.875 kB / 1.171 GB, free: 23.11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.006, allocations: 0 / 1.171 GB, free: 23.11 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.006, allocations: 5.219 kB / 1.171 GB, free: 23.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005553/1.006, allocations: 422.4 kB / 1.171 GB, free: 22.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/1.006, allocations: 1.188 kB / 1.171 GB, free: 22.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005822/1.007, allocations: 126.2 kB / 1.172 GB, free: 22.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/1.007, allocations: 1.531 kB / 1.172 GB, free: 22.83 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/1.007, allocations: 10.53 kB / 1.172 GB, free: 22.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/1.007, allocations: 5.75 kB / 1.172 GB, free: 22.82 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.007, allocations: 0 / 1.172 GB, free: 22.82 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/1.008, allocations: 0.647 MB / 1.172 GB, free: 22.46 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/1.008, allocations: 54.17 kB / 1.172 GB, free: 22.43 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.639e-05/1.008, allocations: 10.19 kB / 1.172 GB, free: 22.42 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/1.008, allocations: 16.23 kB / 1.172 GB, free: 22.41 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.298e-05/1.008, allocations: 26.14 kB / 1.172 GB, free: 22.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/1.009, allocations: 7.062 kB / 1.172 GB, free: 22.41 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003415/1.009, allocations: 322.3 kB / 1.173 GB, free: 22.25 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.009, allocations: 1.094 kB / 1.173 GB, free: 22.25 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004178/1.009, allocations: 152 kB / 1.173 GB, free: 22.21 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001156/1.009, allocations: 110 kB / 1.173 GB, free: 22.12 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005996/1.01, allocations: 300.4 kB / 1.173 GB, free: 22.02 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.01, allocations: 0 / 1.173 GB, free: 22.02 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003019/1.01, allocations: 176.8 kB / 1.173 GB, free: 21.95 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/1.011, allocations: 105.2 kB / 1.173 GB, free: 21.91 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/1.013, allocations: 1.194 MB / 1.175 GB, free: 21.18 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/1.013, allocations: 273.5 kB / 1.175 GB, free: 21.07 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001554/1.013, allocations: 44 kB / 1.175 GB, free: 21.06 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.077e-05/1.013, allocations: 37.38 kB / 1.175 GB, free: 21.05 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/1.013, allocations: 0 / 1.175 GB, free: 21.05 MB / 1.076 GB Notification: Performance of Templates: time 0.01143/1.024, allocations: 4.987 MB / 1.18 GB, free: 20.39 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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: 9.629748100996949]