Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.001054/0.001054, 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.001032/0.001032, allocations: 169 kB / 23.02 MB, free: 1.551 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.9191/0.9191, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.005/2.005, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8783 GB, free: 6.211 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.914e-05, allocations: 10.25 kB / 0.8783 GB, free: 6.199 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001709/0.001729, allocations: 1.427 MB / 0.8797 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.002953, allocations: 1.105 MB / 0.8807 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.002979, allocations: 0 / 0.8807 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.176e-05/0.003001, allocations: 5.016 kB / 0.8807 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.408e-05/0.003045, allocations: 7.875 kB / 0.8808 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.003539, allocations: 225.2 kB / 0.881 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.103e-05/0.0036, allocations: 36.88 kB / 0.881 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.003637, allocations: 7.984 kB / 0.881 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.003746, allocations: 15.98 kB / 0.881 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.9e-05/0.003795, allocations: 16.64 kB / 0.881 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.003807, allocations: 0 / 0.881 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004121/0.004219, allocations: 406.7 kB / 0.8814 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.004229, allocations: 4 kB / 0.8814 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.05e-05/0.00425, allocations: 7.984 kB / 0.8814 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.004515, allocations: 251.3 kB / 0.8817 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.004517, allocations: 0 / 0.8817 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004518, allocations: 0 / 0.8817 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.004522, allocations: 0 / 0.8817 GB, free: 2.719 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003365/0.004858, allocations: 419.9 kB / 0.8821 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.004891, allocations: 9.25 kB / 0.8821 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.004922, allocations: 12.88 kB / 0.8821 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.289e-05/0.004995, allocations: 120.5 kB / 0.8822 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.005004, allocations: 1.938 kB / 0.8822 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.005013, allocations: 384 / 0.8822 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.378e-05/0.005087, allocations: 46.19 kB / 0.8823 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.005095, allocations: 192 / 0.8823 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.005103, allocations: 1.469 kB / 0.8823 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.00511, allocations: 3.938 kB / 0.8823 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.745e-05/0.005137, allocations: 4 kB / 0.8823 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001135/0.005251, allocations: 122.2 kB / 0.8824 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.029e-05/0.005321, allocations: 43.09 kB / 0.8824 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/0.005345, allocations: 15.66 kB / 0.8824 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003314/0.005676, allocations: 103.9 kB / 0.8825 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.005694, allocations: 33.39 kB / 0.8826 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.005695, allocations: 0 / 0.8826 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001288/0.005824, allocations: 61.81 kB / 0.8826 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.005847, allocations: 55.34 kB / 0.8827 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.422e-05/0.005912, allocations: 165.9 kB / 0.8828 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.707e-06/0.00592, allocations: 25.7 kB / 0.8829 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.005954, allocations: 130.9 kB / 0.883 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.005978, allocations: 15.84 kB / 0.883 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.006005, allocations: 23.38 kB / 0.883 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.006107, allocations: 496.1 kB / 0.8835 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.006119, allocations: 7.938 kB / 0.8835 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.006131, allocations: 8 kB / 0.8835 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.199e-05/0.006163, allocations: 23.67 kB / 0.8835 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006165, allocations: 4 kB / 0.8835 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.402e-05/0.006219, allocations: 45.66 kB / 0.8836 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.006232, allocations: 8 kB / 0.8836 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.006236, allocations: 0 / 0.8836 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.006248, allocations: 3.984 kB / 0.8836 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.086e-05/0.006329, allocations: 15.94 kB / 0.8836 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.006335, allocations: 3.938 kB / 0.8836 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.343e-05/0.006349, allocations: 4 kB / 0.8836 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.006353, allocations: 0 / 0.8836 GB, free: 0.5273 MB / 0.8386 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 (4): * Single equations (assignments): 4 * 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 5.446e-05/0.006407, allocations: 164.5 kB / 0.8838 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-06/0.006413, allocations: 4 kB / 0.8838 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.79e-05/0.006501, allocations: 60.34 kB / 0.8838 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.006503, allocations: 0 / 0.8838 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.006508, allocations: 3.938 kB / 0.8838 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.00651, allocations: 4 kB / 0.8838 GB, free: 288 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.546e-05/0.006576, allocations: 120.6 kB / 0.884 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.006577, allocations: 0 / 0.884 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/0.006612, allocations: 12 kB / 0.884 GB, free: 120 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.006614, allocations: 0 / 0.884 GB, free: 120 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.006621, allocations: 7.938 kB / 0.884 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.006623, allocations: 7.984 kB / 0.884 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006624, allocations: 0 / 0.884 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.747e-05/0.006701, allocations: 88.38 kB / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.006707, allocations: 3.953 kB / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-06/0.006716, allocations: 4 kB / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.247e-06/0.006726, allocations: 0 / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.345e-05/0.006739, allocations: 0 / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.006742, allocations: 3.938 kB / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.426e-05/0.006776, allocations: 135.2 kB / 0.8842 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.006776, allocations: 0 / 0.8842 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001581/0.006934, allocations: 39.81 kB / 0.8843 GB, free: 15.81 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 (4): * Single equations (assignments): 4 * 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.000171/0.007105, allocations: 172.9 kB / 0.8844 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.384e-05/0.007179, allocations: 27.89 kB / 0.8844 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.00718, allocations: 4 kB / 0.8844 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.385e-05/0.007194, allocations: 11.78 kB / 0.8845 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.007329, allocations: 17.17 kB / 0.8845 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.007576, allocations: 152.3 kB / 0.8846 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.007854, allocations: 55.3 kB / 0.8847 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.432e-05/0.007878, allocations: 7.984 kB / 0.8847 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.007899, allocations: 12.5 kB / 0.8847 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.007899, allocations: 3.938 kB / 0.8847 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of Templates: time 0.002829/0.01073, allocations: 1.275 MB / 0.8859 GB, free: 14.07 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.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.164604309014976]