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.001073/0.001073, allocations: 114.1 kB / 16.42 MB, free: 6.473 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.00104/0.00104, allocations: 183.9 kB / 17.35 MB, free: 5.711 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.622/2.622, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 59.91 kB / 1.055 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9737/0.9759, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002684/0.9787, allocations: 1.089 MB / 1.21 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.9801, allocations: 0.9674 MB / 1.211 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.9803, allocations: 4 kB / 1.211 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.815e-05/0.9804, allocations: 19.73 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.9806, allocations: 43.59 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.9809, allocations: 67.89 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.9812, allocations: 223.4 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.9814, allocations: 68.83 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.9816, allocations: 99.56 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.9818, allocations: 115.5 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.045e-05/0.9818, allocations: 20 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.363e-05/0.9819, allocations: 20 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.9819, allocations: 43.83 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.514e-05/0.982, allocations: 91.45 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.9823, allocations: 210.9 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.9823, allocations: 0 / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9823, allocations: 0 / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.9823, allocations: 4 kB / 1.211 GB, free: 10.51 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.001318/0.9837, allocations: 0.5668 MB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.9837, allocations: 8.031 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.292e-05/0.9838, allocations: 24.66 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.9841, allocations: 224 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.9841, allocations: 12.38 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.815e-05/0.9842, allocations: 12.38 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000806/0.985, allocations: 238 kB / 1.213 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.985, allocations: 8.109 kB / 1.213 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.985, allocations: 11.94 kB / 1.213 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.9851, allocations: 0 / 1.213 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.9862, allocations: 296.2 kB / 1.213 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007738/0.987, allocations: 496.2 kB / 1.213 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007777/0.9878, allocations: 246.3 kB / 1.214 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006517/0.9885, allocations: 202.6 kB / 1.214 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.9885, allocations: 4 kB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.9885, allocations: 34.5 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 1.974e-06/0.9885, allocations: 0 / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.001946/0.9905, allocations: 0.4952 MB / 1.214 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.9905, allocations: 55.41 kB / 1.214 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.9907, allocations: 171.6 kB / 1.214 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.9907, allocations: 33.7 kB / 1.215 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/0.9908, allocations: 128.3 kB / 1.215 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.714e-05/0.9909, allocations: 55.17 kB / 1.215 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/0.991, allocations: 37.7 kB / 1.215 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.9911, allocations: 322.8 kB / 1.215 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000607/0.9917, allocations: 151.8 kB / 1.215 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006223/0.9923, allocations: 178.3 kB / 1.215 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.9935, allocations: 298.3 kB / 1.216 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.9935, allocations: 0 / 1.216 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001263/0.9948, allocations: 359.1 kB / 1.216 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.9948, allocations: 4 kB / 1.216 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.9948, allocations: 0 / 1.216 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.9948, allocations: 11.88 kB / 1.216 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/0.9953, allocations: 83.84 kB / 1.216 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.9953, allocations: 4 kB / 1.216 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003238/0.9956, allocations: 59.77 kB / 1.216 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.9956, allocations: 4 kB / 1.216 GB, free: 5.523 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.0001162/0.9958, allocations: 125.8 kB / 1.216 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.9958, allocations: 23.81 kB / 1.216 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.344e-05/0.9959, allocations: 17.88 kB / 1.216 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.9959, allocations: 7.938 kB / 1.216 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.9959, allocations: 0 / 1.216 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.852e-05/0.9959, allocations: 96.84 kB / 1.216 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.996, allocations: 0 / 1.216 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/0.9963, allocations: 55.92 kB / 1.216 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.911e-05/0.9964, allocations: 27.91 kB / 1.216 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00171/0.9981, allocations: 0.5043 MB / 1.217 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001968/1, allocations: 0.7036 MB / 1.218 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006078/1.001, allocations: 187.7 kB / 1.218 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.879e-05/1.001, allocations: 132.2 kB / 1.218 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of Backend: time 8.81e-07/1.001, allocations: 0 / 1.218 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001022/1.002, allocations: 256.1 kB / 1.218 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0009019/1.003, allocations: 0.7562 MB / 1.219 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of Templates: time 0.007373/1.01, allocations: 3.499 MB / 1.222 GB, free: 15.09 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/jenkins1/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