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.001484/0.001484, allocations: 119 kB / 17.13 MB, free: 5.918 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.001643/0.001643, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.508/1.508, allocations: 225.6 MB / 248.5 MB, free: 3.605 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.647/2.647, allocations: 443.5 MB / 0.7293 GB, free: 14.5 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.002003/0.002003, allocations: 63.91 kB / 1.057 GB, free: 1.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.362, allocations: 160.7 MB / 1.214 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002936/0.3649, allocations: 1.302 MB / 1.215 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005442/0.3704, allocations: 3.787 MB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.439e-05/0.3704, allocations: 0 / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.205e-05/0.3704, allocations: 4 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005804/0.371, allocations: 99.48 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.3715, allocations: 147.4 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.931e-05/0.3716, allocations: 23.92 kB / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.624e-05/0.3716, allocations: 0 / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.3718, allocations: 31.84 kB / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.3719, allocations: 35.91 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.3719, allocations: 0 / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005956/0.3725, allocations: 303.6 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.3725, allocations: 11.94 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.3725, allocations: 0 / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.3728, allocations: 127.6 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.3728, allocations: 7.938 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3728, allocations: 0 / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.3729, allocations: 0 / 1.22 GB, free: 11.02 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.000517/0.3734, allocations: 359.1 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3734, allocations: 12.02 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.3734, allocations: 0.9375 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.3736, allocations: 176.3 kB / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3736, allocations: 384 / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.3736, allocations: 384 / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.3737, allocations: 33.83 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3737, allocations: 0 / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.3738, allocations: 0 / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3738, allocations: 3.984 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.407e-05/0.3738, allocations: 8 kB / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.374, allocations: 153.7 kB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.791e-05/0.3741, allocations: 30.55 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.101e-05/0.3741, allocations: 4.859 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/0.3744, allocations: 97.16 kB / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.3744, allocations: 38.5 kB / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.3744, allocations: 0 / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001659/0.3746, allocations: 49.64 kB / 1.221 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.3746, allocations: 51.41 kB / 1.221 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.447e-05/0.3747, allocations: 105.8 kB / 1.221 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3747, allocations: 25.7 kB / 1.221 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.3748, allocations: 88.14 kB / 1.221 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.3748, allocations: 3.953 kB / 1.221 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.3748, allocations: 13.72 kB / 1.221 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.375, allocations: 315 kB / 1.221 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.375, allocations: 7.984 kB / 1.221 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.217e-05/0.375, allocations: 4 kB / 1.221 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.905e-05/0.3751, allocations: 8.859 kB / 1.221 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3751, allocations: 4 kB / 1.221 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.067e-05/0.3751, allocations: 41.64 kB / 1.221 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3752, allocations: 4 kB / 1.221 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3752, allocations: 0 / 1.221 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3752, allocations: 3.938 kB / 1.221 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.92e-05/0.3752, allocations: 12.08 kB / 1.221 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.3752, allocations: 0 / 1.221 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.3753, allocations: 4 kB / 1.221 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.3753, allocations: 256 / 1.221 GB, free: 9.152 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 8.473e-05/0.3754, allocations: 105.8 kB / 1.221 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.3754, allocations: 7.875 kB / 1.221 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.3755, allocations: 56.75 kB / 1.222 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3755, allocations: 8.031 kB / 1.222 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3755, allocations: 0 / 1.222 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3755, allocations: 0 / 1.222 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.3757, allocations: 149.7 kB / 1.222 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3757, allocations: 4 kB / 1.222 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.981e-05/0.3757, allocations: 7.875 kB / 1.222 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3757, allocations: 0 / 1.222 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.3757, allocations: 4 kB / 1.222 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3757, allocations: 0 / 1.222 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3757, allocations: 0 / 1.222 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.3758, allocations: 77.06 kB / 1.222 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.3759, allocations: 88.98 kB / 1.222 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.3759, allocations: 0 / 1.222 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.514e-05/0.3759, allocations: 0 / 1.222 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.3759, allocations: 7.984 kB / 1.222 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.3759, allocations: 0 / 1.222 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.105e-05/0.376, allocations: 79.28 kB / 1.222 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.376, allocations: 0 / 1.222 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002414/0.3762, allocations: 23.97 kB / 1.222 GB, free: 8.438 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.0002489/0.3765, allocations: 135.1 kB / 1.222 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.616e-05/0.3766, allocations: 11.94 kB / 1.222 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3766, allocations: 0 / 1.222 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.354e-05/0.3766, allocations: 4 kB / 1.222 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.3768, allocations: 8 kB / 1.222 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.3772, allocations: 161.5 kB / 1.222 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.3775, allocations: 0.6729 MB / 1.223 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.3775, allocations: 7.438 kB / 1.223 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.3775, allocations: 0 / 1.223 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of Templates: time 0.002652/0.3802, allocations: 0.7365 MB / 1.224 GB, free: 6.648 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.760771905072033]