Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009282/0.0009282, allocations: 82.64 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.001005/0.001005, allocations: 181 kB / 24.09 MB, free: 420 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.8984/0.8984, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.663/1.663, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 3.938 kB / 0.7876 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.077e-06/1.024e-05, allocations: 6.25 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001382/0.001392, allocations: 1.353 MB / 0.7889 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002766/0.004159, allocations: 3.82 MB / 0.7926 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.004182, allocations: 0 / 0.7926 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.004196, allocations: 7.938 kB / 0.7926 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.004526, allocations: 107.6 kB / 0.7927 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.004719, allocations: 131.5 kB / 0.7929 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.425e-05/0.004763, allocations: 27.86 kB / 0.7929 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.308e-05/0.004786, allocations: 7.984 kB / 0.7929 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.052e-05/0.004867, allocations: 31.84 kB / 0.7929 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.226e-05/0.004929, allocations: 32.67 kB / 0.7929 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.235e-06/0.004937, allocations: 0.5312 kB / 0.7929 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002755/0.005213, allocations: 292.5 kB / 0.7932 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.366e-06/0.005221, allocations: 3.938 kB / 0.7932 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.026e-05/0.005231, allocations: 4 kB / 0.7932 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.005384, allocations: 152.3 kB / 0.7934 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.005385, allocations: 0 / 0.7934 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.91e-07/0.005386, allocations: 0.5312 kB / 0.7934 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.765e-06/0.005389, allocations: 1.375 kB / 0.7934 GB, free: 6.254 MB / 0.7448 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.0002464/0.005635, allocations: 392.3 kB / 0.7938 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.005663, allocations: 12.03 kB / 0.7938 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.794e-05/0.005681, allocations: 0.9375 kB / 0.7938 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.929e-05/0.005741, allocations: 117.7 kB / 0.7939 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-06/0.005748, allocations: 384 / 0.7939 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-06/0.005752, allocations: 384 / 0.7939 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.589e-05/0.005798, allocations: 35.16 kB / 0.7939 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.569e-06/0.005803, allocations: 192 / 0.7939 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.005809, allocations: 9.562 kB / 0.7939 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.005813, allocations: 0 / 0.7939 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.382e-05/0.005826, allocations: 7.938 kB / 0.7939 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.226e-05/0.005909, allocations: 97.27 kB / 0.794 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.532e-05/0.005944, allocations: 36.41 kB / 0.7941 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.098e-05/0.005955, allocations: 11.75 kB / 0.7941 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.006067, allocations: 19.42 kB / 0.7941 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.006085, allocations: 37.39 kB / 0.7941 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 6.72e-07/0.006086, allocations: 0 / 0.7941 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 8.203e-05/0.006168, allocations: 45.62 kB / 0.7942 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/0.006187, allocations: 51.41 kB / 0.7942 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.388e-05/0.006241, allocations: 165.9 kB / 0.7944 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.146e-06/0.006249, allocations: 25.7 kB / 0.7944 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/0.006278, allocations: 131.6 kB / 0.7945 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.006295, allocations: 7.938 kB / 0.7945 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.006318, allocations: 23.88 kB / 0.7946 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.403e-05/0.006412, allocations: 492.7 kB / 0.795 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.659e-06/0.006421, allocations: 4.562 kB / 0.795 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-06/0.006427, allocations: 0 / 0.795 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.71e-05/0.006444, allocations: 13.09 kB / 0.795 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.006445, allocations: 0 / 0.795 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.735e-05/0.006482, allocations: 46.16 kB / 0.7951 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.00649, allocations: 5.562 kB / 0.7951 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.006493, allocations: 0 / 0.7951 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.006502, allocations: 0 / 0.7951 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.888e-05/0.006531, allocations: 4 kB / 0.7951 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-06/0.006534, allocations: 3.938 kB / 0.7951 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.006e-06/0.006543, allocations: 5.031 kB / 0.7951 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-06/0.006546, allocations: 0 / 0.7951 GB, free: 4.309 MB / 0.7448 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.69e-05/0.006592, allocations: 157.1 kB / 0.7953 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-06/0.006598, allocations: 4.766 kB / 0.7953 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.24e-05/0.00666, allocations: 53.88 kB / 0.7953 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.006661, allocations: 0 / 0.7953 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.006662, allocations: 0 / 0.7953 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.006665, allocations: 5.281 kB / 0.7953 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.298e-05/0.006718, allocations: 101.2 kB / 0.7954 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.006719, allocations: 3.938 kB / 0.7954 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-06/0.006727, allocations: 4.969 kB / 0.7954 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.006728, allocations: 0 / 0.7954 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-06/0.006731, allocations: 0 / 0.7954 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.006731, allocations: 2.312 kB / 0.7954 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.006732, allocations: 0 / 0.7954 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.428e-05/0.006776, allocations: 80.38 kB / 0.7955 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.006787, allocations: 3.984 kB / 0.7955 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.702e-06/0.006794, allocations: 4 kB / 0.7955 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.991e-06/0.0068, allocations: 0 / 0.7955 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.00681, allocations: 8.859 kB / 0.7955 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-06/0.006811, allocations: 0 / 0.7955 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.679e-05/0.006838, allocations: 128.5 kB / 0.7956 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006838, allocations: 0 / 0.7956 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000127/0.006965, allocations: 27.88 kB / 0.7957 GB, free: 3.676 MB / 0.7448 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.0001131/0.007078, allocations: 140.2 kB / 0.7958 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.365e-05/0.007122, allocations: 12.81 kB / 0.7958 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.82e-07/0.007123, allocations: 4 kB / 0.7958 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.602e-06/0.007129, allocations: 8.469 kB / 0.7958 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001041/0.007234, allocations: 9.672 kB / 0.7958 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001707/0.007404, allocations: 124.8 kB / 0.796 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.378e-05/0.007428, allocations: 55.36 kB / 0.796 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.636e-05/0.007444, allocations: 9.281 kB / 0.796 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.007475, allocations: 66.2 kB / 0.7961 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of SimCode: time 3.6e-07/0.007476, allocations: 4.906 kB / 0.7961 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of Templates: time 0.001889/0.009365, allocations: 0.8846 MB / 0.7969 GB, free: 2.328 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.312600269913673]