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.002144/0.002144, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002384/0.002384, allocations: 214.5 kB / 22.24 MB, free: 5.258 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.588/1.588, allocations: 230.6 MB / 256 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.853/2.853, allocations: 475.9 MB / 0.7699 GB, free: 4.797 MB / 0.6231 GB " [Timeout remaining time 176] 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.002189/0.002189, allocations: 69.92 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.4011, allocations: 170 MB / 1.283 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.00296/0.404, allocations: 1.008 MB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.4057, allocations: 0.9889 MB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.4058, allocations: 0 / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.788e-05/0.4059, allocations: 19.73 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.4061, allocations: 43.59 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.4064, allocations: 67.91 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004297/0.4069, allocations: 235.4 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.407, allocations: 53.11 kB / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.4072, allocations: 91.69 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.4074, allocations: 99.52 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.972e-05/0.4075, allocations: 20 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.235e-05/0.4075, allocations: 20 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.939e-05/0.4076, allocations: 47.81 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.4077, allocations: 79.53 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.408, allocations: 215.1 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.408, allocations: 4 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.144e-06/0.408, allocations: 0 / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.408, allocations: 0 / 1.286 GB, free: 8.848 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001306/0.4093, allocations: 0.4895 MB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.4094, allocations: 12.03 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.551e-05/0.4095, allocations: 20.78 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.4098, allocations: 174 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.4098, allocations: 12.38 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.168e-05/0.4098, allocations: 16.31 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009007/0.4107, allocations: 250.5 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4107, allocations: 4.172 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.4108, allocations: 7.938 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.4108, allocations: 4 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.412, allocations: 291.7 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000809/0.4128, allocations: 384.1 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008709/0.4137, allocations: 234.3 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006888/0.4144, allocations: 192.7 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.849e-05/0.4144, allocations: 0 / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.93e-05/0.4145, allocations: 38.56 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.462e-06/0.4145, allocations: 0 / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.002046/0.4165, allocations: 0.4934 MB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.4166, allocations: 55.34 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.4168, allocations: 176.8 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.4168, allocations: 33.7 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.4169, allocations: 132.3 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.834e-05/0.417, allocations: 55.48 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.121e-05/0.4171, allocations: 37.7 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.4173, allocations: 326.8 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005964/0.4179, allocations: 147.8 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006401/0.4185, allocations: 232.1 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.4196, allocations: 298.6 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4196, allocations: 0 / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001299/0.4209, allocations: 357.2 kB / 1.29 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4209, allocations: 4 kB / 1.29 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.421, allocations: 7.969 kB / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.421, allocations: 11.94 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.4214, allocations: 75.86 kB / 1.29 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.4214, allocations: 0 / 1.29 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.4217, allocations: 63.81 kB / 1.29 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.4217, allocations: 8 kB / 1.29 GB, free: 4.086 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 (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.4219, allocations: 130.3 kB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.4219, allocations: 15.91 kB / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.15e-05/0.422, allocations: 25.75 kB / 1.291 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.422, allocations: 3.938 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.422, allocations: 0 / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.422, allocations: 3.984 kB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.4223, allocations: 181.2 kB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.4223, allocations: 4 kB / 1.291 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/0.4227, allocations: 79.86 kB / 1.291 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4227, allocations: 0 / 1.291 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.4227, allocations: 4 kB / 1.291 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.4227, allocations: 7.984 kB / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4227, allocations: 3.938 kB / 1.291 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.4248, allocations: 0.6261 MB / 1.291 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.4248, allocations: 19.89 kB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.4248, allocations: 8 kB / 1.292 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003317/0.4252, allocations: 51.92 kB / 1.292 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.4253, allocations: 31.89 kB / 1.292 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.4253, allocations: 4 kB / 1.292 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001542/0.4254, allocations: 136.3 kB / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4254, allocations: 0 / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002928/0.4257, allocations: 36 kB / 1.292 GB, free: 2.676 MB / 0.9825 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.0001654/0.4259, allocations: 101.4 kB / 1.292 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.4272, allocations: 319.6 kB / 1.292 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4272, allocations: 0 / 1.292 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006264/0.4278, allocations: 171.7 kB / 1.292 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.4283, allocations: 35.73 kB / 1.292 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000866/0.4291, allocations: 368.4 kB / 1.293 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.4293, allocations: 120 kB / 1.293 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000105/0.4294, allocations: 17.06 kB / 1.293 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.839e-05/0.4295, allocations: 19.44 kB / 1.293 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of SimCode: time 6.12e-07/0.4295, allocations: 4 kB / 1.293 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of Templates: time 0.007642/0.4371, allocations: 3.087 MB / 1.296 GB, free: 14.46 MB / 0.9981 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 9.832149125635624]