Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.001378/0.001378, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00162/0.00162, allocations: 177 kB / 23.36 MB, free: 1.129 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.9654/0.9654, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.402/2.402, allocations: 438.8 MB / 0.6827 GB, free: 13.54 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.74e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002498/0.002515, allocations: 1.391 MB / 0.84 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00445/0.006965, allocations: 3.853 MB / 0.8438 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.006993, allocations: 4 kB / 0.8438 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.007009, allocations: 7.938 kB / 0.8438 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000434/0.007444, allocations: 103.4 kB / 0.8439 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.007712, allocations: 111.5 kB / 0.844 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.599e-05/0.007778, allocations: 27.86 kB / 0.844 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.136e-05/0.00781, allocations: 8 kB / 0.844 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.007919, allocations: 39.83 kB / 0.8441 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.482e-05/0.008003, allocations: 31.95 kB / 0.8441 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.008014, allocations: 3.938 kB / 0.8441 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000527/0.008541, allocations: 315.4 kB / 0.8444 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.008552, allocations: 7.969 kB / 0.8444 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.387e-05/0.008566, allocations: 4 kB / 0.8444 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.008791, allocations: 147.6 kB / 0.8445 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.008793, allocations: 0 / 0.8445 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.02e-07/0.008793, allocations: 3.938 kB / 0.8445 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.008796, allocations: 4 kB / 0.8445 GB, free: 8.023 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002708/0.009067, allocations: 248.4 kB / 0.8448 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.009103, allocations: 12.62 kB / 0.8448 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.009126, allocations: 0.9375 kB / 0.8448 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.323e-05/0.00922, allocations: 125.7 kB / 0.8449 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.00923, allocations: 384 / 0.8449 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.009237, allocations: 4.375 kB / 0.8449 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.894e-05/0.009296, allocations: 34.2 kB / 0.845 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.009302, allocations: 192 / 0.845 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.009309, allocations: 4.125 kB / 0.845 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.009314, allocations: 4 kB / 0.845 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.852e-05/0.009333, allocations: 4 kB / 0.845 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.099e-05/0.009424, allocations: 61.03 kB / 0.845 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.236e-05/0.009466, allocations: 22.59 kB / 0.845 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.009481, allocations: 4.859 kB / 0.8451 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.009627, allocations: 24.05 kB / 0.8451 GB, free: 7.406 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.009651, allocations: 30.56 kB / 0.8451 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.009652, allocations: 7.938 kB / 0.8451 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 8.89e-05/0.009741, allocations: 37.69 kB / 0.8451 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.009769, allocations: 51.41 kB / 0.8452 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.301e-05/0.009832, allocations: 110.6 kB / 0.8453 GB, free: 7.133 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.009842, allocations: 25.7 kB / 0.8453 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.614e-05/0.009868, allocations: 84.12 kB / 0.8454 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.009888, allocations: 3.953 kB / 0.8454 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.009917, allocations: 17.72 kB / 0.8454 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.01001, allocations: 314.8 kB / 0.8457 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-06/0.01002, allocations: 0 / 0.8457 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-06/0.01003, allocations: 4.125 kB / 0.8457 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.586e-05/0.01005, allocations: 16.78 kB / 0.8457 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.01006, allocations: 0 / 0.8457 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.948e-05/0.01011, allocations: 33.7 kB / 0.8458 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.01012, allocations: 7.938 kB / 0.8458 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01012, allocations: 4 kB / 0.8458 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.01013, allocations: 0 / 0.8458 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.665e-05/0.01017, allocations: 3.984 kB / 0.8458 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.01017, allocations: 4 kB / 0.8458 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.51e-05/0.01019, allocations: 8.031 kB / 0.8458 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.01019, allocations: 0 / 0.8458 GB, free: 6.582 MB / 0.8073 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 (2): * Single equations (assignments): 2 * 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.707e-05/0.01025, allocations: 105.8 kB / 0.8459 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.01026, allocations: 4 kB / 0.8459 GB, free: 6.465 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.01e-05/0.01033, allocations: 44.94 kB / 0.846 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.01033, allocations: 0 / 0.846 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01033, allocations: 4 kB / 0.846 GB, free: 6.414 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01034, allocations: 3.938 kB / 0.846 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.495e-05/0.0104, allocations: 65.89 kB / 0.846 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.0104, allocations: 8.016 kB / 0.846 GB, free: 6.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.647e-05/0.01042, allocations: 4 kB / 0.846 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.01042, allocations: 256 / 0.846 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-06/0.01043, allocations: 0 / 0.846 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.01043, allocations: 4 kB / 0.846 GB, free: 6.312 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.01043, allocations: 3.984 kB / 0.846 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.523e-05/0.0105, allocations: 65 kB / 0.8461 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.01051, allocations: 11.95 kB / 0.8461 GB, free: 6.215 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-06/0.01052, allocations: 0 / 0.8461 GB, free: 6.215 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.069e-05/0.01053, allocations: 0 / 0.8461 GB, free: 6.215 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.005e-05/0.01054, allocations: 32 / 0.8461 GB, free: 6.215 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.01054, allocations: 4 kB / 0.8461 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.253e-05/0.01056, allocations: 12.84 kB / 0.8461 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01056, allocations: 0 / 0.8461 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001912/0.01075, allocations: 27.88 kB / 0.8462 GB, free: 6.168 MB / 0.8073 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 (2): * Single equations (assignments): 2 * 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.0001569/0.01091, allocations: 116.2 kB / 0.8463 GB, free: 6.047 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.148e-05/0.01096, allocations: 16.8 kB / 0.8463 GB, free: 6.027 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01096, allocations: 0 / 0.8463 GB, free: 6.027 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-05/0.01097, allocations: 12.8 kB / 0.8463 GB, free: 6.012 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.385e-05/0.01105, allocations: 11.34 kB / 0.8463 GB, free: 6.004 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002119/0.01127, allocations: 116.6 kB / 0.8464 GB, free: 5.863 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.439e-05/0.0113, allocations: 59.34 kB / 0.8465 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.212e-05/0.01132, allocations: 0 / 0.8465 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.01136, allocations: 59.38 kB / 0.8465 GB, free: 5.727 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.01137, allocations: 0 / 0.8465 GB, free: 5.727 MB / 0.8073 GB Notification: Performance of Templates: time 0.002866/0.01423, allocations: 0.8843 MB / 0.8474 GB, free: 4.859 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.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.8891253331676126]