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.0009111/0.0009111, 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.0008973/0.0008973, 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.8947/0.8947, 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.259/2.259, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 178] 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.122e-06/1.122e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.718e-06/1.084e-05, allocations: 4.422 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.00145/0.001461, allocations: 1.352 MB / 0.8399 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003005/0.004466, allocations: 3.845 MB / 0.8437 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.004491, allocations: 4 kB / 0.8437 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.004505, allocations: 4 kB / 0.8437 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003783/0.004884, allocations: 111.3 kB / 0.8438 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.00511, allocations: 143.3 kB / 0.8439 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.969e-05/0.005159, allocations: 23.88 kB / 0.8439 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.609e-05/0.005186, allocations: 3.984 kB / 0.844 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.238e-05/0.005268, allocations: 35.84 kB / 0.844 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.616e-05/0.005334, allocations: 31.97 kB / 0.844 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.286e-06/0.005342, allocations: 0 / 0.844 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003226/0.005665, allocations: 299.5 kB / 0.8443 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.005675, allocations: 3.984 kB / 0.8443 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.162e-05/0.005686, allocations: 7.938 kB / 0.8443 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.005847, allocations: 143.6 kB / 0.8445 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.005848, allocations: 4 kB / 0.8445 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.11e-07/0.005849, allocations: 0 / 0.8445 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.515e-06/0.005851, allocations: 0 / 0.8445 GB, free: 8.18 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.0002254/0.006077, allocations: 256.3 kB / 0.8447 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.622e-05/0.006103, allocations: 8.625 kB / 0.8447 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.857e-05/0.006121, allocations: 4.938 kB / 0.8447 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.412e-05/0.006195, allocations: 117.7 kB / 0.8448 GB, free: 7.754 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.006206, allocations: 4.375 kB / 0.8448 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.006215, allocations: 4.359 kB / 0.8448 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.276e-05/0.006268, allocations: 34.2 kB / 0.8449 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.006275, allocations: 4.188 kB / 0.8449 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.006282, allocations: 4.125 kB / 0.8449 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.006288, allocations: 7.938 kB / 0.8449 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.285e-05/0.0063, allocations: 0 / 0.8449 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.229e-05/0.006373, allocations: 61.03 kB / 0.8449 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.478e-05/0.006407, allocations: 18.61 kB / 0.845 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.042e-05/0.006418, allocations: 8.922 kB / 0.845 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.006536, allocations: 23.92 kB / 0.845 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.006552, allocations: 30.56 kB / 0.845 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.006553, allocations: 0 / 0.845 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 7.354e-05/0.006627, allocations: 45.69 kB / 0.8451 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.006651, allocations: 51.41 kB / 0.8451 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.006823, allocations: 110.6 kB / 0.8452 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.146e-06/0.006831, allocations: 29.69 kB / 0.8452 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.906e-05/0.00685, allocations: 84.14 kB / 0.8453 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.006866, allocations: 3.953 kB / 0.8453 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.006887, allocations: 17.7 kB / 0.8453 GB, free: 7.133 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.824e-05/0.006945, allocations: 310.8 kB / 0.8456 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.36e-06/0.006951, allocations: 3.938 kB / 0.8456 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.648e-06/0.006955, allocations: 4.125 kB / 0.8456 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.716e-05/0.006972, allocations: 16.91 kB / 0.8457 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.006974, allocations: 0 / 0.8457 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.115e-05/0.007005, allocations: 37.7 kB / 0.8457 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.007014, allocations: 4 kB / 0.8457 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.007018, allocations: 0 / 0.8457 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.007027, allocations: 0 / 0.8457 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.095e-05/0.007058, allocations: 7.984 kB / 0.8457 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.007061, allocations: 0 / 0.8457 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.498e-06/0.00707, allocations: 3.938 kB / 0.8457 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-06/0.007073, allocations: 7.969 kB / 0.8457 GB, free: 6.727 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 4.057e-05/0.007113, allocations: 109.8 kB / 0.8458 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-06/0.007117, allocations: 0 / 0.8458 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.629e-05/0.007173, allocations: 45 kB / 0.8459 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.007174, allocations: 0 / 0.8459 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.007175, allocations: 0 / 0.8459 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.007178, allocations: 3.938 kB / 0.8459 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.38e-05/0.007222, allocations: 65.89 kB / 0.8459 GB, free: 6.477 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.007223, allocations: 0 / 0.8459 GB, free: 6.477 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.078e-05/0.007234, allocations: 15.95 kB / 0.846 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.007235, allocations: 0 / 0.846 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-06/0.007238, allocations: 0 / 0.846 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.007238, allocations: 0 / 0.846 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.007239, allocations: 4 kB / 0.846 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.944e-05/0.007278, allocations: 65 kB / 0.846 GB, free: 6.375 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.007289, allocations: 3.953 kB / 0.846 GB, free: 6.371 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-06/0.007295, allocations: 0 / 0.846 GB, free: 6.371 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.721e-06/0.0073, allocations: 4 kB / 0.846 GB, free: 6.367 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.023e-05/0.007311, allocations: 4 kB / 0.846 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-06/0.007312, allocations: 256 / 0.846 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.053e-05/0.007322, allocations: 20.88 kB / 0.8461 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007323, allocations: 0 / 0.8461 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001163/0.007439, allocations: 23.88 kB / 0.8461 GB, free: 6.316 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.0001116/0.00755, allocations: 112.3 kB / 0.8462 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.432e-05/0.007595, allocations: 20.73 kB / 0.8462 GB, free: 6.176 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.007597, allocations: 0 / 0.8462 GB, free: 6.176 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.123e-06/0.007604, allocations: 8.859 kB / 0.8462 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.622e-05/0.00767, allocations: 8.062 kB / 0.8462 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001758/0.007846, allocations: 116.7 kB / 0.8463 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.429e-05/0.00787, allocations: 55.34 kB / 0.8464 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.648e-05/0.007887, allocations: 4 kB / 0.8464 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.007917, allocations: 51.38 kB / 0.8464 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of SimCode: time 2.71e-07/0.007917, allocations: 4 kB / 0.8464 GB, free: 5.883 MB / 0.8073 GB Notification: Performance of Templates: time 0.001992/0.009909, allocations: 0.882 MB / 0.8473 GB, free: 5.016 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 -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.809352301061153]