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.001462/0.001462, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.001595/0.001595, allocations: 161.7 kB / 23.55 MB, free: 0.8672 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.531/1.531, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.807/2.807, allocations: 359 MB / 0.6048 GB, free: 10.96 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 1.754e-06/1.754e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.151e-05/4.326e-05, allocations: 10.97 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005405/0.005448, allocations: 2.872 MB / 0.7892 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004239/0.009687, allocations: 1.96 MB / 0.7912 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004114/0.0101, allocations: 4 kB / 0.7912 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001918/0.01202, allocations: 471.5 kB / 0.7916 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005519/0.01257, allocations: 157 kB / 0.7918 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.01276, allocations: 61.02 kB / 0.7918 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007634/0.01353, allocations: 469.5 kB / 0.7923 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/0.0138, allocations: 104.8 kB / 0.7924 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005045/0.01431, allocations: 247.4 kB / 0.7926 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.01459, allocations: 137.2 kB / 0.7927 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.881e-05/0.01466, allocations: 32 kB / 0.7928 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.038e-05/0.01474, allocations: 36 kB / 0.7928 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.01489, allocations: 95.67 kB / 0.7929 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.01511, allocations: 143.6 kB / 0.793 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007414/0.01585, allocations: 0.534 MB / 0.7935 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.01586, allocations: 4.688 kB / 0.7936 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.613e-06/0.01586, allocations: 0 / 0.7936 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.01588, allocations: 0.5 kB / 0.7936 GB, free: 5.484 MB / 0.7448 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.001409/0.01729, allocations: 0.639 MB / 0.7942 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.01734, allocations: 9.406 kB / 0.7942 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.0175, allocations: 60.66 kB / 0.7942 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000733/0.01824, allocations: 325 kB / 0.7946 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.01827, allocations: 20.88 kB / 0.7946 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.762e-05/0.01833, allocations: 20.38 kB / 0.7946 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/0.01885, allocations: 197.2 kB / 0.7948 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.01886, allocations: 1.031 kB / 0.7948 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.01889, allocations: 8.375 kB / 0.7948 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.0189, allocations: 12.75 kB / 0.7948 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004489/0.01935, allocations: 166.8 kB / 0.795 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.02076, allocations: 0.65 MB / 0.7956 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.02112, allocations: 147.3 kB / 0.7957 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.02137, allocations: 100.8 kB / 0.7958 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.02139, allocations: 4 kB / 0.7958 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.02143, allocations: 34.56 kB / 0.7959 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.02143, allocations: 0 / 0.7959 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0007181/0.02215, allocations: 264.5 kB / 0.7961 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.0222, allocations: 51.41 kB / 0.7962 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008501/0.02305, allocations: 397.7 kB / 0.7966 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.02308, allocations: 29.7 kB / 0.7966 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.02327, allocations: 204.4 kB / 0.7968 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.823e-05/0.02336, allocations: 63.44 kB / 0.7968 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.189e-05/0.02343, allocations: 39.08 kB / 0.7969 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.02364, allocations: 342.8 kB / 0.7972 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.02381, allocations: 56.59 kB / 0.7973 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.02396, allocations: 62.52 kB / 0.7973 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.02428, allocations: 134.6 kB / 0.7974 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.02428, allocations: 3.938 kB / 0.7974 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004573/0.02474, allocations: 209.1 kB / 0.7976 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.02476, allocations: 4 kB / 0.7976 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.02477, allocations: 3.984 kB / 0.7977 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.02479, allocations: 4.656 kB / 0.7977 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.02506, allocations: 53.38 kB / 0.7977 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.02507, allocations: 3.938 kB / 0.7977 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.02522, allocations: 23.81 kB / 0.7977 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.02524, allocations: 11.66 kB / 0.7977 GB, free: 1.055 MB / 0.7448 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.0002023/0.02544, allocations: 157.8 kB / 0.7979 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-05/0.02551, allocations: 35.77 kB / 0.7979 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.231e-05/0.0256, allocations: 43.39 kB / 0.798 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.0256, allocations: 4 kB / 0.798 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.02561, allocations: 0 / 0.798 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.02561, allocations: 0 / 0.798 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.02603, allocations: 281 kB / 0.7982 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.02604, allocations: 0 / 0.7982 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/0.02633, allocations: 56.84 kB / 0.7983 GB, free: 460 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.02633, allocations: 0 / 0.7983 GB, free: 460 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.02635, allocations: 13 kB / 0.7983 GB, free: 448 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.02636, allocations: 0 / 0.7983 GB, free: 448 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.02636, allocations: 4 kB / 0.7983 GB, free: 444 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007399/0.0271, allocations: 383.5 kB / 0.7987 GB, free: 48 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.99e-05/0.0272, allocations: 43.78 kB / 0.7987 GB, free: 4 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.02724, allocations: 0 / 0.7987 GB, free: 4 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.02743, allocations: 9.047 kB / 0.7987 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.02749, allocations: 15.91 kB / 0.7987 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.0275, allocations: 8.5 kB / 0.7988 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003957/0.0279, allocations: 287.2 kB / 0.799 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.0279, allocations: 0.5938 kB / 0.799 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003655/0.02827, allocations: 77.2 kB / 0.7991 GB, free: 15.61 MB / 0.7605 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.0001843/0.02845, allocations: 107.2 kB / 0.7992 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004166/0.02887, allocations: 147.8 kB / 0.7993 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.02887, allocations: 0 / 0.7993 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.02905, allocations: 67.91 kB / 0.7994 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/0.02965, allocations: 84.53 kB / 0.7995 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.0312, allocations: 0.6967 MB / 0.8002 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.03146, allocations: 194.2 kB / 0.8004 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001406/0.0316, allocations: 30.97 kB / 0.8004 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.037e-05/0.03168, allocations: 24.5 kB / 0.8004 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of SimCode: time 8.32e-07/0.03168, allocations: 0 / 0.8004 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of Templates: time 0.01006/0.04174, allocations: 3.676 MB / 0.804 GB, free: 10.69 MB / 0.7605 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] 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: 8.029431881965138]