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.0009107/0.0009107, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009111/0.0009111, allocations: 173 kB / 23.5 MB, free: 1.055 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.8935/0.8935, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.942/1.942, allocations: 429.5 MB / 0.6736 GB, free: 4.059 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.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.503e-06/1.503e-06, allocations: 0 / 0.8783 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.2e-05, allocations: 8.844 kB / 0.8783 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002275/0.002297, allocations: 1.425 MB / 0.8797 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.003921, allocations: 1.091 MB / 0.8807 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.003959, allocations: 1.125 kB / 0.8807 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.003979, allocations: 3.938 kB / 0.8807 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.758e-05/0.004027, allocations: 3.938 kB / 0.8808 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000646/0.004673, allocations: 233.5 kB / 0.881 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.99e-05/0.004743, allocations: 35.8 kB / 0.881 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.004781, allocations: 1.844 kB / 0.881 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.004891, allocations: 23.92 kB / 0.881 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.714e-05/0.004938, allocations: 11.97 kB / 0.881 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.004951, allocations: 0 / 0.881 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005648/0.005515, allocations: 408.8 kB / 0.8814 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.00553, allocations: 7.938 kB / 0.8814 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.005555, allocations: 4 kB / 0.8814 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.005945, allocations: 252.4 kB / 0.8817 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.00595, allocations: 7.938 kB / 0.8817 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.725e-06/0.005953, allocations: 0 / 0.8817 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.005957, allocations: 0.6562 kB / 0.8817 GB, free: 3.078 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.0004467/0.006404, allocations: 419.9 kB / 0.8821 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.006447, allocations: 13.62 kB / 0.8821 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.006485, allocations: 0.9375 kB / 0.8821 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.98e-05/0.006585, allocations: 112.6 kB / 0.8822 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.006599, allocations: 4.359 kB / 0.8822 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.006609, allocations: 6.938 kB / 0.8822 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.7e-05/0.006696, allocations: 38.25 kB / 0.8823 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.006703, allocations: 192 / 0.8823 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.006713, allocations: 384 / 0.8823 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.006723, allocations: 3.938 kB / 0.8823 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.77e-05/0.006761, allocations: 15.92 kB / 0.8823 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.006906, allocations: 116.7 kB / 0.8824 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.963e-05/0.006986, allocations: 41.03 kB / 0.8824 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/0.007016, allocations: 19.75 kB / 0.8825 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004102/0.007426, allocations: 94.3 kB / 0.8825 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.00745, allocations: 37.89 kB / 0.8826 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.007451, allocations: 1.031 kB / 0.8826 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001563/0.007607, allocations: 53.62 kB / 0.8826 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.007639, allocations: 55.34 kB / 0.8827 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.192e-05/0.007721, allocations: 169.9 kB / 0.8828 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.007733, allocations: 29.7 kB / 0.8829 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.37e-05/0.007777, allocations: 138.8 kB / 0.883 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.007807, allocations: 15.84 kB / 0.883 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.007838, allocations: 19.38 kB / 0.883 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.007966, allocations: 496.1 kB / 0.8835 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/0.007982, allocations: 7.984 kB / 0.8835 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.493e-05/0.007997, allocations: 4 kB / 0.8835 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.994e-05/0.008037, allocations: 19.69 kB / 0.8835 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.008039, allocations: 0 / 0.8835 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.716e-05/0.008116, allocations: 61.58 kB / 0.8836 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.008127, allocations: 4 kB / 0.8836 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.008133, allocations: 4 kB / 0.8836 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.008145, allocations: 0 / 0.8836 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.008237, allocations: 15.98 kB / 0.8836 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.008243, allocations: 3.938 kB / 0.8836 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.008262, allocations: 336 / 0.8836 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.008268, allocations: 4 kB / 0.8836 GB, free: 0.8984 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 6.513e-05/0.008333, allocations: 152.6 kB / 0.8838 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.008344, allocations: 8 kB / 0.8838 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.008451, allocations: 65.59 kB / 0.8838 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.008453, allocations: 4 kB / 0.8839 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.008457, allocations: 3.938 kB / 0.8839 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.00846, allocations: 0 / 0.8839 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.253e-05/0.008542, allocations: 120.6 kB / 0.884 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.008543, allocations: 4 kB / 0.884 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.112e-05/0.008595, allocations: 11.98 kB / 0.884 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.008596, allocations: 4 kB / 0.884 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.008603, allocations: 4 kB / 0.884 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.008605, allocations: 0 / 0.884 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008606, allocations: 0 / 0.884 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.607e-05/0.008692, allocations: 92.31 kB / 0.8841 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.0087, allocations: 7.953 kB / 0.8841 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.008713, allocations: 3.984 kB / 0.8841 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.452e-05/0.008727, allocations: 0 / 0.8841 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.008745, allocations: 0 / 0.8841 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.008753, allocations: 7.938 kB / 0.8841 GB, free: 352 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.134e-05/0.008794, allocations: 131.2 kB / 0.8842 GB, free: 220 kB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.008794, allocations: 3.938 kB / 0.8842 GB, free: 216 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002404/0.009035, allocations: 43.81 kB / 0.8843 GB, free: 172 kB / 0.8386 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.0002303/0.009265, allocations: 167 kB / 0.8844 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.466e-05/0.00935, allocations: 23.67 kB / 0.8845 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.009351, allocations: 0 / 0.8845 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.265e-05/0.009374, allocations: 27.61 kB / 0.8845 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.009534, allocations: 5.172 kB / 0.8845 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005331/0.01007, allocations: 138.3 kB / 0.8846 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.367e-05/0.0101, allocations: 59.3 kB / 0.8847 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.865e-05/0.01013, allocations: 7.453 kB / 0.8847 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.26e-05/0.01015, allocations: 12.5 kB / 0.8847 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of SimCode: time 3.61e-07/0.01015, allocations: 0 / 0.8847 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of Templates: time 0.00359/0.01374, allocations: 1.295 MB / 0.886 GB, free: 14.45 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: 4.926721910014749]