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.0009299/0.0009299, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.0009305/0.0009305, allocations: 165 kB / 23.82 MB, free: 0.7422 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 1.009/1.009, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.82/1.82, allocations: 377.8 MB / 0.6236 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.353e-06/1.353e-06, allocations: 0 / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.369e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001681/0.001705, allocations: 1.355 MB / 0.8129 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003072/0.004777, allocations: 3.853 MB / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.689e-05/0.004804, allocations: 0 / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.834e-05/0.004823, allocations: 3.938 kB / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004093/0.005232, allocations: 109.5 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.005465, allocations: 142.1 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.624e-05/0.005521, allocations: 27.86 kB / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.052e-05/0.005552, allocations: 4 kB / 0.8169 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.005653, allocations: 31.84 kB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.539e-05/0.005728, allocations: 31.97 kB / 0.817 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.005739, allocations: 0 / 0.817 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003133/0.006052, allocations: 289.2 kB / 0.8172 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.006063, allocations: 3.984 kB / 0.8173 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.006083, allocations: 11.94 kB / 0.8173 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.006266, allocations: 151.5 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.006268, allocations: 0.5 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.11e-07/0.006268, allocations: 0.5625 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.006272, allocations: 0 / 0.8174 GB, free: 11.71 MB / 0.7761 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.0003015/0.006574, allocations: 385.9 kB / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.00661, allocations: 12.03 kB / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.00664, allocations: 0.9375 kB / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.239e-05/0.006713, allocations: 116.5 kB / 0.8179 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.006721, allocations: 2.969 kB / 0.8179 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.006731, allocations: 4.375 kB / 0.8179 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.805e-05/0.006799, allocations: 34.25 kB / 0.8179 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.006807, allocations: 192 / 0.8179 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.006816, allocations: 4.125 kB / 0.8179 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.006822, allocations: 3.938 kB / 0.8179 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.303e-05/0.006845, allocations: 8.438 kB / 0.818 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001098/0.006955, allocations: 117.7 kB / 0.8181 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.314e-05/0.006998, allocations: 27.09 kB / 0.8181 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.007015, allocations: 12.66 kB / 0.8181 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.007161, allocations: 20.83 kB / 0.8181 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.007182, allocations: 41.38 kB / 0.8182 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.007182, allocations: 3.688 kB / 0.8182 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001101/0.007292, allocations: 37.64 kB / 0.8182 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.007317, allocations: 59.34 kB / 0.8183 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.269e-05/0.007379, allocations: 161.9 kB / 0.8184 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.136e-06/0.007388, allocations: 25.7 kB / 0.8184 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/0.007416, allocations: 126.9 kB / 0.8186 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.007438, allocations: 15.94 kB / 0.8186 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.007462, allocations: 15.38 kB / 0.8186 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.007564, allocations: 0.4884 MB / 0.8191 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-06/0.007574, allocations: 1.781 kB / 0.8191 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.677e-06/0.007582, allocations: 4 kB / 0.8191 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.428e-05/0.007607, allocations: 15.69 kB / 0.8191 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.007608, allocations: 4.938 kB / 0.8191 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.131e-05/0.00765, allocations: 33.7 kB / 0.8191 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.007662, allocations: 9.125 kB / 0.8191 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.007665, allocations: 0 / 0.8191 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.007679, allocations: 3.984 kB / 0.8191 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.616e-05/0.007725, allocations: 9 kB / 0.8191 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.007729, allocations: 256 / 0.8191 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.103e-05/0.00774, allocations: 4 kB / 0.8192 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.007746, allocations: 5.094 kB / 0.8192 GB, free: 9.73 MB / 0.7761 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 0.0001818/0.007928, allocations: 156.6 kB / 0.8193 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-06/0.007933, allocations: 4.734 kB / 0.8193 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.461e-05/0.008018, allocations: 50.84 kB / 0.8194 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.008019, allocations: 0 / 0.8194 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.008023, allocations: 7.938 kB / 0.8194 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.008026, allocations: 0 / 0.8194 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.756e-05/0.008084, allocations: 116.6 kB / 0.8195 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.008084, allocations: 1.344 kB / 0.8195 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.078e-05/0.008095, allocations: 7.938 kB / 0.8195 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.008097, allocations: 0 / 0.8195 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.008102, allocations: 0 / 0.8195 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.008103, allocations: 0.8438 kB / 0.8195 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.008103, allocations: 0 / 0.8195 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.374e-05/0.008157, allocations: 84.97 kB / 0.8196 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.008171, allocations: 2.469 kB / 0.8196 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.00818, allocations: 4 kB / 0.8196 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.232e-06/0.008186, allocations: 0 / 0.8196 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/0.008199, allocations: 3.938 kB / 0.8196 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-06/0.0082, allocations: 0 / 0.8196 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.953e-05/0.008229, allocations: 127.2 kB / 0.8197 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008229, allocations: 0 / 0.8197 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001392/0.008369, allocations: 29.62 kB / 0.8197 GB, free: 9.074 MB / 0.7761 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.0001409/0.008509, allocations: 131.2 kB / 0.8199 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.305e-05/0.008572, allocations: 15.69 kB / 0.8199 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.008574, allocations: 0.5938 kB / 0.8199 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.817e-06/0.008583, allocations: 12.88 kB / 0.8199 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.008706, allocations: 3.938 kB / 0.8199 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002214/0.008928, allocations: 138.6 kB / 0.82 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.594e-05/0.008954, allocations: 55.34 kB / 0.8201 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.931e-05/0.008973, allocations: 7.906 kB / 0.8201 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.619e-05/0.008989, allocations: 8.5 kB / 0.8201 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.00899, allocations: 0 / 0.8201 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of Templates: time 0.002216/0.01121, allocations: 0.804 MB / 0.8209 GB, free: 7.855 MB / 0.7761 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 -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.9275477807968855]