Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.001307/0.001307, allocations: 120.3 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.001346/0.001346, allocations: 191.7 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.516/1.516, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.732/2.732, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 176] 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.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 71.89 kB / 1.057 GB, free: 1.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3686, allocations: 160.7 MB / 1.214 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003224/0.3718, allocations: 1.493 MB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.3734, allocations: 0.9158 MB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.25e-05/0.3735, allocations: 3.938 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.3737, allocations: 39.83 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.289e-05/0.3737, allocations: 19.78 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005581/0.3743, allocations: 194.2 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.3744, allocations: 43.73 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.3744, allocations: 7.984 kB / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.86e-05/0.3745, allocations: 19.88 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.564e-05/0.3746, allocations: 19.92 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.3746, allocations: 3.938 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004047/0.375, allocations: 175.8 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.375, allocations: 3.938 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.375, allocations: 19.88 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.3753, allocations: 123.5 kB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3753, allocations: 0 / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3753, allocations: 0 / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3753, allocations: 4 kB / 1.217 GB, free: 13.79 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004603/0.3758, allocations: 375 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3758, allocations: 12.03 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.016e-05/0.3759, allocations: 80.17 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.3762, allocations: 261.5 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.804e-05/0.3763, allocations: 150.9 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.4e-05/0.3764, allocations: 154.9 kB / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.595e-05/0.3765, allocations: 117.2 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/0.3765, allocations: 75.28 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.26e-05/0.3766, allocations: 150.6 kB / 1.218 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-05/0.3767, allocations: 150.6 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.974e-05/0.3767, allocations: 154.6 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.3771, allocations: 461.9 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.3772, allocations: 177.1 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.3773, allocations: 80.14 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.3773, allocations: 75.28 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.521e-05/0.3774, allocations: 113.8 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3774, allocations: 4 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.504e-05/0.3775, allocations: 41.64 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/0.3776, allocations: 130.6 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.3777, allocations: 133.8 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.3778, allocations: 25.7 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.3778, allocations: 100.1 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.3778, allocations: 0 / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.3779, allocations: 13.72 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.378, allocations: 326.8 kB / 1.22 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.3781, allocations: 0 / 1.22 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.149e-05/0.3781, allocations: 4 kB / 1.22 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.866e-05/0.3781, allocations: 12.86 kB / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3781, allocations: 0 / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000142/0.3783, allocations: 53.62 kB / 1.22 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3783, allocations: 9.656 kB / 1.22 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.3783, allocations: 0 / 1.22 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3783, allocations: 0 / 1.22 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.3783, allocations: 8.062 kB / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3783, allocations: 0 / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.433e-05/0.3783, allocations: 7.891 kB / 1.22 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.3784, allocations: 0 / 1.22 GB, free: 10.17 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001284/0.3785, allocations: 185.1 kB / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.228e-05/0.3786, allocations: 104.9 kB / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.001e-05/0.3786, allocations: 120.8 kB / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.646e-05/0.3787, allocations: 180.3 kB / 1.221 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.36e-05/0.3788, allocations: 180.2 kB / 1.221 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.913e-05/0.3789, allocations: 184.2 kB / 1.221 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.3792, allocations: 413.2 kB / 1.222 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-05/0.3793, allocations: 108.9 kB / 1.222 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.726e-05/0.3793, allocations: 104.9 kB / 1.222 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.179e-05/0.3794, allocations: 180.3 kB / 1.222 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.539e-05/0.3795, allocations: 184.2 kB / 1.222 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.659e-05/0.3796, allocations: 184.2 kB / 1.222 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.739e-05/0.3797, allocations: 184.2 kB / 1.223 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.3799, allocations: 307.8 kB / 1.223 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.38, allocations: 197.9 kB / 1.223 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.3801, allocations: 180.3 kB / 1.223 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.35e-05/0.3802, allocations: 104.9 kB / 1.223 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.3803, allocations: 180.3 kB / 1.224 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/0.3804, allocations: 105 kB / 1.224 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.668e-05/0.3804, allocations: 107.2 kB / 1.224 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3804, allocations: 0 / 1.224 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003045/0.3807, allocations: 31.88 kB / 1.224 GB, free: 6.492 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 (0): * Single equations (assignments): 0 * 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.0003375/0.3811, allocations: 222.3 kB / 1.224 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.3812, allocations: 29.7 kB / 1.224 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3812, allocations: 0 / 1.224 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.3812, allocations: 0 / 1.224 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/0.3817, allocations: 473.8 kB / 1.224 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.3821, allocations: 263.4 kB / 1.225 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.3825, allocations: 0.6846 MB / 1.225 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.433e-05/0.3825, allocations: 7.438 kB / 1.225 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.3825, allocations: 0 / 1.225 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of Templates: time 0.003091/0.3856, allocations: 1.249 MB / 1.227 GB, free: 3.523 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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: 11.155419968999922]