Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.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.001529/0.001529, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.001335/0.001335, allocations: 163.5 kB / 23.01 MB, free: 4.945 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.41/1.41, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.607/2.607, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit") [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.002096/0.002096, allocations: 67.91 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2871, allocations: 169.9 MB / 1.117 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002627/0.2898, allocations: 1.494 MB / 1.119 GB, free: 1.055 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.2908, allocations: 0.5728 MB / 1.119 GB, free: 488 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.584e-05/0.2908, allocations: 0 / 1.119 GB, free: 488 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.2908, allocations: 3.938 kB / 1.119 GB, free: 484 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.613e-05/0.2909, allocations: 7.938 kB / 1.119 GB, free: 476 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.2911, allocations: 59.81 kB / 1.12 GB, free: 416 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.114e-05/0.2912, allocations: 27.92 kB / 1.12 GB, free: 388 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.579e-05/0.2913, allocations: 7.938 kB / 1.12 GB, free: 380 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.2914, allocations: 27.84 kB / 1.12 GB, free: 352 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.651e-05/0.2915, allocations: 15.92 kB / 1.12 GB, free: 336 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.2915, allocations: 0 / 1.12 GB, free: 336 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.2916, allocations: 55.95 kB / 1.12 GB, free: 280 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.2916, allocations: 0 / 1.12 GB, free: 280 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.2916, allocations: 19.92 kB / 1.12 GB, free: 260 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.2918, allocations: 71.73 kB / 1.12 GB, free: 188 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2918, allocations: 0 / 1.12 GB, free: 188 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2918, allocations: 0 / 1.12 GB, free: 188 kB / 1.061 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2918, allocations: 0 / 1.12 GB, free: 188 kB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004258/0.2922, allocations: 278.2 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.2922, allocations: 8.031 kB / 1.12 GB, free: 15.87 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.2924, allocations: 12.92 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.2926, allocations: 130.4 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-06/0.2926, allocations: 384 / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.2926, allocations: 4.375 kB / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.2927, allocations: 46 kB / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2927, allocations: 0 / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.2927, allocations: 0 / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2927, allocations: 0 / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.522e-05/0.2928, allocations: 19.98 kB / 1.12 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.2931, allocations: 196.6 kB / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.389e-05/0.2932, allocations: 38.44 kB / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.847e-05/0.2932, allocations: 20.92 kB / 1.12 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000633/0.2939, allocations: 87.86 kB / 1.121 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.2939, allocations: 38.56 kB / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2939, allocations: 0 / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0002364/0.2941, allocations: 69.56 kB / 1.121 GB, free: 15.13 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.2942, allocations: 51.41 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.287e-05/0.2943, allocations: 121.7 kB / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.2943, allocations: 25.7 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.2943, allocations: 88.14 kB / 1.121 GB, free: 14.82 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.2944, allocations: 3.953 kB / 1.121 GB, free: 14.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.2944, allocations: 13.72 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2945, allocations: 318.8 kB / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/0.2946, allocations: 8 kB / 1.121 GB, free: 14.47 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.663e-05/0.2946, allocations: 12.11 kB / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.992e-05/0.2947, allocations: 28.91 kB / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2947, allocations: 0 / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001275/0.2948, allocations: 61.56 kB / 1.121 GB, free: 14.36 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.2948, allocations: 4 kB / 1.121 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.2948, allocations: 0 / 1.121 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2948, allocations: 0 / 1.121 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.379e-05/0.2949, allocations: 7.984 kB / 1.121 GB, free: 14.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.2949, allocations: 0 / 1.121 GB, free: 14.35 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.284e-05/0.2949, allocations: 8.031 kB / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.2949, allocations: 4 kB / 1.121 GB, free: 14.34 MB / 1.076 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.992e-05/0.295, allocations: 117.8 kB / 1.121 GB, free: 14.21 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.295, allocations: 3.953 kB / 1.121 GB, free: 14.21 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.2952, allocations: 61.23 kB / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2952, allocations: 0 / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.2952, allocations: 4 kB / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.2952, allocations: 0 / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.2953, allocations: 105.3 kB / 1.122 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2954, allocations: 7.969 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.2954, allocations: 7.984 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.2954, allocations: 4 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.2954, allocations: 4 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2954, allocations: 0 / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2954, allocations: 3.984 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.2956, allocations: 155.5 kB / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-06/0.2956, allocations: 3.938 kB / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.2956, allocations: 0 / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.379e-05/0.2957, allocations: 8.031 kB / 1.122 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.2957, allocations: 7.938 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.2957, allocations: 0 / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.289e-05/0.2958, allocations: 99.52 kB / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.2958, allocations: 0 / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002417/0.296, allocations: 15.94 kB / 1.122 GB, free: 13.68 MB / 1.076 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.000146/0.2961, allocations: 115.1 kB / 1.122 GB, free: 13.56 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001278/0.2963, allocations: 19.98 kB / 1.122 GB, free: 13.54 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.2963, allocations: 4.062 kB / 1.122 GB, free: 13.54 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.798e-05/0.2963, allocations: 15.98 kB / 1.122 GB, free: 13.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.2965, allocations: 7.938 kB / 1.122 GB, free: 13.51 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.2968, allocations: 130.7 kB / 1.122 GB, free: 13.36 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.852e-05/0.2969, allocations: 63.34 kB / 1.122 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.093e-05/0.2969, allocations: 4 kB / 1.122 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.911e-05/0.2969, allocations: 8.5 kB / 1.122 GB, free: 13.26 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.2969, allocations: 4.062 kB / 1.122 GB, free: 13.26 MB / 1.076 GB Notification: Performance of Templates: time 0.002934/0.2998, allocations: 0.671 MB / 1.123 GB, free: 12.59 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.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.093513441970572]