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.0009726/0.0009726, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.00111/0.00111, allocations: 164.7 kB / 24.87 MB, free: 8.891 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.9584/0.9584, allocations: 177.1 MB / 205.3 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.875/1.875, allocations: 377.9 MB / 0.6247 GB, free: 8.41 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.654e-06/1.654e-06, allocations: 0 / 0.8128 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.249e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001729/0.001752, allocations: 1.35 MB / 0.8141 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003181/0.004933, allocations: 3.812 MB / 0.8178 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.004961, allocations: 0 / 0.8178 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.004979, allocations: 3.938 kB / 0.8178 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000426/0.005405, allocations: 104.3 kB / 0.8179 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.005656, allocations: 137 kB / 0.8181 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.896e-05/0.005715, allocations: 33.02 kB / 0.8181 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.248e-05/0.005748, allocations: 0 / 0.8181 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.785e-05/0.005846, allocations: 31.84 kB / 0.8181 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.601e-05/0.005922, allocations: 32.47 kB / 0.8182 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.005932, allocations: 0.5312 kB / 0.8182 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/0.006346, allocations: 288.9 kB / 0.8184 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.006362, allocations: 15.92 kB / 0.8185 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.31e-05/0.006375, allocations: 0 / 0.8185 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.006552, allocations: 148.7 kB / 0.8186 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.006555, allocations: 0 / 0.8186 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.152e-06/0.006556, allocations: 0 / 0.8186 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.00656, allocations: 4 kB / 0.8186 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.0002891/0.00685, allocations: 389.2 kB / 0.819 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.006883, allocations: 8.031 kB / 0.819 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.323e-05/0.006906, allocations: 1.781 kB / 0.819 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.208e-05/0.006978, allocations: 116.5 kB / 0.8191 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.006988, allocations: 5.219 kB / 0.8191 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-06/0.006993, allocations: 384 / 0.8191 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.434e-05/0.007048, allocations: 39.47 kB / 0.8191 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.007053, allocations: 192 / 0.8191 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.007061, allocations: 8.125 kB / 0.8191 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.007066, allocations: 4.844 kB / 0.8191 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.499e-05/0.007081, allocations: 3.938 kB / 0.8192 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.998e-05/0.007181, allocations: 98.31 kB / 0.8192 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.717e-05/0.007218, allocations: 27.09 kB / 0.8193 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/0.007236, allocations: 13.12 kB / 0.8193 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.007367, allocations: 15.98 kB / 0.8193 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.007387, allocations: 42.77 kB / 0.8193 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.007388, allocations: 0 / 0.8193 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 9.419e-05/0.007482, allocations: 45.61 kB / 0.8194 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.007508, allocations: 54.38 kB / 0.8194 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.192e-05/0.00757, allocations: 169.8 kB / 0.8196 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.007578, allocations: 25.7 kB / 0.8196 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.00761, allocations: 126.9 kB / 0.8197 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.007631, allocations: 7.953 kB / 0.8197 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.007657, allocations: 23.36 kB / 0.8198 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.007755, allocations: 492.1 kB / 0.8202 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.625e-06/0.007763, allocations: 4 kB / 0.8202 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-06/0.00777, allocations: 4.484 kB / 0.8202 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.45e-05/0.007795, allocations: 16.5 kB / 0.8203 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.007797, allocations: 1.344 kB / 0.8203 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.546e-05/0.007842, allocations: 41.7 kB / 0.8203 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.007852, allocations: 4 kB / 0.8203 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.007856, allocations: 1 kB / 0.8203 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.007862, allocations: 0 / 0.8203 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.736e-05/0.0079, allocations: 4 kB / 0.8203 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.007903, allocations: 4.469 kB / 0.8203 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.131e-05/0.007914, allocations: 4.641 kB / 0.8203 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-06/0.007918, allocations: 0 / 0.8203 GB, free: 9.527 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 5.428e-05/0.007972, allocations: 159.3 kB / 0.8205 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-06/0.007977, allocations: 3.953 kB / 0.8205 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.313e-05/0.00805, allocations: 52.94 kB / 0.8205 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.008056, allocations: 0 / 0.8205 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.008058, allocations: 0 / 0.8205 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.008062, allocations: 10.62 kB / 0.8205 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.978e-05/0.008122, allocations: 93.27 kB / 0.8206 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.008123, allocations: 0 / 0.8206 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.467e-05/0.008137, allocations: 4 kB / 0.8206 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.008139, allocations: 0 / 0.8206 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-06/0.008142, allocations: 256 / 0.8206 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.008145, allocations: 7.984 kB / 0.8206 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.008146, allocations: 0 / 0.8206 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.803e-05/0.008204, allocations: 85.25 kB / 0.8207 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.008217, allocations: 3.984 kB / 0.8207 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-06/0.008225, allocations: 5.125 kB / 0.8207 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-06/0.008232, allocations: 0 / 0.8207 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-06/0.008241, allocations: 0 / 0.8207 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.008243, allocations: 1.125 kB / 0.8207 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.143e-05/0.008274, allocations: 123.2 kB / 0.8208 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008274, allocations: 0 / 0.8208 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001487/0.008423, allocations: 36.89 kB / 0.8209 GB, free: 8.891 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.0001415/0.008565, allocations: 130.8 kB / 0.821 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.414e-05/0.008619, allocations: 19.67 kB / 0.821 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.00862, allocations: 1.406 kB / 0.821 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.035e-05/0.008631, allocations: 15.61 kB / 0.821 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.000117/0.008748, allocations: 4 kB / 0.821 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001991/0.008947, allocations: 129.1 kB / 0.8212 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.424e-05/0.008971, allocations: 55.36 kB / 0.8212 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.797e-05/0.008999, allocations: 12.61 kB / 0.8212 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.009037, allocations: 67.86 kB / 0.8213 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of SimCode: time 6.51e-07/0.009038, allocations: 4 kB / 0.8213 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of Templates: time 0.002281/0.01132, allocations: 0.8729 MB / 0.8222 GB, free: 7.539 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.7966354778036475]