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.001436/0.001436, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001559/0.001559, allocations: 165 kB / 23.82 MB, free: 0.75 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.9152/0.9152, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.664/1.664, allocations: 359 MB / 0.6052 GB, free: 10.99 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.462e-06/1.462e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.243e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001672/0.001694, allocations: 1.349 MB / 0.7884 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003159/0.004853, allocations: 3.87 MB / 0.7922 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.74e-05/0.00488, allocations: 0 / 0.7922 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.004898, allocations: 0.5312 kB / 0.7922 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004187/0.005316, allocations: 113.5 kB / 0.7923 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.005543, allocations: 132.1 kB / 0.7924 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.427e-05/0.005597, allocations: 28.91 kB / 0.7925 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.144e-05/0.005629, allocations: 4 kB / 0.7925 GB, free: 7 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.355e-05/0.005722, allocations: 24.66 kB / 0.7925 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.898e-05/0.005801, allocations: 48.45 kB / 0.7925 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.005813, allocations: 0 / 0.7925 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.006124, allocations: 288.9 kB / 0.7928 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.388e-06/0.006134, allocations: 0 / 0.7928 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.006153, allocations: 11.94 kB / 0.7928 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.006329, allocations: 145.1 kB / 0.793 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.006331, allocations: 0 / 0.793 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.92e-07/0.006332, allocations: 0 / 0.793 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.006335, allocations: 0 / 0.793 GB, free: 6.496 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.0003044/0.00664, allocations: 390.4 kB / 0.7933 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.006673, allocations: 8.031 kB / 0.7933 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.006705, allocations: 4.938 kB / 0.7933 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.531e-05/0.00678, allocations: 124.4 kB / 0.7935 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.006791, allocations: 8.375 kB / 0.7935 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-06/0.006799, allocations: 384 / 0.7935 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.114e-05/0.00687, allocations: 36.88 kB / 0.7935 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.006876, allocations: 192 / 0.7935 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.006885, allocations: 4.125 kB / 0.7935 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.006892, allocations: 0 / 0.7935 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.06e-05/0.006912, allocations: 4 kB / 0.7935 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001042/0.007016, allocations: 112.6 kB / 0.7936 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.338e-05/0.00707, allocations: 36.67 kB / 0.7937 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.007087, allocations: 11.75 kB / 0.7937 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.007242, allocations: 20.48 kB / 0.7937 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.007262, allocations: 37.95 kB / 0.7937 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.007263, allocations: 3.938 kB / 0.7937 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001216/0.007384, allocations: 39.19 kB / 0.7938 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.007413, allocations: 59.28 kB / 0.7938 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.558e-05/0.007479, allocations: 161.9 kB / 0.794 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.007489, allocations: 30.25 kB / 0.794 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.007522, allocations: 132.9 kB / 0.7941 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.007544, allocations: 3.953 kB / 0.7941 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.007567, allocations: 19.38 kB / 0.7942 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.007669, allocations: 496.1 kB / 0.7946 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-06/0.007679, allocations: 0 / 0.7946 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-06/0.007688, allocations: 4 kB / 0.7946 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.625e-05/0.007714, allocations: 21.2 kB / 0.7947 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.007716, allocations: 0 / 0.7947 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.434e-05/0.00776, allocations: 34.61 kB / 0.7947 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.007773, allocations: 7.938 kB / 0.7947 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.007777, allocations: 0 / 0.7947 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.007789, allocations: 4.844 kB / 0.7947 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.941e-05/0.007838, allocations: 7.938 kB / 0.7947 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.007843, allocations: 4.906 kB / 0.7947 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.01e-05/0.007854, allocations: 0 / 0.7947 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.007857, allocations: 3.812 kB / 0.7947 GB, free: 4.516 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 5.722e-05/0.007915, allocations: 156.6 kB / 0.7949 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-06/0.00792, allocations: 7.953 kB / 0.7949 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.918e-05/0.00801, allocations: 45 kB / 0.7949 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.008011, allocations: 0 / 0.7949 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.008015, allocations: 3.938 kB / 0.7949 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.008018, allocations: 0 / 0.7949 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.984e-05/0.008078, allocations: 112.6 kB / 0.795 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.008079, allocations: 4 kB / 0.795 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.097e-05/0.00809, allocations: 5.094 kB / 0.795 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.008093, allocations: 4 kB / 0.795 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.008099, allocations: 4.234 kB / 0.795 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.008103, allocations: 5 kB / 0.795 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008104, allocations: 0 / 0.795 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.375e-05/0.008157, allocations: 77.48 kB / 0.7951 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.008173, allocations: 3.984 kB / 0.7951 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-06/0.008181, allocations: 3.938 kB / 0.7951 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.901e-06/0.008187, allocations: 1.125 kB / 0.7951 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.008201, allocations: 7.938 kB / 0.7951 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.008203, allocations: 0 / 0.7951 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.077e-05/0.008234, allocations: 124.3 kB / 0.7953 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008234, allocations: 0 / 0.7953 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001354/0.008369, allocations: 31.86 kB / 0.7953 GB, free: 3.859 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.000141/0.00851, allocations: 134.7 kB / 0.7954 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.064e-05/0.008581, allocations: 19.61 kB / 0.7954 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.008583, allocations: 4.781 kB / 0.7954 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.927e-06/0.008591, allocations: 7.688 kB / 0.7954 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.008723, allocations: 10.44 kB / 0.7955 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002399/0.008962, allocations: 128.4 kB / 0.7956 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.178e-05/0.008994, allocations: 59.34 kB / 0.7956 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.998e-05/0.009014, allocations: 4 kB / 0.7956 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.009031, allocations: 8.5 kB / 0.7956 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/0.009031, allocations: 0 / 0.7956 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of Templates: time 0.002466/0.0115, allocations: 0.8633 MB / 0.7965 GB, free: 2.582 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.7039696760475636]