Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.001534/0.001534, allocations: 104.2 kB / 19.74 MB, free: 2.066 MB / 14.72 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.001707/0.001707, allocations: 220 kB / 23.04 MB, free: 4.844 MB / 14.72 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 1.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.099/3.099, allocations: 0.49 GB / 0.7959 GB, free: 35.7 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 68.34 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3579, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002855/0.3608, allocations: 1.491 MB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.3622, allocations: 0.8612 MB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.808e-05/0.3623, allocations: 4 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.3625, allocations: 35.77 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.062e-05/0.3625, allocations: 15.86 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005452/0.3631, allocations: 203.7 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.905e-05/0.3632, allocations: 43.73 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.3632, allocations: 4 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.497e-05/0.3633, allocations: 23.92 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.134e-05/0.3633, allocations: 15.86 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.3633, allocations: 4 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000397/0.3637, allocations: 167.7 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.3638, allocations: 7.984 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.3638, allocations: 19.88 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.364, allocations: 131.5 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.364, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.342e-06/0.364, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.364, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 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.0003763/0.3644, allocations: 298.9 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3644, allocations: 8.031 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.703e-05/0.3645, allocations: 84.17 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.3648, allocations: 207.2 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.389e-05/0.3648, allocations: 154.9 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.718e-05/0.3649, allocations: 154.9 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.47e-05/0.365, allocations: 109.2 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/0.365, allocations: 75.28 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.787e-05/0.3651, allocations: 162.5 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.188e-05/0.3652, allocations: 154.6 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.612e-05/0.3652, allocations: 154.5 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.3655, allocations: 413.5 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.3656, allocations: 177.1 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.3657, allocations: 80.14 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.3657, allocations: 75.28 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.3657, allocations: 109.8 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3658, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.82e-05/0.3658, allocations: 41.58 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.3659, allocations: 126.7 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.3661, allocations: 135.5 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.3661, allocations: 25.7 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.3661, allocations: 92.14 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.3661, allocations: 3.938 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.3662, allocations: 17.7 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3663, allocations: 314.8 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.3663, allocations: 4 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.356e-05/0.3663, allocations: 8 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.879e-05/0.3664, allocations: 20.78 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3664, allocations: 0 / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000122/0.3665, allocations: 45.66 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3665, allocations: 7.938 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.3665, allocations: 4 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3666, allocations: 0 / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.976e-06/0.3666, allocations: 4 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.3666, allocations: 3.938 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.147e-05/0.3666, allocations: 3.984 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3666, allocations: 8.062 kB / 1.333 GB, free: 10.57 MB / 1.029 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.0001176/0.3667, allocations: 181.1 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/0.3668, allocations: 112.9 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.746e-05/0.3668, allocations: 112.8 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.137e-05/0.3669, allocations: 184.2 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.36e-05/0.367, allocations: 176.3 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.742e-05/0.3671, allocations: 184.2 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.3673, allocations: 364.9 kB / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.416e-05/0.3674, allocations: 101 kB / 1.335 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.259e-05/0.3674, allocations: 104.9 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.022e-05/0.3675, allocations: 188.2 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.329e-05/0.3676, allocations: 188.2 kB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.588e-05/0.3677, allocations: 176.3 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-05/0.3677, allocations: 188.2 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.3679, allocations: 303.8 kB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.504e-05/0.368, allocations: 112.9 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.824e-05/0.368, allocations: 188.1 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.274e-05/0.3681, allocations: 105 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/0.3682, allocations: 184.2 kB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.523e-05/0.3683, allocations: 101 kB / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.191e-05/0.3683, allocations: 104.7 kB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3683, allocations: 4 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002839/0.3686, allocations: 31.88 kB / 1.336 GB, free: 7.055 MB / 1.029 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.0003013/0.3689, allocations: 222.3 kB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.369, allocations: 37.64 kB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.369, allocations: 3.938 kB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.347e-06/0.369, allocations: 4 kB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.3695, allocations: 463.7 kB / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.3699, allocations: 253.1 kB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.686e-05/0.3699, allocations: 71.33 kB / 1.337 GB, free: 5.949 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.618e-05/0.3699, allocations: 7.438 kB / 1.338 GB, free: 5.941 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3699, allocations: 0 / 1.338 GB, free: 5.941 MB / 1.029 GB Notification: Performance of Templates: time 0.003051/0.373, allocations: 1.315 MB / 1.339 GB, free: 4.633 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.111746327020228]