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.0007736/0.0007736, allocations: 76.17 kB / 9.933 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001832, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007041/0.0007041, allocations: 161.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001193/0.001898, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.8939/0.8939, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08152/0.9755, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.829/1.829, allocations: 378.2 MB / 0.6076 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4889/2.318, allocations: 123.3 MB / 0.728 GB, free: 5.797 MB / 0.698 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.383e-06/1.383e-06, allocations: 0 / 0.7293 GB, free: 4.492 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.052e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.484 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001826/0.001846, allocations: 1.39 MB / 0.7307 GB, free: 3.105 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003338/0.005184, allocations: 3.874 MB / 0.7345 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.005208, allocations: 4 kB / 0.7345 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.686e-06/0.005216, allocations: 4.969 kB / 0.7345 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.00551, allocations: 100.6 kB / 0.7346 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.005719, allocations: 112.8 kB / 0.7347 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.119e-05/0.00578, allocations: 32.73 kB / 0.7347 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.005815, allocations: 0 / 0.7347 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.005931, allocations: 40.39 kB / 0.7348 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.851e-05/0.00601, allocations: 31.91 kB / 0.7348 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.006024, allocations: 5.812 kB / 0.7348 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00038/0.006404, allocations: 311.5 kB / 0.7351 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.006414, allocations: 0 / 0.7351 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.285e-05/0.006427, allocations: 4 kB / 0.7351 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.0066, allocations: 132.6 kB / 0.7352 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.305e-05/0.006613, allocations: 0 / 0.7352 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.12e-07/0.006614, allocations: 0 / 0.7352 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.006626, allocations: 0.5 kB / 0.7352 GB, free: 14.5 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.0002713/0.006897, allocations: 269.4 kB / 0.7355 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.006924, allocations: 8.031 kB / 0.7355 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.006948, allocations: 0.9375 kB / 0.7355 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.044e-05/0.007019, allocations: 114.7 kB / 0.7356 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.007027, allocations: 384 / 0.7356 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-06/0.007033, allocations: 5.406 kB / 0.7356 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.04e-05/0.007094, allocations: 34.25 kB / 0.7356 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-06/0.007099, allocations: 192 / 0.7356 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-06/0.007105, allocations: 4.812 kB / 0.7356 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.007108, allocations: 0 / 0.7356 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.755e-05/0.007126, allocations: 13.72 kB / 0.7357 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.038e-05/0.007196, allocations: 57.05 kB / 0.7357 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.488e-05/0.007231, allocations: 18.61 kB / 0.7357 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.055e-05/0.007242, allocations: 6.078 kB / 0.7357 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.007356, allocations: 30.03 kB / 0.7358 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.007375, allocations: 38.56 kB / 0.7358 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 5.41e-07/0.007375, allocations: 0 / 0.7358 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 7.404e-05/0.007449, allocations: 33.64 kB / 0.7358 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.007474, allocations: 55.41 kB / 0.7359 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.959e-05/0.007524, allocations: 115.4 kB / 0.736 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.007533, allocations: 25.7 kB / 0.736 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.939e-05/0.007552, allocations: 84.92 kB / 0.7361 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.007571, allocations: 3.953 kB / 0.7361 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.007595, allocations: 14.44 kB / 0.7361 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.03e-05/0.007666, allocations: 318.8 kB / 0.7364 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.541e-06/0.007671, allocations: 1.812 kB / 0.7364 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.662e-06/0.007678, allocations: 4 kB / 0.7364 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.881e-05/0.007697, allocations: 12.84 kB / 0.7364 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.007699, allocations: 0 / 0.7364 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.446e-05/0.007733, allocations: 38.81 kB / 0.7365 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.007746, allocations: 8 kB / 0.7365 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.00775, allocations: 0.5312 kB / 0.7365 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-06/0.007758, allocations: 0 / 0.7365 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.626e-05/0.007794, allocations: 4.812 kB / 0.7365 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.007798, allocations: 3.984 kB / 0.7365 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.014e-05/0.007808, allocations: 4.75 kB / 0.7365 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-06/0.00781, allocations: 0 / 0.7365 GB, free: 13.06 MB / 0.7136 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.504e-05/0.007855, allocations: 111.7 kB / 0.7366 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.487e-06/0.007859, allocations: 0 / 0.7366 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.428e-05/0.007923, allocations: 52.88 kB / 0.7367 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.007925, allocations: 2.75 kB / 0.7367 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.007926, allocations: 0 / 0.7367 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.007929, allocations: 3.938 kB / 0.7367 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.477e-05/0.007973, allocations: 65.89 kB / 0.7367 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.007974, allocations: 0 / 0.7367 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.979e-06/0.007984, allocations: 4 kB / 0.7367 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.007995, allocations: 7.953 kB / 0.7367 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.11e-07/0.007995, allocations: 0 / 0.7367 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-06/0.007998, allocations: 1.781 kB / 0.7367 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.007999, allocations: 0 / 0.7367 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.008002, allocations: 11.91 kB / 0.7368 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.932e-05/0.008042, allocations: 61.02 kB / 0.7368 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-06/0.008049, allocations: 4.5 kB / 0.7368 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.611e-06/0.008055, allocations: 7.062 kB / 0.7368 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-06/0.008065, allocations: 3.984 kB / 0.7368 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-06/0.008066, allocations: 0 / 0.7368 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.041e-05/0.008076, allocations: 17.09 kB / 0.7368 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.008076, allocations: 0 / 0.7368 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001094/0.008186, allocations: 23.88 kB / 0.7369 GB, free: 12.64 MB / 0.7136 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.0001204/0.008306, allocations: 116.3 kB / 0.737 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.449e-05/0.008351, allocations: 15.23 kB / 0.737 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.008353, allocations: 0 / 0.737 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.424e-06/0.008361, allocations: 12.86 kB / 0.737 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.724e-05/0.008438, allocations: 7.984 kB / 0.737 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/0.008933, allocations: 121.9 kB / 0.7371 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.71e-05/0.00896, allocations: 56.27 kB / 0.7372 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.11e-05/0.008981, allocations: 5.141 kB / 0.7372 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.009013, allocations: 54.66 kB / 0.7372 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of SimCode: time 3.8e-07/0.009014, allocations: 0 / 0.7372 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of Templates: time 0.002158/0.01117, allocations: 0.8852 MB / 0.7381 GB, free: 11.37 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.ref.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.5980120357126]