Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.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.001695/0.001695, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001851/0.001851, allocations: 216.1 kB / 22.25 MB, free: 5.078 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.992 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.264/3.264, allocations: 0.4899 GB / 0.795 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] 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.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks") [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.002041/0.002041, allocations: 71.2 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3839, allocations: 176.1 MB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.00375/0.3876, allocations: 1.811 MB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.3891, allocations: 0.7519 MB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.491e-05/0.3892, allocations: 7.938 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.021e-05/0.3893, allocations: 11.86 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.81e-05/0.3893, allocations: 15.81 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006253/0.39, allocations: 183 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000251/0.3902, allocations: 131.6 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.3904, allocations: 45.48 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.3905, allocations: 63.77 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3907, allocations: 47.77 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.3907, allocations: 12 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.3908, allocations: 51.97 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.718e-05/0.3908, allocations: 31.89 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.741e-05/0.3909, allocations: 55.66 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.3912, allocations: 155.4 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3912, allocations: 8 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3912, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3912, allocations: 0 / 1.33 GB, free: 14.05 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006556/0.3919, allocations: 361.7 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3919, allocations: 8.031 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009985/0.3929, allocations: 136.6 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.3932, allocations: 158.8 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.3934, allocations: 119.3 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.3934, allocations: 7.938 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/0.3939, allocations: 175.5 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3939, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.394, allocations: 8 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.394, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000632/0.3946, allocations: 155.8 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.3957, allocations: 457 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.3968, allocations: 218.3 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/0.3971, allocations: 84.84 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.3972, allocations: 0 / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.3972, allocations: 42.5 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.3972, allocations: 0 / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.001017/0.3982, allocations: 261.4 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.3983, allocations: 55.34 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.3984, allocations: 144.1 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.3984, allocations: 29.64 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.63e-05/0.3985, allocations: 120.2 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.3986, allocations: 19.86 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.3986, allocations: 25.7 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3988, allocations: 322.8 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.3991, allocations: 75.86 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.3994, allocations: 98.48 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005722/0.3999, allocations: 158.4 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3999, allocations: 0 / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006732/0.4006, allocations: 205.4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4006, allocations: 4 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.4006, allocations: 4.062 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.4007, allocations: 7.938 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.4009, allocations: 31.95 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.4009, allocations: 4 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.4011, allocations: 35.84 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.4012, allocations: 0 / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 0.000131/0.4013, allocations: 121.8 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.4013, allocations: 11.89 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007553/0.4021, allocations: 202.2 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.4021, allocations: 4 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4021, allocations: 0 / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4021, allocations: 0 / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.4024, allocations: 217.2 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4024, allocations: 0 / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.4026, allocations: 32.33 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4026, allocations: 0 / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.4027, allocations: 7.984 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4027, allocations: 0 / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4027, allocations: 4 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007024/0.4034, allocations: 287.2 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.4034, allocations: 15.91 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.4034, allocations: 4 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.4037, allocations: 27.95 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.4037, allocations: 11.92 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.4038, allocations: 8 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.267e-05/0.4039, allocations: 109.9 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4039, allocations: 0 / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002746/0.4041, allocations: 23.94 kB / 1.334 GB, free: 9.219 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 (6): * Single equations (assignments): 6 * 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.0001497/0.4043, allocations: 103.2 kB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006628/0.4049, allocations: 163.7 kB / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4049, allocations: 4 kB / 1.334 GB, free: 8.945 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003019/0.4052, allocations: 84.03 kB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.4055, allocations: 7.938 kB / 1.334 GB, free: 8.855 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007156/0.4062, allocations: 255.6 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.4066, allocations: 0.7041 MB / 1.335 GB, free: 7.848 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.162e-05/0.4067, allocations: 23.73 kB / 1.335 GB, free: 7.824 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.4068, allocations: 15.42 kB / 1.335 GB, free: 7.809 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.4068, allocations: 0 / 1.335 GB, free: 7.809 MB / 1.029 GB Notification: Performance of Templates: time 0.004819/0.4116, allocations: 1.527 MB / 1.337 GB, free: 6.293 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.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: 9.173893088009208]