Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01232/0.01232, allocations: 103.1 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 193.8 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.696/2.696, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.89 kB / 1.054 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.072, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.003108/1.075, allocations: 1.1 MB / 1.209 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001438/1.077, allocations: 0.9635 MB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/1.077, allocations: 4 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.923e-05/1.077, allocations: 15.75 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001979/1.077, allocations: 39.58 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/1.077, allocations: 63.92 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003975/1.078, allocations: 227.4 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/1.078, allocations: 64.84 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/1.078, allocations: 107.6 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/1.078, allocations: 107.5 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/1.078, allocations: 20 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.376e-05/1.079, allocations: 24 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.982e-05/1.079, allocations: 43.83 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.593e-05/1.079, allocations: 83.53 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/1.079, allocations: 222.8 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/1.079, allocations: 0 / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.174e-06/1.079, allocations: 4 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.605e-06/1.079, allocations: 0 / 1.211 GB, free: 10.47 MB / 0.9356 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.001348/1.08, allocations: 0.5629 MB / 1.211 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/1.08, allocations: 12.03 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.967e-05/1.08, allocations: 20.66 kB / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/1.081, allocations: 220 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/1.081, allocations: 16.31 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.838e-05/1.081, allocations: 20.38 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008111/1.082, allocations: 234 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/1.082, allocations: 192 / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/1.082, allocations: 11.94 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/1.082, allocations: 4 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/1.083, allocations: 296.2 kB / 1.212 GB, free: 9 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009134/1.084, allocations: 492.2 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008313/1.085, allocations: 250.4 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006523/1.085, allocations: 194.4 kB / 1.213 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.686e-05/1.085, allocations: 3.984 kB / 1.213 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.793e-05/1.086, allocations: 42.55 kB / 1.213 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 1.824e-06/1.086, allocations: 0 / 1.213 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.002001/1.088, allocations: 0.4933 MB / 1.214 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/1.088, allocations: 59.33 kB / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/1.088, allocations: 171.6 kB / 1.214 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/1.088, allocations: 29.7 kB / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/1.088, allocations: 124.3 kB / 1.214 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.081e-05/1.088, allocations: 59.17 kB / 1.214 GB, free: 7 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-05/1.088, allocations: 33.7 kB / 1.214 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.088, allocations: 326.8 kB / 1.214 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005945/1.089, allocations: 151.8 kB / 1.214 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/1.089, allocations: 176.6 kB / 1.215 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/1.091, allocations: 296.6 kB / 1.215 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/1.091, allocations: 0 / 1.215 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001235/1.092, allocations: 363 kB / 1.215 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/1.092, allocations: 8 kB / 1.215 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/1.092, allocations: 0 / 1.215 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.092, allocations: 3.938 kB / 1.215 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/1.092, allocations: 83.84 kB / 1.215 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/1.092, allocations: 0 / 1.215 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/1.093, allocations: 63.77 kB / 1.215 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/1.093, allocations: 4 kB / 1.215 GB, free: 5.492 MB / 0.9356 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.0001382/1.093, allocations: 121.8 kB / 1.216 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/1.093, allocations: 15.81 kB / 1.216 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.676e-05/1.093, allocations: 29.8 kB / 1.216 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/1.093, allocations: 7.938 kB / 1.216 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.093, allocations: 0 / 1.216 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.093, allocations: 0 / 1.216 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/1.093, allocations: 281.4 kB / 1.216 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.093, allocations: 0 / 1.216 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/1.094, allocations: 71.91 kB / 1.216 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.094, allocations: 7.938 kB / 1.216 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/1.094, allocations: 11.94 kB / 1.216 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.094, allocations: 0 / 1.216 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.094, allocations: 0 / 1.216 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/1.096, allocations: 0.6292 MB / 1.217 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/1.096, allocations: 88.95 kB / 1.217 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/1.096, allocations: 7.938 kB / 1.217 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/1.096, allocations: 55.98 kB / 1.217 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/1.096, allocations: 27.91 kB / 1.217 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/1.096, allocations: 4 kB / 1.217 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001007/1.096, allocations: 136.1 kB / 1.217 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.096, allocations: 0 / 1.217 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002532/1.097, allocations: 43.84 kB / 1.217 GB, free: 3.879 MB / 0.9356 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.000184/1.097, allocations: 111.2 kB / 1.217 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001251/1.098, allocations: 325.8 kB / 1.217 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.098, allocations: 0 / 1.217 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006162/1.099, allocations: 179.7 kB / 1.217 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/1.099, allocations: 31.98 kB / 1.218 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007857/1.1, allocations: 356.7 kB / 1.218 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/1.1, allocations: 0.7279 MB / 1.219 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.129e-05/1.1, allocations: 13.08 kB / 1.219 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.923e-05/1.1, allocations: 15.44 kB / 1.219 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of SimCode: time 2.705e-06/1.1, allocations: 4 kB / 1.219 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of Templates: time 0.005917/1.106, allocations: 2.851 MB / 1.221 GB, free: 15.26 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches