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.001411/0.001411, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001122/0.001122, allocations: 173 kB / 23.02 MB, free: 1.547 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.9187/0.9187, allocations: 177.2 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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 1.953/1.953, allocations: 429.5 MB / 0.6732 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 178] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.8782 GB, free: 5.082 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/1.969e-05, allocations: 2.312 kB / 0.8782 GB, free: 5.078 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004465/0.004485, allocations: 3.158 MB / 0.8813 GB, free: 1.934 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0031/0.007585, allocations: 2.142 MB / 0.8834 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.00779, allocations: 4 kB / 0.8834 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.009303, allocations: 484.8 kB / 0.8839 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.009611, allocations: 149.3 kB / 0.884 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.009742, allocations: 59.94 kB / 0.8841 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004923/0.01023, allocations: 457.6 kB / 0.8845 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.01045, allocations: 107.8 kB / 0.8846 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000381/0.01083, allocations: 250.6 kB / 0.8849 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.01106, allocations: 139.5 kB / 0.885 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.057e-05/0.01111, allocations: 36 kB / 0.885 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.14e-05/0.01117, allocations: 36 kB / 0.8851 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.01128, allocations: 99.67 kB / 0.8852 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.01145, allocations: 139.6 kB / 0.8853 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.01181, allocations: 290.9 kB / 0.8856 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.01182, allocations: 0 / 0.8856 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.51e-07/0.01182, allocations: 1.344 kB / 0.8856 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.01183, allocations: 0 / 0.8856 GB, free: 13.59 MB / 0.8073 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.0009594/0.01278, allocations: 0.7496 MB / 0.8863 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.01283, allocations: 8.031 kB / 0.8863 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.01293, allocations: 64.61 kB / 0.8864 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.01336, allocations: 302.7 kB / 0.8867 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.01339, allocations: 16.88 kB / 0.8867 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.01343, allocations: 24.38 kB / 0.8867 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.01375, allocations: 153.4 kB / 0.8868 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.01377, allocations: 4.188 kB / 0.8868 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.01379, allocations: 8.375 kB / 0.8869 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.0138, allocations: 11.94 kB / 0.8869 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.01401, allocations: 82.88 kB / 0.8869 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.01501, allocations: 0.6941 MB / 0.8876 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.01517, allocations: 109.9 kB / 0.8877 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.721e-05/0.01524, allocations: 62.31 kB / 0.8878 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.01526, allocations: 4 kB / 0.8878 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.01529, allocations: 45.28 kB / 0.8878 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.01529, allocations: 0 / 0.8878 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0002438/0.01553, allocations: 157.4 kB / 0.888 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.01556, allocations: 55.41 kB / 0.888 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.01586, allocations: 446.7 kB / 0.8885 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.01587, allocations: 29.7 kB / 0.8885 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.01598, allocations: 271.2 kB / 0.8887 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.01602, allocations: 63.44 kB / 0.8888 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.01606, allocations: 39.36 kB / 0.8888 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.01623, allocations: 0.5313 MB / 0.8894 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.71e-05/0.01627, allocations: 23.98 kB / 0.8894 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.783e-05/0.01631, allocations: 31.98 kB / 0.8894 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.147e-05/0.0164, allocations: 77.59 kB / 0.8895 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.0164, allocations: 0 / 0.8895 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001447/0.01655, allocations: 145.4 kB / 0.8896 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.01656, allocations: 8 kB / 0.8896 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.01657, allocations: 3.938 kB / 0.8896 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.01658, allocations: 0 / 0.8896 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.01672, allocations: 51.97 kB / 0.8897 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.01673, allocations: 0 / 0.8897 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.748e-05/0.01678, allocations: 15.83 kB / 0.8897 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.01679, allocations: 8 kB / 0.8897 GB, free: 9.133 MB / 0.8073 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 8.017e-05/0.01687, allocations: 172.5 kB / 0.8899 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.01691, allocations: 39.77 kB / 0.8899 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.198e-05/0.01695, allocations: 35.41 kB / 0.8899 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01695, allocations: 4 kB / 0.89 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01695, allocations: 4 kB / 0.89 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.01696, allocations: 0 / 0.89 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.01719, allocations: 316.2 kB / 0.8903 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.01719, allocations: 0 / 0.8903 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.01732, allocations: 51.97 kB / 0.8903 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.01732, allocations: 0 / 0.8903 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.01734, allocations: 4 kB / 0.8903 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01734, allocations: 4 kB / 0.8903 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01734, allocations: 0 / 0.8903 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.01758, allocations: 333.6 kB / 0.8906 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.01762, allocations: 35.75 kB / 0.8907 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.01765, allocations: 8 kB / 0.8907 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.114e-05/0.01771, allocations: 0 / 0.8907 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.01774, allocations: 19.97 kB / 0.8907 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.01775, allocations: 32 / 0.8907 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002418/0.01799, allocations: 287.1 kB / 0.891 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01799, allocations: 0 / 0.891 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001867/0.01818, allocations: 75.83 kB / 0.891 GB, free: 7.703 MB / 0.8073 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 7.659e-05/0.01825, allocations: 117.3 kB / 0.8912 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.01839, allocations: 79.66 kB / 0.8912 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01839, allocations: 0 / 0.8912 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.39e-05/0.01845, allocations: 59.53 kB / 0.8913 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.01875, allocations: 91.84 kB / 0.8914 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008675/0.01962, allocations: 0.6501 MB / 0.892 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.298e-05/0.01967, allocations: 96.3 kB / 0.8921 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.714e-05/0.01974, allocations: 26.97 kB / 0.8921 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.01979, allocations: 28.48 kB / 0.8922 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of SimCode: time 7.32e-07/0.01979, allocations: 4 kB / 0.8922 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of Templates: time 0.005802/0.02559, allocations: 3.872 MB / 0.8959 GB, free: 2.758 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.998326297849417]