Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 102.3 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 225.6 MB / 250 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.653/2.653, allocations: 443.5 MB / 0.731 GB, free: 12.7 MB / 0.5919 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.91 kB / 1.06 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8736/0.8756, allocations: 160.7 MB / 1.217 GB, free: 3.965 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002687/0.8783, allocations: 1.29 MB / 1.218 GB, free: 2.953 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005056/0.8833, allocations: 3.787 MB / 1.222 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.649e-05/0.8834, allocations: 0 / 1.222 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.8834, allocations: 3.938 kB / 1.222 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004759/0.8839, allocations: 96.83 kB / 1.222 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.8843, allocations: 149.7 kB / 1.222 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.012e-05/0.8843, allocations: 28.42 kB / 1.222 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.8844, allocations: 1.094 kB / 1.222 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.8845, allocations: 30.88 kB / 1.222 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.8846, allocations: 39.8 kB / 1.222 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.8846, allocations: 0 / 1.222 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005183/0.8851, allocations: 302.4 kB / 1.222 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.8852, allocations: 0 / 1.222 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.8852, allocations: 15.41 kB / 1.222 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.8854, allocations: 125.7 kB / 1.222 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.8854, allocations: 1.094 kB / 1.222 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8854, allocations: 0 / 1.222 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.8854, allocations: 0 / 1.222 GB, free: 15.39 MB / 0.9356 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.00048/0.8859, allocations: 355 kB / 1.223 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.886, allocations: 9.531 kB / 1.223 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.886, allocations: 14.25 kB / 1.223 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.8862, allocations: 162.8 kB / 1.223 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.8862, allocations: 384 / 1.223 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.8862, allocations: 9.312 kB / 1.223 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.953e-05/0.8863, allocations: 33.2 kB / 1.223 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.8863, allocations: 0.9375 kB / 1.223 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.8863, allocations: 0 / 1.223 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.8863, allocations: 1.031 kB / 1.223 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.822e-05/0.8864, allocations: 8.047 kB / 1.223 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.8865, allocations: 153.5 kB / 1.223 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.166e-05/0.8866, allocations: 27.64 kB / 1.223 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/0.8866, allocations: 10.95 kB / 1.223 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/0.8869, allocations: 95.5 kB / 1.223 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.8869, allocations: 35.72 kB / 1.223 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8869, allocations: 0 / 1.223 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001584/0.8871, allocations: 48.92 kB / 1.223 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.8871, allocations: 55.41 kB / 1.223 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.746e-05/0.8872, allocations: 108.5 kB / 1.223 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.8872, allocations: 25.7 kB / 1.223 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.8873, allocations: 81.36 kB / 1.223 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.8873, allocations: 13.2 kB / 1.223 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.8873, allocations: 12.12 kB / 1.223 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.8875, allocations: 312.2 kB / 1.224 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.874e-05/0.8875, allocations: 9.188 kB / 1.224 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.235e-05/0.8875, allocations: 7.328 kB / 1.224 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.64e-05/0.8875, allocations: 17.98 kB / 1.224 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.8876, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.1e-05/0.8876, allocations: 47.97 kB / 1.224 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.8876, allocations: 5.125 kB / 1.224 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.8876, allocations: 0 / 1.224 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.8877, allocations: 1.188 kB / 1.224 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.55e-05/0.8877, allocations: 3.156 kB / 1.224 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.8877, allocations: 8.078 kB / 1.224 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.666e-05/0.8877, allocations: 1.062 kB / 1.224 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-06/0.8877, allocations: 7.875 kB / 1.224 GB, free: 13.62 MB / 0.9356 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 8.909e-05/0.8878, allocations: 108.2 kB / 1.224 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.8878, allocations: 5.125 kB / 1.224 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.888, allocations: 47.28 kB / 1.224 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.888, allocations: 0 / 1.224 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.888, allocations: 5.156 kB / 1.224 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.888, allocations: 0 / 1.224 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.8881, allocations: 154.3 kB / 1.224 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.8881, allocations: 0 / 1.224 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.8881, allocations: 7.781 kB / 1.224 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.8881, allocations: 0 / 1.224 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.8881, allocations: 1.281 kB / 1.224 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.8881, allocations: 0 / 1.224 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8881, allocations: 0 / 1.224 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.456e-05/0.8882, allocations: 76.11 kB / 1.224 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.5e-05/0.8883, allocations: 82.27 kB / 1.224 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.8883, allocations: 1.281 kB / 1.224 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.453e-05/0.8883, allocations: 0 / 1.224 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.8883, allocations: 5.141 kB / 1.224 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.8883, allocations: 5.062 kB / 1.224 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.523e-05/0.8884, allocations: 83.84 kB / 1.224 GB, free: 13 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8884, allocations: 0 / 1.224 GB, free: 13 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000216/0.8886, allocations: 25.84 kB / 1.224 GB, free: 12.99 MB / 0.9356 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.0002201/0.8888, allocations: 135.6 kB / 1.225 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.237e-05/0.8889, allocations: 14.41 kB / 1.225 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8889, allocations: 3.938 kB / 1.225 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.8889, allocations: 4.406 kB / 1.225 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.8892, allocations: 2.094 kB / 1.225 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/0.8895, allocations: 161.9 kB / 1.225 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.8898, allocations: 0.6723 MB / 1.225 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.8898, allocations: 13.97 kB / 1.225 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.8898, allocations: 0 / 1.225 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of Templates: time 0.002475/0.8923, allocations: 0.7356 MB / 1.226 GB, free: 11.64 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches