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.0008943/0.0008943, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001445/0.001445, allocations: 169 kB / 24.28 MB, free: 276 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.9381/0.9381, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.824/1.824, allocations: 377.8 MB / 0.6239 GB, free: 8.535 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.783e-06/1.783e-06, allocations: 0 / 0.8115 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.774e-05, allocations: 3.312 kB / 0.8115 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002456/0.002483, allocations: 1.346 MB / 0.8129 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004688/0.007171, allocations: 3.857 MB / 0.8166 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.007216, allocations: 0 / 0.8166 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.007237, allocations: 0.9688 kB / 0.8166 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005301/0.007767, allocations: 108.1 kB / 0.8167 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.00809, allocations: 126.1 kB / 0.8168 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.562e-05/0.008176, allocations: 39.78 kB / 0.8169 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.008218, allocations: 3.984 kB / 0.8169 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.008348, allocations: 24.55 kB / 0.8169 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.803e-05/0.008446, allocations: 32.64 kB / 0.8169 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.008459, allocations: 0 / 0.8169 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004656/0.008925, allocations: 296.1 kB / 0.8172 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.008937, allocations: 3.938 kB / 0.8172 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.008959, allocations: 5.094 kB / 0.8172 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.009221, allocations: 151.6 kB / 0.8174 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.009224, allocations: 0.5312 kB / 0.8174 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.11e-07/0.009225, allocations: 0 / 0.8174 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.009229, allocations: 1.312 kB / 0.8174 GB, free: 12.05 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.0003856/0.009615, allocations: 388.3 kB / 0.8177 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.009657, allocations: 12.03 kB / 0.8178 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.009698, allocations: 6 kB / 0.8178 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.0098, allocations: 116.5 kB / 0.8179 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.009813, allocations: 4.312 kB / 0.8179 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.009822, allocations: 0.875 kB / 0.8179 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.93e-05/0.009911, allocations: 39.12 kB / 0.8179 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.009919, allocations: 192 / 0.8179 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.009929, allocations: 5.844 kB / 0.8179 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.009937, allocations: 0 / 0.8179 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.802e-05/0.009965, allocations: 4 kB / 0.8179 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.01011, allocations: 112.6 kB / 0.818 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.641e-05/0.01017, allocations: 36.36 kB / 0.8181 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.01019, allocations: 11.75 kB / 0.8181 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/0.01038, allocations: 20.77 kB / 0.8181 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.01041, allocations: 39.33 kB / 0.8181 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.01041, allocations: 0 / 0.8181 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001463/0.01056, allocations: 37.69 kB / 0.8182 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.01059, allocations: 59.34 kB / 0.8182 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.113e-05/0.01068, allocations: 161.9 kB / 0.8184 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.01069, allocations: 26.48 kB / 0.8184 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.01074, allocations: 130.9 kB / 0.8185 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.01076, allocations: 11.39 kB / 0.8185 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.01079, allocations: 23.31 kB / 0.8186 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.01093, allocations: 492.1 kB / 0.819 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.01094, allocations: 0 / 0.819 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.041e-05/0.01095, allocations: 4 kB / 0.819 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.92e-05/0.01099, allocations: 19.67 kB / 0.8191 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01099, allocations: 256 / 0.8191 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.078e-05/0.01104, allocations: 34.33 kB / 0.8191 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.01106, allocations: 8 kB / 0.8191 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01106, allocations: 4.5 kB / 0.8191 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.01107, allocations: 5.547 kB / 0.8191 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.077e-05/0.01112, allocations: 11.88 kB / 0.8191 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.01113, allocations: 0 / 0.8191 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-06/0.01114, allocations: 0 / 0.8191 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.01114, allocations: 3.984 kB / 0.8191 GB, free: 10.07 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.619e-05/0.0112, allocations: 161.4 kB / 0.8193 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-06/0.0112, allocations: 8.828 kB / 0.8193 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.57e-05/0.01129, allocations: 46.78 kB / 0.8193 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01129, allocations: 4 kB / 0.8193 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.01129, allocations: 3.938 kB / 0.8193 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.0113, allocations: 0 / 0.8193 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.104e-05/0.01136, allocations: 112.6 kB / 0.8194 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.01136, allocations: 3.469 kB / 0.8195 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/0.01138, allocations: 7.984 kB / 0.8195 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.01138, allocations: 0 / 0.8195 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.01138, allocations: 0 / 0.8195 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.01138, allocations: 0 / 0.8195 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.01139, allocations: 3.938 kB / 0.8195 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.22e-05/0.01144, allocations: 72.39 kB / 0.8195 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.01146, allocations: 7.984 kB / 0.8195 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.01146, allocations: 4 kB / 0.8195 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.563e-06/0.01147, allocations: 0.9375 kB / 0.8195 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.01148, allocations: 3.938 kB / 0.8195 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.01149, allocations: 1.062 kB / 0.8195 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.108e-05/0.01152, allocations: 127.2 kB / 0.8197 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01152, allocations: 0 / 0.8197 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001406/0.01166, allocations: 28.97 kB / 0.8197 GB, free: 9.414 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.0001554/0.01181, allocations: 131.2 kB / 0.8198 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.762e-05/0.01188, allocations: 24.73 kB / 0.8198 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01188, allocations: 0 / 0.8198 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.395e-05/0.0119, allocations: 12.81 kB / 0.8199 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.01208, allocations: 0 / 0.8199 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.01236, allocations: 142.4 kB / 0.82 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.409e-05/0.0124, allocations: 55.84 kB / 0.82 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.804e-05/0.01242, allocations: 9.875 kB / 0.8201 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.008e-05/0.01244, allocations: 8.5 kB / 0.8201 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of SimCode: time 6.72e-07/0.01245, allocations: 0 / 0.8201 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of Templates: time 0.0031/0.01555, allocations: 0.7981 MB / 0.8208 GB, free: 8.211 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.920683417003602]