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.001411/0.001411, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001414/0.001414, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9703/0.9703, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.826/1.826, allocations: 377.8 MB / 0.6236 GB, free: 8.566 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.573e-06/1.573e-06, allocations: 0.6562 kB / 0.8116 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.473e-05, allocations: 10.19 kB / 0.8116 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001754/0.001779, allocations: 1.422 MB / 0.813 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.003037, allocations: 1.097 MB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.003063, allocations: 0 / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.003085, allocations: 5.469 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.643e-05/0.003131, allocations: 7.922 kB / 0.8141 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.003608, allocations: 224.9 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.672e-05/0.003664, allocations: 32.89 kB / 0.8144 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.003701, allocations: 4 kB / 0.8144 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.003814, allocations: 19.92 kB / 0.8144 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.003864, allocations: 16.83 kB / 0.8144 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.003876, allocations: 0 / 0.8144 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003933/0.004269, allocations: 416.4 kB / 0.8148 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.004279, allocations: 0 / 0.8148 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.075e-05/0.004299, allocations: 14.36 kB / 0.8148 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.004554, allocations: 243.4 kB / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.004556, allocations: 0 / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004557, allocations: 4 kB / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.00456, allocations: 3.938 kB / 0.8151 GB, free: 14.18 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.0003358/0.004896, allocations: 412 kB / 0.8154 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.004931, allocations: 8.562 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.004963, allocations: 8.891 kB / 0.8155 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.327e-05/0.005036, allocations: 121.2 kB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-06/0.005045, allocations: 384 / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.005055, allocations: 0.9062 kB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.625e-05/0.005131, allocations: 43.88 kB / 0.8156 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.005138, allocations: 192 / 0.8156 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.005146, allocations: 384 / 0.8156 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.005154, allocations: 3.938 kB / 0.8156 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.987e-05/0.005183, allocations: 11.97 kB / 0.8156 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001163/0.0053, allocations: 121.3 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.09e-05/0.005371, allocations: 43.69 kB / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/0.005396, allocations: 20.44 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003222/0.005718, allocations: 94.95 kB / 0.8159 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.005737, allocations: 34.33 kB / 0.8159 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.005738, allocations: 0 / 0.8159 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001301/0.005868, allocations: 57.64 kB / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.005894, allocations: 68.48 kB / 0.8161 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.245e-05/0.005956, allocations: 161.9 kB / 0.8162 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.005965, allocations: 25.7 kB / 0.8162 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.006, allocations: 131.7 kB / 0.8164 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.006024, allocations: 15.91 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/0.006049, allocations: 21.59 kB / 0.8164 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003442/0.006393, allocations: 0.4884 MB / 0.8169 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.006407, allocations: 4 kB / 0.8169 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.115e-05/0.006418, allocations: 7.938 kB / 0.8169 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.142e-05/0.00645, allocations: 19.69 kB / 0.8169 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006451, allocations: 0 / 0.8169 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.015e-05/0.006512, allocations: 52.75 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.006524, allocations: 8 kB / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.006528, allocations: 0 / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.006541, allocations: 0 / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.863e-05/0.006619, allocations: 15.98 kB / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.006626, allocations: 4.25 kB / 0.817 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.496e-05/0.006641, allocations: 7.938 kB / 0.817 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.006645, allocations: 0 / 0.817 GB, free: 12 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 5.55e-05/0.006701, allocations: 161.8 kB / 0.8171 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-06/0.006708, allocations: 3.953 kB / 0.8171 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.428e-05/0.006792, allocations: 61.67 kB / 0.8172 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.006793, allocations: 0.625 kB / 0.8172 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.006797, allocations: 7.875 kB / 0.8172 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.0068, allocations: 0.5625 kB / 0.8172 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.213e-05/0.006862, allocations: 113.8 kB / 0.8173 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.006864, allocations: 3.984 kB / 0.8173 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.006898, allocations: 20.38 kB / 0.8173 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.006899, allocations: 1.094 kB / 0.8173 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.006904, allocations: 0 / 0.8173 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.006906, allocations: 4 kB / 0.8173 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.006907, allocations: 4.641 kB / 0.8174 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.533e-05/0.006973, allocations: 92.31 kB / 0.8174 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-06/0.006978, allocations: 4.766 kB / 0.8174 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-06/0.006988, allocations: 0 / 0.8174 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-06/0.006997, allocations: 5.156 kB / 0.8175 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.00701, allocations: 0 / 0.8175 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.007015, allocations: 7.938 kB / 0.8175 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.237e-05/0.007047, allocations: 136.1 kB / 0.8176 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007047, allocations: 0 / 0.8176 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000155/0.007202, allocations: 39.81 kB / 0.8176 GB, free: 11.28 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.0001722/0.007374, allocations: 172.1 kB / 0.8178 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.23e-05/0.007446, allocations: 20.81 kB / 0.8178 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.007448, allocations: 0 / 0.8178 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.627e-05/0.007464, allocations: 19.67 kB / 0.8178 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.007589, allocations: 8.906 kB / 0.8178 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.007831, allocations: 146.2 kB / 0.818 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.831e-05/0.007859, allocations: 59.16 kB / 0.818 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.146e-05/0.007881, allocations: 5.547 kB / 0.818 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.007902, allocations: 12.5 kB / 0.8181 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.007903, allocations: 0 / 0.8181 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of Templates: time 0.002687/0.01059, allocations: 1.301 MB / 0.8193 GB, free: 9.547 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: 5.013974383007735]