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.001308/0.001308, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001713/0.001713, allocations: 161 kB / 24.16 MB, free: 336 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.9305/0.9305, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.813/1.813, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.202e-06/1.202e-06, allocations: 0 / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.379e-05, allocations: 2.969 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001489/0.001503, allocations: 1.358 MB / 0.7614 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002964/0.004467, allocations: 3.852 MB / 0.7651 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.266e-05/0.00449, allocations: 0 / 0.7651 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.004504, allocations: 4.875 kB / 0.7651 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003604/0.004865, allocations: 112.6 kB / 0.7652 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.00508, allocations: 137 kB / 0.7654 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.119e-05/0.005131, allocations: 35.84 kB / 0.7654 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.634e-05/0.005157, allocations: 0.6562 kB / 0.7654 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.547e-05/0.005243, allocations: 24.67 kB / 0.7654 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.782e-05/0.00531, allocations: 39.89 kB / 0.7655 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.676e-06/0.005319, allocations: 0.75 kB / 0.7655 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.005615, allocations: 297.5 kB / 0.7657 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.197e-06/0.005624, allocations: 7.938 kB / 0.7658 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.22e-05/0.005636, allocations: 4 kB / 0.7658 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.005795, allocations: 143.6 kB / 0.7659 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.005796, allocations: 0 / 0.7659 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.61e-07/0.005797, allocations: 4 kB / 0.7659 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.595e-06/0.0058, allocations: 1.219 kB / 0.7659 GB, free: 0.6562 MB / 0.7136 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.000225/0.006025, allocations: 260.6 kB / 0.7662 GB, free: 388 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.567e-05/0.00605, allocations: 10.47 kB / 0.7662 GB, free: 380 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.002e-05/0.00607, allocations: 8.859 kB / 0.7662 GB, free: 372 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.293e-05/0.006133, allocations: 113.7 kB / 0.7663 GB, free: 232 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-06/0.006141, allocations: 4.312 kB / 0.7663 GB, free: 228 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-06/0.006148, allocations: 4.375 kB / 0.7663 GB, free: 224 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.658e-05/0.006194, allocations: 30.27 kB / 0.7663 GB, free: 188 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-06/0.006199, allocations: 192 / 0.7663 GB, free: 188 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.006208, allocations: 11.16 kB / 0.7663 GB, free: 180 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-06/0.00621, allocations: 0 / 0.7663 GB, free: 180 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.276e-05/0.006223, allocations: 3.984 kB / 0.7663 GB, free: 176 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.714e-05/0.00629, allocations: 57.05 kB / 0.7664 GB, free: 104 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.354e-05/0.006324, allocations: 22.55 kB / 0.7664 GB, free: 72 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.121e-05/0.006335, allocations: 8.922 kB / 0.7664 GB, free: 60 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.006445, allocations: 17.95 kB / 0.7664 GB, free: 44 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.006462, allocations: 34.56 kB / 0.7665 GB, free: 0 / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.006462, allocations: 0 / 0.7665 GB, free: 0 / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 8.256e-05/0.006545, allocations: 44.94 kB / 0.7665 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.006571, allocations: 55.34 kB / 0.7666 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.484e-05/0.006616, allocations: 110.6 kB / 0.7667 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/0.006623, allocations: 25.7 kB / 0.7667 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.901e-05/0.006642, allocations: 84.14 kB / 0.7668 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.006658, allocations: 3.953 kB / 0.7668 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.006684, allocations: 13.72 kB / 0.7668 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.498e-05/0.006749, allocations: 314.8 kB / 0.7671 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.819e-06/0.006754, allocations: 0 / 0.7671 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-06/0.006761, allocations: 11.02 kB / 0.7671 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.716e-05/0.006778, allocations: 12.86 kB / 0.7671 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.00678, allocations: 0 / 0.7671 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.294e-05/0.006813, allocations: 37.64 kB / 0.7671 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.006821, allocations: 4 kB / 0.7671 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.006825, allocations: 3.984 kB / 0.7672 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.006836, allocations: 1.406 kB / 0.7672 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.177e-05/0.006868, allocations: 4 kB / 0.7672 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.00687, allocations: 0 / 0.7672 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-06/0.00688, allocations: 3.938 kB / 0.7672 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-06/0.006883, allocations: 1.281 kB / 0.7672 GB, free: 15.23 MB / 0.7292 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 4.304e-05/0.006926, allocations: 109.8 kB / 0.7673 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-06/0.006929, allocations: 0 / 0.7673 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.756e-05/0.006987, allocations: 46.28 kB / 0.7673 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006989, allocations: 4.188 kB / 0.7673 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.00699, allocations: 0.6562 kB / 0.7673 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.006994, allocations: 7.938 kB / 0.7673 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.553e-05/0.007039, allocations: 66.39 kB / 0.7674 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.00704, allocations: 1.5 kB / 0.7674 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.293e-05/0.007053, allocations: 7.938 kB / 0.7674 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.007053, allocations: 0 / 0.7674 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-06/0.007056, allocations: 0 / 0.7674 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.007057, allocations: 0.9688 kB / 0.7674 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.3e-07/0.007057, allocations: 0 / 0.7674 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.024e-05/0.007097, allocations: 65.66 kB / 0.7675 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.007109, allocations: 7.938 kB / 0.7675 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-06/0.007115, allocations: 0.5938 kB / 0.7675 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-06/0.007122, allocations: 4.656 kB / 0.7675 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-06/0.00713, allocations: 4 kB / 0.7675 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-06/0.007131, allocations: 0.5625 kB / 0.7675 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.107e-06/0.00714, allocations: 14.16 kB / 0.7675 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00714, allocations: 0 / 0.7675 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001098/0.00725, allocations: 23.88 kB / 0.7675 GB, free: 14.82 MB / 0.7292 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.0001158/0.007365, allocations: 113.8 kB / 0.7676 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.168e-05/0.007407, allocations: 16.8 kB / 0.7676 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.007409, allocations: 0 / 0.7676 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.003e-06/0.007416, allocations: 11.3 kB / 0.7676 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.65e-05/0.007482, allocations: 7.938 kB / 0.7677 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001715/0.007654, allocations: 126.6 kB / 0.7678 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.145e-05/0.007675, allocations: 51.36 kB / 0.7678 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.862e-05/0.007694, allocations: 9.547 kB / 0.7678 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.007723, allocations: 51.38 kB / 0.7679 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of SimCode: time 3.81e-07/0.007723, allocations: 0 / 0.7679 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of Templates: time 0.002046/0.009769, allocations: 0.8872 MB / 0.7687 GB, free: 13.54 MB / 0.7292 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.679674342740327]