Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001023/0.001023, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001808/0.001808, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 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.9548/0.9548, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.775/1.775, allocations: 377.9 MB / 0.624 GB, free: 8.383 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.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.8121 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.705e-05, allocations: 6.25 kB / 0.8121 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00275/0.002777, allocations: 1.417 MB / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.004078, allocations: 1.076 MB / 0.8145 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-05/0.004119, allocations: 4.531 kB / 0.8145 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.004139, allocations: 1.375 kB / 0.8145 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.469e-05/0.004194, allocations: 7.875 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005943/0.004788, allocations: 233.5 kB / 0.8148 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.254e-05/0.004841, allocations: 35.84 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.004881, allocations: 3.938 kB / 0.8148 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.461e-05/0.004976, allocations: 21.33 kB / 0.8148 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.339e-05/0.005029, allocations: 7.984 kB / 0.8148 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.005042, allocations: 4 kB / 0.8148 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004424/0.005485, allocations: 404 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.0055, allocations: 13.28 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.005519, allocations: 4 kB / 0.8153 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.005792, allocations: 251.3 kB / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.005794, allocations: 0 / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.292e-06/0.005796, allocations: 0.5 kB / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.0058, allocations: 0.5312 kB / 0.8155 GB, free: 13.84 MB / 0.7761 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.0003396/0.006139, allocations: 421.9 kB / 0.8159 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.006176, allocations: 12.03 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.208e-05/0.006198, allocations: 8.891 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.616e-05/0.006264, allocations: 104.6 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.006275, allocations: 4.375 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-06/0.006282, allocations: 6.312 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.143e-05/0.006344, allocations: 34.25 kB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.00635, allocations: 192 / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-06/0.006355, allocations: 384 / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.006359, allocations: 3.938 kB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.568e-05/0.006375, allocations: 15.92 kB / 0.8161 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.974e-05/0.006465, allocations: 101.9 kB / 0.8162 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.608e-05/0.006521, allocations: 39.62 kB / 0.8162 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.006538, allocations: 12.44 kB / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002851/0.006823, allocations: 106.7 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.006842, allocations: 34.17 kB / 0.8164 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.006843, allocations: 0 / 0.8164 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001025/0.006945, allocations: 58.83 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.006967, allocations: 51.41 kB / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.285e-05/0.00703, allocations: 169.8 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.375e-06/0.007038, allocations: 26.55 kB / 0.8166 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.007074, allocations: 130.9 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.007098, allocations: 21.14 kB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.007127, allocations: 23.36 kB / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.00724, allocations: 496.1 kB / 0.8173 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.737e-06/0.007249, allocations: 4 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.668e-06/0.007259, allocations: 9.203 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.71e-05/0.007286, allocations: 27.61 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.007287, allocations: 0 / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 3.933e-05/0.007326, allocations: 43.81 kB / 0.8174 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.007337, allocations: 4 kB / 0.8174 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.00734, allocations: 0 / 0.8174 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.956e-06/0.007349, allocations: 4.031 kB / 0.8174 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.28e-05/0.007402, allocations: 16 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.007405, allocations: 6.5 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.193e-05/0.007416, allocations: 3.938 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.007421, allocations: 3.984 kB / 0.8174 GB, free: 11.7 MB / 0.7761 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.003e-05/0.007481, allocations: 152.6 kB / 0.8176 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/0.007488, allocations: 7.953 kB / 0.8176 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.307e-05/0.007561, allocations: 64.16 kB / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.81e-07/0.007562, allocations: 1.094 kB / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.007563, allocations: 0 / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.007568, allocations: 3.938 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.606e-05/0.007634, allocations: 98.38 kB / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.007635, allocations: 0 / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.681e-05/0.007662, allocations: 12 kB / 0.8177 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.007664, allocations: 4.969 kB / 0.8177 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.007671, allocations: 7.984 kB / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.007672, allocations: 0.5 kB / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.007673, allocations: 1.5 kB / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.751e-05/0.00774, allocations: 100.2 kB / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-06/0.007744, allocations: 0 / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-06/0.007752, allocations: 8 kB / 0.8178 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.007761, allocations: 0.6875 kB / 0.8178 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/0.007772, allocations: 0 / 0.8178 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.007774, allocations: 1.344 kB / 0.8179 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.774e-05/0.007812, allocations: 131.5 kB / 0.818 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007812, allocations: 4 kB / 0.818 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001563/0.007968, allocations: 39.81 kB / 0.818 GB, free: 11.02 MB / 0.7761 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.0001834/0.008152, allocations: 172.4 kB / 0.8182 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.029e-05/0.008212, allocations: 27.55 kB / 0.8182 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.008213, allocations: 0.6562 kB / 0.8182 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.269e-05/0.008226, allocations: 15.69 kB / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/0.008348, allocations: 11.16 kB / 0.8182 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00021/0.008558, allocations: 138.3 kB / 0.8184 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.856e-05/0.008587, allocations: 59.22 kB / 0.8184 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.165e-05/0.008619, allocations: 10.39 kB / 0.8184 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.008668, allocations: 74.2 kB / 0.8185 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of SimCode: time 1.032e-06/0.008669, allocations: 0 / 0.8185 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of Templates: time 0.00325/0.01192, allocations: 1.451 MB / 0.8199 GB, free: 9.074 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.878537247888744]