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.001268/0.001268, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001492/0.001492, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.9558/0.9558, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.757/1.757, allocations: 377.8 MB / 0.6228 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 0 / 0.9823 GB, free: 0.9102 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.828e-05, allocations: 6.281 kB / 0.9823 GB, free: 0.9023 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003542/0.003571, allocations: 3.806 MB / 0.986 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002203/0.005773, allocations: 2.242 MB / 0.9882 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.005978, allocations: 8 kB / 0.9882 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.007131, allocations: 0.5206 MB / 0.9887 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.007397, allocations: 253.8 kB / 0.9889 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.007554, allocations: 139.8 kB / 0.9891 GB, free: 9.906 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0005276/0.008082, allocations: 0.8476 MB / 0.9899 GB, free: 9.059 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.008358, allocations: 215 kB / 0.9901 GB, free: 8.848 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000407/0.008765, allocations: 467 kB / 0.9905 GB, free: 8.391 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.008984, allocations: 239.3 kB / 0.9908 GB, free: 8.156 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 5.732e-05/0.009042, allocations: 72 kB / 0.9908 GB, free: 8.086 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.181e-05/0.009103, allocations: 76 kB / 0.9909 GB, free: 8.012 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.009228, allocations: 179.4 kB / 0.9911 GB, free: 7.836 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.009387, allocations: 259.4 kB / 0.9913 GB, free: 7.582 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0006437/0.01003, allocations: 0.993 MB / 0.9923 GB, free: 6.586 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.01003, allocations: 4 kB / 0.9923 GB, free: 6.582 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.032e-06/0.01004, allocations: 0 / 0.9923 GB, free: 6.582 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.01004, allocations: 0 / 0.9923 GB, free: 6.582 MB / 0.9011 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.0009062/0.01095, allocations: 0.886 MB / 0.9932 GB, free: 5.66 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.01098, allocations: 8.031 kB / 0.9932 GB, free: 5.652 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.59e-05/0.01106, allocations: 76.47 kB / 0.9932 GB, free: 5.578 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.0115, allocations: 403.5 kB / 0.9936 GB, free: 5.16 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.01153, allocations: 37.38 kB / 0.9937 GB, free: 5.121 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/0.01159, allocations: 52.38 kB / 0.9937 GB, free: 5.07 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.01206, allocations: 427 kB / 0.9941 GB, free: 4.648 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.01208, allocations: 4.188 kB / 0.9941 GB, free: 4.645 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.01211, allocations: 20.38 kB / 0.9941 GB, free: 4.625 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.01212, allocations: 19.88 kB / 0.9942 GB, free: 4.605 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004339/0.01255, allocations: 359.8 kB / 0.9945 GB, free: 4.258 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.01384, allocations: 1.156 MB / 0.9956 GB, free: 3.066 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.01419, allocations: 316.1 kB / 0.9959 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.01451, allocations: 284.7 kB / 0.9962 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.01453, allocations: 4 kB / 0.9962 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.01456, allocations: 47.19 kB / 0.9963 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=42): time 3.316e-06/0.01456, allocations: 0 / 0.9963 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of matching and sorting (n=42): time 0.0006044/0.01517, allocations: 496.6 kB / 0.9967 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.0152, allocations: 63.34 kB / 0.9968 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.01554, allocations: 442 kB / 0.9972 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.01556, allocations: 33.7 kB / 0.9972 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.01568, allocations: 276.5 kB / 0.9975 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.785e-05/0.01577, allocations: 158.6 kB / 0.9977 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.01583, allocations: 58.08 kB / 0.9977 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.01594, allocations: 354.8 kB / 0.9981 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.01609, allocations: 128.6 kB / 0.9982 GB, free: 392 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.01623, allocations: 129.2 kB / 0.9983 GB, free: 264 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.01657, allocations: 294.3 kB / 0.9986 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01657, allocations: 0 / 0.9986 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003944/0.01696, allocations: 392.5 kB / 0.999 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.01698, allocations: 8 kB / 0.999 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01699, allocations: 0 / 0.999 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.017, allocations: 0 / 0.999 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.01728, allocations: 127.8 kB / 0.9991 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.01729, allocations: 11.94 kB / 0.9991 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.61e-05/0.01739, allocations: 27.83 kB / 0.9991 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.0174, allocations: 12 kB / 0.9991 GB, free: 15.39 MB / 0.9167 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.0001462/0.01755, allocations: 193.8 kB / 0.9993 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.475e-05/0.0176, allocations: 51.7 kB / 0.9994 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.166e-05/0.01766, allocations: 52.81 kB / 0.9994 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.01766, allocations: 4 kB / 0.9994 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.01767, allocations: 3.938 kB / 0.9994 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01767, allocations: 7.922 kB / 0.9994 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.01801, allocations: 424.8 kB / 0.9998 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01801, allocations: 0 / 0.9998 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.01829, allocations: 127.8 kB / 1 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.01829, allocations: 0 / 1 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.01831, allocations: 8 kB / 1 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01831, allocations: 0 / 1 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.01831, allocations: 4 kB / 1 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006284/0.01894, allocations: 0.6521 MB / 1.001 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/0.019, allocations: 51.64 kB / 1.001 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.01903, allocations: 19.98 kB / 1.001 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.927e-05/0.01913, allocations: 8 kB / 1.001 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.01918, allocations: 27.89 kB / 1.001 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.01919, allocations: 8 kB / 1.001 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002239/0.01941, allocations: 323.1 kB / 1.001 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01941, allocations: 3.938 kB / 1.001 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002485/0.01966, allocations: 151.6 kB / 1.001 GB, free: 13.25 MB / 0.9167 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.0001132/0.01977, allocations: 111.2 kB / 1.001 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003718/0.02015, allocations: 304 kB / 1.002 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.02015, allocations: 0 / 1.002 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.02032, allocations: 163.8 kB / 1.002 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.0207, allocations: 98.11 kB / 1.002 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.02203, allocations: 1.128 MB / 1.003 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.0222, allocations: 267.2 kB / 1.003 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.695e-05/0.02228, allocations: 36.5 kB / 1.003 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of SimCode: time 4.11e-07/0.02228, allocations: 3.938 kB / 1.003 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of Templates: time 0.005888/0.02817, allocations: 6.72 MB / 1.01 GB, free: 4.414 MB / 0.9167 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 7.07479202747345]