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.0008895/0.0008895, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.0009207/0.0009207, allocations: 181 kB / 24.09 MB, free: 416 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.933/0.933, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.763/1.763, allocations: 377.9 MB / 0.624 GB, free: 8.402 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 2.245e-06/2.245e-06, allocations: 0 / 0.812 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.814e-05, allocations: 6.875 kB / 0.812 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001633/0.001651, allocations: 1.355 MB / 0.8133 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0032/0.004851, allocations: 3.818 MB / 0.8171 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.844e-05/0.004879, allocations: 0 / 0.8171 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.004896, allocations: 1.656 kB / 0.8171 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003843/0.00528, allocations: 99.38 kB / 0.8172 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.005486, allocations: 137.3 kB / 0.8173 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.66e-05/0.005543, allocations: 33 kB / 0.8173 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.141e-05/0.005574, allocations: 0 / 0.8173 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.005684, allocations: 31.91 kB / 0.8174 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.026e-05/0.005764, allocations: 41.2 kB / 0.8174 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.005778, allocations: 4 kB / 0.8174 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003228/0.0061, allocations: 291.5 kB / 0.8177 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.928e-06/0.00611, allocations: 1.156 kB / 0.8177 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.006124, allocations: 4 kB / 0.8177 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.006311, allocations: 155.5 kB / 0.8178 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.006313, allocations: 0.5625 kB / 0.8178 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.12e-07/0.006314, allocations: 4.719 kB / 0.8178 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.006317, allocations: 0 / 0.8178 GB, free: 11.47 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.0002988/0.006616, allocations: 389.1 kB / 0.8182 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.006654, allocations: 8.031 kB / 0.8182 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.108e-05/0.006675, allocations: 6.719 kB / 0.8182 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.003e-05/0.006745, allocations: 112.5 kB / 0.8183 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.006756, allocations: 8.375 kB / 0.8183 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-06/0.006761, allocations: 384 / 0.8183 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.621e-05/0.006817, allocations: 30.27 kB / 0.8184 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.006823, allocations: 1 kB / 0.8184 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.006829, allocations: 4.125 kB / 0.8184 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.006833, allocations: 2.312 kB / 0.8184 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.501e-05/0.006848, allocations: 7.984 kB / 0.8184 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.777e-05/0.006936, allocations: 101.2 kB / 0.8185 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.582e-05/0.006972, allocations: 31.09 kB / 0.8185 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.119e-05/0.006983, allocations: 7.688 kB / 0.8185 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.007102, allocations: 26.06 kB / 0.8185 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.007119, allocations: 33.39 kB / 0.8186 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.00712, allocations: 0 / 0.8186 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001037/0.007224, allocations: 46.14 kB / 0.8186 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.007258, allocations: 51.91 kB / 0.8187 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.209e-05/0.00732, allocations: 163.2 kB / 0.8188 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.007328, allocations: 25.7 kB / 0.8188 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.007363, allocations: 134.9 kB / 0.819 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.007387, allocations: 3.953 kB / 0.819 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.007413, allocations: 28.08 kB / 0.819 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.007533, allocations: 492.1 kB / 0.8195 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.735e-06/0.00754, allocations: 0.6562 kB / 0.8195 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.126e-05/0.007552, allocations: 11.5 kB / 0.8195 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.229e-05/0.007574, allocations: 11.69 kB / 0.8195 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.007576, allocations: 0 / 0.8195 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.155e-05/0.007618, allocations: 41.62 kB / 0.8195 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.00763, allocations: 4 kB / 0.8195 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.007634, allocations: 0 / 0.8195 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.007645, allocations: 4 kB / 0.8195 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.439e-05/0.007679, allocations: 0 / 0.8195 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.007683, allocations: 10.03 kB / 0.8195 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.003e-05/0.007693, allocations: 0 / 0.8195 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.007697, allocations: 0 / 0.8195 GB, free: 9.531 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 7.507e-05/0.007772, allocations: 160.6 kB / 0.8197 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-06/0.007778, allocations: 7.953 kB / 0.8197 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.619e-05/0.007854, allocations: 45.97 kB / 0.8198 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.007856, allocations: 5.062 kB / 0.8198 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.007858, allocations: 0 / 0.8198 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.007862, allocations: 3.938 kB / 0.8198 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.653e-05/0.007929, allocations: 97.25 kB / 0.8199 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.00793, allocations: 1.031 kB / 0.8199 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.038e-05/0.007941, allocations: 4 kB / 0.8199 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.007942, allocations: 1.125 kB / 0.8199 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-06/0.007946, allocations: 4.25 kB / 0.8199 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.007948, allocations: 4 kB / 0.8199 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.007949, allocations: 0.875 kB / 0.8199 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.396e-05/0.008003, allocations: 72.38 kB / 0.8199 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.008019, allocations: 14.27 kB / 0.82 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-06/0.008025, allocations: 0 / 0.82 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.761e-06/0.008031, allocations: 0 / 0.82 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.075e-05/0.008042, allocations: 4 kB / 0.82 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.008043, allocations: 0 / 0.82 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.844e-05/0.008082, allocations: 131.1 kB / 0.8201 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008082, allocations: 1.938 kB / 0.8201 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001318/0.008214, allocations: 23.88 kB / 0.8201 GB, free: 8.898 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.0001265/0.00834, allocations: 135.1 kB / 0.8202 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.814e-05/0.008388, allocations: 25.19 kB / 0.8203 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.00839, allocations: 0 / 0.8203 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.145e-06/0.008398, allocations: 11.69 kB / 0.8203 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001114/0.008509, allocations: 5.625 kB / 0.8203 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001944/0.008704, allocations: 134.7 kB / 0.8204 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.725e-05/0.008731, allocations: 55.75 kB / 0.8205 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.576e-05/0.008747, allocations: 11.91 kB / 0.8205 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.00878, allocations: 70.2 kB / 0.8205 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.00878, allocations: 0 / 0.8205 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of Templates: time 0.002116/0.0109, allocations: 0.8744 MB / 0.8214 GB, free: 7.527 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.587360972072929]