Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001418/0.001418, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001602/0.001602, allocations: 161 kB / 24.17 MB, free: 332 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.967/0.967, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.895/1.895, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.818e-06/1.102e-05, allocations: 6.312 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001728/0.001739, allocations: 1.397 MB / 0.7614 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002936/0.004676, allocations: 3.864 MB / 0.7652 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.218e-05/0.004698, allocations: 0 / 0.7652 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.004711, allocations: 0 / 0.7652 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.005031, allocations: 106.1 kB / 0.7653 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.005201, allocations: 111.5 kB / 0.7654 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.857e-05/0.00525, allocations: 30.2 kB / 0.7655 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.566e-05/0.005276, allocations: 8 kB / 0.7655 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.742e-05/0.005353, allocations: 23.91 kB / 0.7655 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/0.005419, allocations: 43.83 kB / 0.7655 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.025e-06/0.005427, allocations: 0 / 0.7655 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003315/0.005758, allocations: 316.3 kB / 0.7658 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.253e-06/0.005765, allocations: 0 / 0.7658 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.137e-05/0.005777, allocations: 4.906 kB / 0.7658 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.005932, allocations: 147.6 kB / 0.766 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.213e-06/0.005934, allocations: 4.438 kB / 0.766 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.21e-07/0.005934, allocations: 0 / 0.766 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.565e-06/0.005937, allocations: 2.594 kB / 0.766 GB, free: 0.5664 MB / 0.7136 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.000211/0.006148, allocations: 264.6 kB / 0.7662 GB, free: 292 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.504e-05/0.006173, allocations: 11.97 kB / 0.7662 GB, free: 280 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.895e-05/0.006192, allocations: 4.938 kB / 0.7662 GB, free: 276 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.096e-05/0.006253, allocations: 113.7 kB / 0.7664 GB, free: 136 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.00626, allocations: 4.359 kB / 0.7664 GB, free: 132 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-06/0.006264, allocations: 2.812 kB / 0.7664 GB, free: 132 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.663e-05/0.006311, allocations: 34.25 kB / 0.7664 GB, free: 92 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.468e-06/0.006315, allocations: 192 / 0.7664 GB, free: 92 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.006322, allocations: 4.125 kB / 0.7664 GB, free: 88 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-06/0.006325, allocations: 0 / 0.7664 GB, free: 88 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.233e-05/0.006338, allocations: 0 / 0.7664 GB, free: 88 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.622e-05/0.006404, allocations: 58.7 kB / 0.7665 GB, free: 16 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.307e-05/0.006447, allocations: 26.62 kB / 0.7665 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.568e-06/0.006456, allocations: 8.922 kB / 0.7665 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.006567, allocations: 29 kB / 0.7665 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.006585, allocations: 31.5 kB / 0.7665 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.006586, allocations: 0 / 0.7665 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 6.937e-05/0.006655, allocations: 40.45 kB / 0.7666 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.006683, allocations: 51.41 kB / 0.7666 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.45e-05/0.006727, allocations: 110.6 kB / 0.7667 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.006735, allocations: 25.7 kB / 0.7668 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.768e-05/0.006752, allocations: 84.12 kB / 0.7668 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.006768, allocations: 3.953 kB / 0.7669 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.006789, allocations: 21.7 kB / 0.7669 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.958e-05/0.006849, allocations: 310.8 kB / 0.7672 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-06/0.006854, allocations: 8.219 kB / 0.7672 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.279e-06/0.00686, allocations: 0 / 0.7672 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.766e-05/0.006877, allocations: 12.86 kB / 0.7672 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.006879, allocations: 0 / 0.7672 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.422e-05/0.006913, allocations: 45.56 kB / 0.7672 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/0.006921, allocations: 4 kB / 0.7672 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.006924, allocations: 0 / 0.7672 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.006935, allocations: 0 / 0.7672 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.767e-05/0.006963, allocations: 4 kB / 0.7672 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/0.006965, allocations: 2.469 kB / 0.7672 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.508e-06/0.006974, allocations: 3.938 kB / 0.7672 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.006978, allocations: 4 kB / 0.7672 GB, free: 15.13 MB / 0.7292 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 3.952e-05/0.007017, allocations: 105.8 kB / 0.7673 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-06/0.007022, allocations: 3.984 kB / 0.7674 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.855e-05/0.007081, allocations: 45.88 kB / 0.7674 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.007082, allocations: 0 / 0.7674 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.007083, allocations: 2.438 kB / 0.7674 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.007086, allocations: 3.938 kB / 0.7674 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.239e-05/0.007128, allocations: 69.83 kB / 0.7675 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.007129, allocations: 4 kB / 0.7675 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-06/0.007137, allocations: 0 / 0.7675 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.11e-07/0.007138, allocations: 0 / 0.7675 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-06/0.007141, allocations: 4.875 kB / 0.7675 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.007141, allocations: 0 / 0.7675 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.007142, allocations: 0 / 0.7675 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.091e-05/0.007183, allocations: 65.81 kB / 0.7675 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.007194, allocations: 8.516 kB / 0.7675 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-06/0.007202, allocations: 3.984 kB / 0.7676 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.011e-06/0.007208, allocations: 0.8125 kB / 0.7676 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.624e-06/0.007215, allocations: 0 / 0.7676 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-06/0.007217, allocations: 0.5938 kB / 0.7676 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.744e-06/0.007224, allocations: 8.859 kB / 0.7676 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007224, allocations: 0.7188 kB / 0.7676 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001099/0.007334, allocations: 31.86 kB / 0.7676 GB, free: 14.72 MB / 0.7292 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.0001093/0.007443, allocations: 115.3 kB / 0.7677 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.289e-05/0.007486, allocations: 17.92 kB / 0.7677 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.007488, allocations: 0 / 0.7677 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.015e-06/0.007496, allocations: 12.84 kB / 0.7677 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.701e-05/0.007563, allocations: 16.91 kB / 0.7677 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001618/0.007725, allocations: 122 kB / 0.7679 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.24e-05/0.007748, allocations: 55.89 kB / 0.7679 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.512e-05/0.007763, allocations: 1.281 kB / 0.7679 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.007791, allocations: 56.17 kB / 0.768 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of SimCode: time 3.81e-07/0.007792, allocations: 0 / 0.768 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of Templates: time 0.00215/0.009942, allocations: 0.8825 MB / 0.7688 GB, free: 13.45 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.668251651804894]