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.001003/0.001003, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.00104/0.00104, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9707/0.9707, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.277/2.277, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.583e-06/1.583e-06, allocations: 0 / 0.8898 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.407e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002134/0.002159, allocations: 1.359 MB / 0.8911 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.005483, allocations: 3.826 MB / 0.8948 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.005522, allocations: 0 / 0.8948 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.468e-05/0.005547, allocations: 3.938 kB / 0.8948 GB, free: 4.539 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005509/0.006098, allocations: 103.4 kB / 0.8949 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.006443, allocations: 135.5 kB / 0.8951 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.856e-05/0.006512, allocations: 27.86 kB / 0.8951 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.297e-05/0.006545, allocations: 7.984 kB / 0.8951 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.006664, allocations: 31.84 kB / 0.8951 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.029e-05/0.006744, allocations: 39.89 kB / 0.8952 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.006755, allocations: 0 / 0.8952 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003345/0.007089, allocations: 287.6 kB / 0.8954 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.0071, allocations: 0 / 0.8954 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.133e-05/0.007122, allocations: 11.98 kB / 0.8954 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.007305, allocations: 151.5 kB / 0.8956 GB, free: 3.758 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.007308, allocations: 0 / 0.8956 GB, free: 3.758 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.023e-06/0.00731, allocations: 3.984 kB / 0.8956 GB, free: 3.754 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.007315, allocations: 0 / 0.8956 GB, free: 3.754 MB / 0.8542 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.0002953/0.00761, allocations: 380 kB / 0.896 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.007647, allocations: 12.62 kB / 0.896 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.409e-05/0.007671, allocations: 4.891 kB / 0.896 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.257e-05/0.007744, allocations: 116.6 kB / 0.8961 GB, free: 3.191 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.007753, allocations: 384 / 0.8961 GB, free: 3.191 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-06/0.007759, allocations: 4.375 kB / 0.8961 GB, free: 3.188 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.868e-05/0.007828, allocations: 38.25 kB / 0.8961 GB, free: 3.145 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.007834, allocations: 192 / 0.8961 GB, free: 3.145 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.007841, allocations: 4.125 kB / 0.8961 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.007846, allocations: 0 / 0.8961 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.586e-05/0.007862, allocations: 7.938 kB / 0.8961 GB, free: 3.133 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001045/0.007967, allocations: 93.27 kB / 0.8962 GB, free: 3.016 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.404e-05/0.008011, allocations: 35.08 kB / 0.8963 GB, free: 2.969 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.303e-05/0.008024, allocations: 7.688 kB / 0.8963 GB, free: 2.957 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.00816, allocations: 24.05 kB / 0.8963 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.008179, allocations: 37.39 kB / 0.8963 GB, free: 2.887 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.00818, allocations: 0 / 0.8963 GB, free: 2.887 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001007/0.008281, allocations: 45.58 kB / 0.8964 GB, free: 2.836 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.008307, allocations: 51.41 kB / 0.8964 GB, free: 2.773 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.794e-05/0.008375, allocations: 169.9 kB / 0.8966 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.008383, allocations: 25.7 kB / 0.8966 GB, free: 2.559 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.008426, allocations: 130.9 kB / 0.8967 GB, free: 2.426 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.008447, allocations: 12.06 kB / 0.8967 GB, free: 2.414 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.008472, allocations: 23.31 kB / 0.8968 GB, free: 2.383 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.008582, allocations: 492.1 kB / 0.8972 GB, free: 1.891 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.008593, allocations: 4 kB / 0.8972 GB, free: 1.887 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-06/0.0086, allocations: 0 / 0.8972 GB, free: 1.887 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.659e-05/0.008627, allocations: 19.67 kB / 0.8973 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.008629, allocations: 0 / 0.8973 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.264e-05/0.008681, allocations: 37.64 kB / 0.8973 GB, free: 1.82 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.008694, allocations: 8 kB / 0.8973 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.008699, allocations: 96 / 0.8973 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.008709, allocations: 4 kB / 0.8973 GB, free: 1.809 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.415e-05/0.008753, allocations: 4 kB / 0.8973 GB, free: 1.805 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.008758, allocations: 3.938 kB / 0.8973 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-06/0.008768, allocations: 0 / 0.8973 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-06/0.008771, allocations: 0 / 0.8973 GB, free: 1.801 MB / 0.8542 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 6.549e-05/0.008837, allocations: 160.6 kB / 0.8975 GB, free: 1.633 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-06/0.008843, allocations: 0 / 0.8975 GB, free: 1.633 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.445e-05/0.008937, allocations: 44.95 kB / 0.8975 GB, free: 1.582 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.008941, allocations: 7.984 kB / 0.8975 GB, free: 1.574 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.008944, allocations: 4.031 kB / 0.8975 GB, free: 1.57 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.008948, allocations: 3.938 kB / 0.8975 GB, free: 1.566 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/0.009319, allocations: 101.2 kB / 0.8976 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.00932, allocations: 0 / 0.8976 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-05/0.009343, allocations: 4 kB / 0.8976 GB, free: 1.438 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.009345, allocations: 0 / 0.8976 GB, free: 1.438 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-06/0.009349, allocations: 0 / 0.8976 GB, free: 1.438 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.009352, allocations: 4.234 kB / 0.8976 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.009354, allocations: 4 kB / 0.8976 GB, free: 1.43 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.467e-05/0.009419, allocations: 80.36 kB / 0.8977 GB, free: 1.328 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.00943, allocations: 4.031 kB / 0.8977 GB, free: 1.324 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.846e-06/0.009439, allocations: 3.984 kB / 0.8977 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.697e-06/0.009447, allocations: 11.94 kB / 0.8977 GB, free: 1.309 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.009461, allocations: 3.984 kB / 0.8977 GB, free: 1.305 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.009464, allocations: 0 / 0.8977 GB, free: 1.305 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.634e-05/0.009501, allocations: 123.2 kB / 0.8978 GB, free: 1.184 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.009501, allocations: 0 / 0.8978 GB, free: 1.184 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001524/0.009653, allocations: 23.88 kB / 0.8979 GB, free: 1.16 MB / 0.8542 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.0001693/0.009822, allocations: 143 kB / 0.898 GB, free: 1.008 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.147e-05/0.009884, allocations: 15.69 kB / 0.898 GB, free: 0.9883 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.009885, allocations: 0 / 0.898 GB, free: 0.9883 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.187e-05/0.009897, allocations: 15.67 kB / 0.898 GB, free: 0.9688 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.01003, allocations: 8 kB / 0.898 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000202/0.01023, allocations: 122.3 kB / 0.8982 GB, free: 0.8125 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.609e-05/0.01026, allocations: 55.48 kB / 0.8982 GB, free: 0.7383 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.042e-05/0.01028, allocations: 4 kB / 0.8982 GB, free: 0.7344 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.01031, allocations: 70.2 kB / 0.8983 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of SimCode: time 3.9e-07/0.01031, allocations: 0 / 0.8983 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of Templates: time 0.002428/0.01274, allocations: 0.8817 MB / 0.8991 GB, free: 15.79 MB / 0.8698 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: 5.0749687841162086]