Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.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.00138/0.00138, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001974/0.001974, allocations: 165 kB / 23.01 MB, free: 4.598 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.45/1.45, allocations: 177.2 MB / 203.4 MB, free: 8.977 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.678/2.678, allocations: 359.1 MB / 0.6044 GB, free: 14.91 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.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") [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.002545/0.002545, allocations: 67.89 kB / 0.9516 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3534, allocations: 169.9 MB / 1.117 GB, free: 2.551 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002526/0.356, allocations: 1.025 MB / 1.118 GB, free: 1.531 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3573, allocations: 0.9873 MB / 1.119 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.906e-05/0.3574, allocations: 4 kB / 1.119 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.173e-05/0.3575, allocations: 15.75 kB / 1.119 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.3576, allocations: 47.58 kB / 1.12 GB, free: 476 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.3578, allocations: 67.86 kB / 1.12 GB, free: 408 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.3581, allocations: 227.4 kB / 1.12 GB, free: 180 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.3583, allocations: 53.16 kB / 1.12 GB, free: 124 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.3584, allocations: 95.67 kB / 1.12 GB, free: 28 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.3586, allocations: 103.5 kB / 1.12 GB, free: 15.93 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.077e-05/0.3586, allocations: 16 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.749e-05/0.3587, allocations: 20 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.536e-05/0.3587, allocations: 47.84 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.075e-05/0.3588, allocations: 75.64 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.3591, allocations: 223 kB / 1.12 GB, free: 15.55 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3591, allocations: 4 kB / 1.12 GB, free: 15.55 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.006e-06/0.3591, allocations: 0 / 1.12 GB, free: 15.55 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.3592, allocations: 0 / 1.12 GB, free: 15.55 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001385/0.3605, allocations: 0.4933 MB / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.3606, allocations: 8.031 kB / 1.121 GB, free: 15.01 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.794e-05/0.3607, allocations: 24.8 kB / 1.121 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.361, allocations: 170.1 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.361, allocations: 12.31 kB / 1.121 GB, free: 14.79 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.3611, allocations: 16.38 kB / 1.121 GB, free: 14.77 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008558/0.3619, allocations: 234 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3619, allocations: 192 / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.362, allocations: 7.938 kB / 1.121 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.362, allocations: 4 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.3632, allocations: 299.7 kB / 1.122 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007897/0.364, allocations: 388 kB / 1.122 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008125/0.3648, allocations: 240.9 kB / 1.122 GB, free: 13.58 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006428/0.3654, allocations: 180.7 kB / 1.122 GB, free: 13.4 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.3655, allocations: 4 kB / 1.122 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.3655, allocations: 34.55 kB / 1.122 GB, free: 13.35 MB / 1.076 GB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.3655, allocations: 0 / 1.122 GB, free: 13.35 MB / 1.076 GB Notification: Performance of matching and sorting (n=17): time 0.001999/0.3675, allocations: 0.4934 MB / 1.123 GB, free: 12.85 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.3676, allocations: 63.33 kB / 1.123 GB, free: 12.78 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.3677, allocations: 176.1 kB / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.3678, allocations: 37.64 kB / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.453e-05/0.3679, allocations: 124.5 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.443e-05/0.3679, allocations: 59.48 kB / 1.123 GB, free: 12.37 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/0.368, allocations: 33.7 kB / 1.123 GB, free: 12.33 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3681, allocations: 326.8 kB / 1.124 GB, free: 12 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006101/0.3687, allocations: 147.8 kB / 1.124 GB, free: 11.86 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006493/0.3694, allocations: 228.7 kB / 1.124 GB, free: 11.61 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.3706, allocations: 300.6 kB / 1.124 GB, free: 11.32 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3706, allocations: 0 / 1.124 GB, free: 11.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001281/0.3718, allocations: 365.1 kB / 1.125 GB, free: 10.95 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3719, allocations: 8 kB / 1.125 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3719, allocations: 0 / 1.125 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3719, allocations: 0 / 1.125 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.3723, allocations: 79.84 kB / 1.125 GB, free: 10.87 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3723, allocations: 0 / 1.125 GB, free: 10.87 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.3726, allocations: 63.81 kB / 1.125 GB, free: 10.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.3726, allocations: 8 kB / 1.125 GB, free: 10.8 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 (18): * Single equations (assignments): 18 * 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.0001334/0.3728, allocations: 126.3 kB / 1.125 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.3728, allocations: 19.86 kB / 1.125 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/0.3729, allocations: 25.8 kB / 1.125 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3729, allocations: 3.938 kB / 1.125 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.3729, allocations: 8 kB / 1.125 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3729, allocations: 0 / 1.125 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.3732, allocations: 181.2 kB / 1.125 GB, free: 10.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3732, allocations: 0 / 1.125 GB, free: 10.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.3736, allocations: 71.91 kB / 1.125 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3736, allocations: 3.938 kB / 1.125 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.3736, allocations: 11.94 kB / 1.125 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3736, allocations: 0 / 1.125 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3736, allocations: 3.938 kB / 1.125 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.3757, allocations: 0.6349 MB / 1.126 GB, free: 9.664 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/0.3757, allocations: 19.88 kB / 1.126 GB, free: 9.645 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.3757, allocations: 8 kB / 1.126 GB, free: 9.637 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/0.3761, allocations: 47.92 kB / 1.126 GB, free: 9.59 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.93e-05/0.3762, allocations: 27.91 kB / 1.126 GB, free: 9.562 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3762, allocations: 4 kB / 1.126 GB, free: 9.559 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001262/0.3763, allocations: 140.3 kB / 1.126 GB, free: 9.422 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3763, allocations: 0 / 1.126 GB, free: 9.422 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002937/0.3766, allocations: 43.89 kB / 1.126 GB, free: 9.379 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (sleRatLim.y) * 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 (17): * Single equations (assignments): 17 * 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.0001536/0.3768, allocations: 103.2 kB / 1.126 GB, free: 9.27 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.3781, allocations: 315.7 kB / 1.127 GB, free: 8.961 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3781, allocations: 7.938 kB / 1.127 GB, free: 8.953 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006623/0.3787, allocations: 161.9 kB / 1.127 GB, free: 8.797 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.3792, allocations: 43.89 kB / 1.127 GB, free: 8.754 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007984/0.38, allocations: 372.5 kB / 1.127 GB, free: 8.363 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.3801, allocations: 124 kB / 1.127 GB, free: 8.223 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.441e-05/0.3802, allocations: 13.14 kB / 1.127 GB, free: 8.211 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.493e-05/0.3803, allocations: 24.5 kB / 1.127 GB, free: 8.188 MB / 1.076 GB Notification: Performance of SimCode: time 6.61e-07/0.3803, allocations: 0 / 1.127 GB, free: 8.188 MB / 1.076 GB Notification: Performance of Templates: time 0.007073/0.3873, allocations: 2.937 MB / 1.13 GB, free: 5.316 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.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.849262304021977]