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.001562/0.001562, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001908/0.001908, allocations: 206.6 kB / 22.99 MB, free: 4.965 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.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.786/2.786, allocations: 476 MB / 0.7707 GB, free: 4.73 MB / 0.6231 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.002158/0.002158, allocations: 68.58 kB / 1.118 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3922, allocations: 170 MB / 1.284 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002971/0.3952, allocations: 1.47 MB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.3963, allocations: 0.5784 MB / 1.286 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.02e-05/0.3964, allocations: 3.938 kB / 1.286 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.458e-05/0.3964, allocations: 3.938 kB / 1.286 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.754e-05/0.3965, allocations: 3.938 kB / 1.286 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.3968, allocations: 63.81 kB / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.3969, allocations: 31.86 kB / 1.286 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.397, allocations: 8 kB / 1.286 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.3972, allocations: 23.91 kB / 1.286 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.3972, allocations: 11.92 kB / 1.286 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.3972, allocations: 0 / 1.286 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.3974, allocations: 55.97 kB / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.3974, allocations: 7.984 kB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.3974, allocations: 11.94 kB / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.3976, allocations: 71.72 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3976, allocations: 0 / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3976, allocations: 0 / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.3976, allocations: 7.938 kB / 1.286 GB, free: 9.613 MB / 0.9825 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.0004755/0.3981, allocations: 282 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3981, allocations: 8.031 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.3983, allocations: 12.92 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.3985, allocations: 122.4 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3985, allocations: 384 / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.3985, allocations: 4.359 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.3986, allocations: 46 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3986, allocations: 0 / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3986, allocations: 7.938 kB / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3986, allocations: 0 / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.447e-05/0.3987, allocations: 19.98 kB / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.399, allocations: 204.6 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.3991, allocations: 30.52 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/0.3992, allocations: 20.91 kB / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006005/0.3998, allocations: 91.86 kB / 1.287 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.3998, allocations: 34.56 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3998, allocations: 0 / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002563/0.4001, allocations: 65.58 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.4001, allocations: 51.41 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.4002, allocations: 113.8 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.4003, allocations: 29.83 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.4003, allocations: 88.14 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.4003, allocations: 7.953 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.4004, allocations: 13.72 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4005, allocations: 314.8 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.867e-05/0.4006, allocations: 16 kB / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/0.4006, allocations: 7.984 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.427e-05/0.4007, allocations: 32.78 kB / 1.288 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.4007, allocations: 0 / 1.288 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001214/0.4008, allocations: 65.62 kB / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.4008, allocations: 4 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.4008, allocations: 0 / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4008, allocations: 0 / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.273e-05/0.4009, allocations: 7.984 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4009, allocations: 0 / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.087e-05/0.401, allocations: 4 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.401, allocations: 0 / 1.288 GB, free: 7.77 MB / 0.9825 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.826e-05/0.401, allocations: 113.8 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.4011, allocations: 7.984 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.4013, allocations: 65.23 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4013, allocations: 384 / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4013, allocations: 4 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4013, allocations: 0 / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.4014, allocations: 105.3 kB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4014, allocations: 7.875 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/0.4014, allocations: 7.984 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4015, allocations: 4 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.4015, allocations: 4.031 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.4015, allocations: 0 / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.4015, allocations: 0 / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.4016, allocations: 155.5 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.486e-05/0.4017, allocations: 11.88 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.4017, allocations: 0 / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.058e-05/0.4017, allocations: 4 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.4018, allocations: 0 / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.4018, allocations: 0 / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.4018, allocations: 91.27 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4018, allocations: 4.031 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002344/0.4021, allocations: 15.94 kB / 1.288 GB, free: 7.117 MB / 0.9825 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.0001866/0.4023, allocations: 119.2 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001447/0.4024, allocations: 19.98 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4024, allocations: 3.938 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.857e-05/0.4024, allocations: 15.92 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.4027, allocations: 14.28 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.403, allocations: 152.6 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.324e-05/0.4031, allocations: 67.34 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.4031, allocations: 11.44 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.4031, allocations: 0 / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of Templates: time 0.002603/0.4057, allocations: 0.853 MB / 1.29 GB, free: 5.809 MB / 0.9825 GB " [Timeout remaining time 299] 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 -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: 11.154414015822113]