Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.001617/0.001617, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001719/0.001719, allocations: 173 kB / 23.49 MB, free: 1.059 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.97/0.97, allocations: 177.1 MB / 203.8 MB, free: 5.629 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 2.034/2.034, allocations: 429.5 MB / 0.6736 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] 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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.694e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001668/0.001685, allocations: 1.552 MB / 0.8797 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.002743, allocations: 0.9199 MB / 0.8806 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.323e-05/0.002786, allocations: 0.875 kB / 0.8806 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.002911, allocations: 39.77 kB / 0.8807 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.022e-05/0.002931, allocations: 20.86 kB / 0.8807 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.003251, allocations: 194.6 kB / 0.8809 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.667e-05/0.003318, allocations: 55.61 kB / 0.8809 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 2.546e-05/0.003344, allocations: 4 kB / 0.8809 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.816e-05/0.003402, allocations: 28.56 kB / 0.8809 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.57e-05/0.003417, allocations: 8 kB / 0.881 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.846e-06/0.003426, allocations: 0.5938 kB / 0.881 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/0.003699, allocations: 177.1 kB / 0.8811 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.738e-06/0.003709, allocations: 4 kB / 0.8811 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.003727, allocations: 11.94 kB / 0.8811 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.003896, allocations: 152.1 kB / 0.8813 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003898, allocations: 4 kB / 0.8813 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.92e-07/0.003898, allocations: 1.375 kB / 0.8813 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.003901, allocations: 0 / 0.8813 GB, free: 3.484 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002246/0.004126, allocations: 400.2 kB / 0.8817 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.684e-05/0.004153, allocations: 8.75 kB / 0.8817 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.004197, allocations: 128.1 kB / 0.8818 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.00432, allocations: 248.4 kB / 0.882 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/0.004367, allocations: 240.1 kB / 0.8823 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.653e-05/0.004413, allocations: 242.7 kB / 0.8825 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.028e-05/0.004464, allocations: 153.4 kB / 0.8826 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.004487, allocations: 119.4 kB / 0.8828 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.831e-05/0.004535, allocations: 239.2 kB / 0.883 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.976e-05/0.004585, allocations: 243.5 kB / 0.8832 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.601e-05/0.004641, allocations: 242.4 kB / 0.8834 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002359/0.004877, allocations: 0.5876 MB / 0.884 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.586e-05/0.004963, allocations: 272.8 kB / 0.8843 GB, free: 308 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.004997, allocations: 126.9 kB / 0.8844 GB, free: 176 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.005026, allocations: 123.2 kB / 0.8845 GB, free: 52 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.552e-05/0.005082, allocations: 152.6 kB / 0.8847 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.005083, allocations: 0 / 0.8847 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.302e-05/0.005136, allocations: 33.66 kB / 0.8847 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.005191, allocations: 178.5 kB / 0.8849 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.005302, allocations: 200.3 kB / 0.8851 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.005312, allocations: 29.7 kB / 0.8851 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.005362, allocations: 139.8 kB / 0.8852 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.005365, allocations: 0 / 0.8852 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.005389, allocations: 23.38 kB / 0.8852 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.005485, allocations: 0.4923 MB / 0.8857 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-06/0.005495, allocations: 4 kB / 0.8857 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.005502, allocations: 0 / 0.8857 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.355e-05/0.005526, allocations: 15.69 kB / 0.8857 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.005527, allocations: 0 / 0.8857 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.623e-05/0.005603, allocations: 45.64 kB / 0.8858 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.005614, allocations: 11.94 kB / 0.8858 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.005625, allocations: 4 kB / 0.8858 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.363e-06/0.005633, allocations: 0 / 0.8858 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.005634, allocations: 0 / 0.8858 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.005638, allocations: 4 kB / 0.8858 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.005653, allocations: 8 kB / 0.8858 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.005657, allocations: 0 / 0.8858 GB, free: 14.64 MB / 0.8542 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.812e-05/0.005735, allocations: 275.8 kB / 0.8861 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.005777, allocations: 156.8 kB / 0.8862 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.005817, allocations: 160.7 kB / 0.8864 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-05/0.005868, allocations: 264.1 kB / 0.8866 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.272e-05/0.00592, allocations: 275.9 kB / 0.8869 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.295e-05/0.005973, allocations: 272 kB / 0.8872 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.006247, allocations: 0.496 MB / 0.8876 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-05/0.006274, allocations: 148.8 kB / 0.8878 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-05/0.006303, allocations: 152.9 kB / 0.8879 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-05/0.006353, allocations: 272.1 kB / 0.8882 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.114e-05/0.006404, allocations: 268 kB / 0.8884 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.753e-05/0.006451, allocations: 268.1 kB / 0.8887 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.977e-05/0.006501, allocations: 268 kB / 0.8889 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.006603, allocations: 455.8 kB / 0.8894 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.006643, allocations: 153.1 kB / 0.8895 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.92e-05/0.006702, allocations: 268.1 kB / 0.8898 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.108e-05/0.006753, allocations: 152.9 kB / 0.8899 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.006804, allocations: 264.1 kB / 0.8902 GB, free: 9.969 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.006835, allocations: 164.8 kB / 0.8903 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.462e-05/0.00688, allocations: 143.2 kB / 0.8905 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.00688, allocations: 0 / 0.8905 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00018/0.00706, allocations: 31.88 kB / 0.8905 GB, free: 9.629 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0001752/0.007235, allocations: 262.3 kB / 0.8908 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.109e-05/0.007296, allocations: 41.39 kB / 0.8908 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.11e-07/0.007297, allocations: 0 / 0.8908 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.007298, allocations: 0 / 0.8908 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.007602, allocations: 0.714 MB / 0.8915 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002102/0.007812, allocations: 269.4 kB / 0.8918 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.951e-05/0.007841, allocations: 63.28 kB / 0.8918 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.195e-05/0.007853, allocations: 0 / 0.8918 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.014e-05/0.007864, allocations: 8.5 kB / 0.8918 GB, free: 8.207 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/0.007864, allocations: 0 / 0.8918 GB, free: 8.207 MB / 0.8542 GB Notification: Performance of Templates: time 0.002509/0.01037, allocations: 1.629 MB / 0.8934 GB, free: 6.637 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.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: 5.002889723982662]