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.002439/0.002439, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002928/0.002928, allocations: 157.3 kB / 23.55 MB, free: 0.8828 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.587/1.587, allocations: 177.2 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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 3.047/3.047, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] 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.743e-06/1.743e-06, allocations: 0 / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.253e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.00317/0.003203, allocations: 1.321 MB / 0.8121 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.006293/0.009496, allocations: 3.855 MB / 0.8159 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.039e-05/0.009536, allocations: 0 / 0.8159 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.009552, allocations: 0 / 0.8159 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005701/0.01012, allocations: 100.1 kB / 0.816 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.01053, allocations: 141.6 kB / 0.8161 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.01064, allocations: 27.86 kB / 0.8161 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.395e-05/0.01067, allocations: 3.938 kB / 0.8161 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.01081, allocations: 32.52 kB / 0.8162 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.01092, allocations: 33.23 kB / 0.8162 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.01093, allocations: 0 / 0.8162 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005564/0.01149, allocations: 291.5 kB / 0.8165 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.0115, allocations: 7.984 kB / 0.8165 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.01152, allocations: 5.125 kB / 0.8165 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.01184, allocations: 151.5 kB / 0.8166 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.01184, allocations: 0 / 0.8166 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.462e-06/0.01184, allocations: 0.5625 kB / 0.8166 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.01185, allocations: 0.9062 kB / 0.8166 GB, free: 12.11 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.0005052/0.01235, allocations: 387.9 kB / 0.817 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.01239, allocations: 8.875 kB / 0.817 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.01243, allocations: 0.9375 kB / 0.817 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.0126, allocations: 114.3 kB / 0.8171 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.01261, allocations: 4.375 kB / 0.8171 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.01262, allocations: 4.312 kB / 0.8171 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.467e-05/0.01271, allocations: 30.27 kB / 0.8172 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.01271, allocations: 1.062 kB / 0.8172 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.01273, allocations: 8.125 kB / 0.8172 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.01273, allocations: 0 / 0.8172 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.908e-05/0.01277, allocations: 6.188 kB / 0.8172 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.01294, allocations: 120.6 kB / 0.8173 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.033e-05/0.01301, allocations: 27.06 kB / 0.8173 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.01304, allocations: 19.69 kB / 0.8173 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002119/0.01325, allocations: 26.12 kB / 0.8174 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.01329, allocations: 33.39 kB / 0.8174 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.01329, allocations: 0 / 0.8174 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001715/0.01346, allocations: 42.2 kB / 0.8174 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.01351, allocations: 55.34 kB / 0.8175 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.01365, allocations: 167.6 kB / 0.8177 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.01366, allocations: 25.7 kB / 0.8177 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.01374, allocations: 126.9 kB / 0.8178 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.01377, allocations: 11.88 kB / 0.8178 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.01381, allocations: 23.88 kB / 0.8178 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003229/0.01413, allocations: 496.1 kB / 0.8183 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.01415, allocations: 13.22 kB / 0.8183 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.116e-05/0.01416, allocations: 4 kB / 0.8183 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.075e-05/0.0142, allocations: 16.28 kB / 0.8183 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.0142, allocations: 0 / 0.8183 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.092e-05/0.01427, allocations: 38.86 kB / 0.8184 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.01428, allocations: 4 kB / 0.8184 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.01429, allocations: 4.578 kB / 0.8184 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.0143, allocations: 0 / 0.8184 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.01437, allocations: 11.62 kB / 0.8184 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.01437, allocations: 3.938 kB / 0.8184 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.809e-05/0.01439, allocations: 4 kB / 0.8184 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.0144, allocations: 4 kB / 0.8184 GB, free: 10.12 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.000113/0.01451, allocations: 156.6 kB / 0.8186 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.01452, allocations: 3.953 kB / 0.8186 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.01464, allocations: 49 kB / 0.8186 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.01465, allocations: 2.156 kB / 0.8186 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.01465, allocations: 3.938 kB / 0.8186 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.01465, allocations: 0 / 0.8186 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.01478, allocations: 120.6 kB / 0.8187 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.01478, allocations: 0 / 0.8187 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.0148, allocations: 0 / 0.8187 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.01481, allocations: 5 kB / 0.8187 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.01482, allocations: 0 / 0.8187 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.01482, allocations: 0 / 0.8187 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01482, allocations: 1.062 kB / 0.8187 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.01494, allocations: 84.31 kB / 0.8188 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.55e-05/0.01495, allocations: 1.125 kB / 0.8188 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.01497, allocations: 7.984 kB / 0.8188 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.439e-05/0.01498, allocations: 0 / 0.8188 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.015, allocations: 5.062 kB / 0.8188 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.015, allocations: 0 / 0.8188 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.772e-05/0.01508, allocations: 127.2 kB / 0.8189 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01508, allocations: 0.875 kB / 0.8189 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002208/0.0153, allocations: 31.88 kB / 0.819 GB, free: 9.457 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.000237/0.01554, allocations: 133.2 kB / 0.8191 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.039e-05/0.01563, allocations: 19.62 kB / 0.8191 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01563, allocations: 0 / 0.8191 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.581e-05/0.01566, allocations: 13.75 kB / 0.8191 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.01583, allocations: 9.688 kB / 0.8191 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000319/0.01615, allocations: 138.2 kB / 0.8193 GB, free: 9.109 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.994e-05/0.01622, allocations: 56.92 kB / 0.8193 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.47e-05/0.01624, allocations: 416 / 0.8193 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.01626, allocations: 16.5 kB / 0.8193 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.01626, allocations: 0 / 0.8193 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of Templates: time 0.003847/0.02011, allocations: 0.7883 MB / 0.8201 GB, free: 8.25 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.14716018596664]