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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002146/0.002146, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 249.4 MB, free: 3.023 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.82/2.82, allocations: 443.4 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,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.002039/0.002039, allocations: 63.91 kB / 1.059 GB, free: 344 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2905, allocations: 160.8 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002293/0.2928, allocations: 1.29 MB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004643/0.2974, allocations: 3.823 MB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.906e-05/0.2975, allocations: 0 / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.209e-05/0.2975, allocations: 0 / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004172/0.2979, allocations: 107.5 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.2982, allocations: 143.3 kB / 1.221 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.211e-05/0.2983, allocations: 23.92 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.437e-05/0.2983, allocations: 4 kB / 1.221 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.2984, allocations: 31.78 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.551e-05/0.2985, allocations: 39.95 kB / 1.221 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.877e-06/0.2985, allocations: 0 / 1.221 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004794/0.299, allocations: 307.6 kB / 1.222 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.186e-06/0.299, allocations: 0 / 1.222 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.299, allocations: 11.92 kB / 1.222 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.2992, allocations: 123.6 kB / 1.222 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2992, allocations: 0 / 1.222 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2992, allocations: 0 / 1.222 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.2993, allocations: 0 / 1.222 GB, free: 9.371 MB / 0.9669 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.0004141/0.2997, allocations: 363.1 kB / 1.222 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2997, allocations: 11.97 kB / 1.222 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.2997, allocations: 8.891 kB / 1.222 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.2999, allocations: 160.4 kB / 1.222 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.2999, allocations: 384 / 1.222 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.2999, allocations: 384 / 1.222 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.363e-05/0.3, allocations: 37.81 kB / 1.222 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3, allocations: 0 / 1.222 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-06/0.3, allocations: 0 / 1.222 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3, allocations: 4 kB / 1.222 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.6e-05/0.3, allocations: 12 kB / 1.222 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.3002, allocations: 157.6 kB / 1.223 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.205e-05/0.3002, allocations: 18.58 kB / 1.223 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.085e-05/0.3003, allocations: 8.922 kB / 1.223 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.3005, allocations: 93.09 kB / 1.223 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.3005, allocations: 46.48 kB / 1.223 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3005, allocations: 0 / 1.223 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001356/0.3007, allocations: 45.59 kB / 1.223 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.3007, allocations: 51.41 kB / 1.223 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.506e-05/0.3008, allocations: 105.8 kB / 1.223 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.3008, allocations: 25.7 kB / 1.223 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.3009, allocations: 80.14 kB / 1.223 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.3009, allocations: 12.08 kB / 1.223 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.3009, allocations: 13.72 kB / 1.223 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.301, allocations: 314.8 kB / 1.223 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.3011, allocations: 8 kB / 1.223 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-06/0.3011, allocations: 0 / 1.223 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.391e-05/0.3011, allocations: 12.86 kB / 1.223 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3011, allocations: 3.938 kB / 1.223 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.305e-05/0.3012, allocations: 49.64 kB / 1.223 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3012, allocations: 8 kB / 1.223 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3012, allocations: 0 / 1.223 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3012, allocations: 0 / 1.223 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.099e-05/0.3012, allocations: 7.984 kB / 1.223 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.3013, allocations: 0 / 1.223 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.511e-05/0.3013, allocations: 256 / 1.223 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.3013, allocations: 3.938 kB / 1.223 GB, free: 7.5 MB / 0.9669 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 7.311e-05/0.3013, allocations: 109.8 kB / 1.224 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.3014, allocations: 3.938 kB / 1.224 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.3015, allocations: 56.78 kB / 1.224 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3015, allocations: 4 kB / 1.224 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.3015, allocations: 0 / 1.224 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.3015, allocations: 0 / 1.224 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.3016, allocations: 153.7 kB / 1.224 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3016, allocations: 0 / 1.224 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.558e-05/0.3016, allocations: 7.938 kB / 1.224 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.3016, allocations: 0 / 1.224 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.3016, allocations: 0 / 1.224 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3016, allocations: 4.031 kB / 1.224 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3016, allocations: 0 / 1.224 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.912e-05/0.3017, allocations: 69.08 kB / 1.224 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.3018, allocations: 88.97 kB / 1.224 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.3018, allocations: 4 kB / 1.224 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.638e-05/0.3018, allocations: 7.984 kB / 1.224 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.3018, allocations: 0 / 1.224 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.3018, allocations: 4.031 kB / 1.224 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.656e-05/0.3019, allocations: 83.22 kB / 1.224 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3019, allocations: 0 / 1.224 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002069/0.3021, allocations: 23.94 kB / 1.224 GB, free: 6.785 MB / 0.9669 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.0001907/0.3023, allocations: 139.1 kB / 1.224 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.52e-05/0.3023, allocations: 4 kB / 1.224 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3023, allocations: 4 kB / 1.224 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.488e-05/0.3024, allocations: 8.062 kB / 1.224 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.3025, allocations: 3.984 kB / 1.224 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.3028, allocations: 135.6 kB / 1.224 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.3031, allocations: 0.6729 MB / 1.225 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.384e-05/0.3032, allocations: 64 / 1.225 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/0.3032, allocations: 19.42 kB / 1.225 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3032, allocations: 0 / 1.225 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of Templates: time 0.0031/0.3063, allocations: 0.7553 MB / 1.226 GB, free: 5.004 MB / 0.9669 GB " [Timeout remaining time 300] 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/jenkins/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 [Calling sys.exit(0), Time elapsed: 8.02416488993913]