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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.005434/0.005434, allocations: 101.4 kB / 15.88 MB, free: 5.867 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.001381/0.001381, allocations: 192.8 kB / 16.79 MB, free: 5.809 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.404/1.404, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.843/2.843, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 67.61 kB / 0.8991 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3587, allocations: 157.4 MB / 1.053 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.00276/0.3615, allocations: 1.15 MB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.3631, allocations: 0.9713 MB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.3633, allocations: 0 / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.147e-05/0.3634, allocations: 7.875 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.3638, allocations: 27.78 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.3641, allocations: 67.88 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000337/0.3644, allocations: 211.4 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.3646, allocations: 64.83 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.3648, allocations: 87.67 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.365, allocations: 103.5 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.697e-05/0.3651, allocations: 16 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.516e-05/0.3651, allocations: 12 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.3652, allocations: 43.83 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.3653, allocations: 83.45 kB / 1.056 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.3655, allocations: 147.9 kB / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3655, allocations: 0 / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3655, allocations: 4 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.3655, allocations: 0 / 1.056 GB, free: 5.328 MB / 0.8106 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.001297/0.3668, allocations: 0.5609 MB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3669, allocations: 12.03 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.966e-05/0.367, allocations: 16.75 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.3673, allocations: 227.8 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.3673, allocations: 16.38 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.3673, allocations: 12.38 kB / 1.057 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008009/0.3681, allocations: 234 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3682, allocations: 4.188 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.3682, allocations: 7.938 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.3682, allocations: 7.938 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.3693, allocations: 292.2 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008136/0.3702, allocations: 0.4884 MB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008364/0.371, allocations: 246.4 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007026/0.3717, allocations: 192.7 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.3718, allocations: 7.984 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.3718, allocations: 34.5 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 4.158e-06/0.3718, allocations: 4 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.001914/0.3738, allocations: 0.5029 MB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.3738, allocations: 55.41 kB / 1.059 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.374, allocations: 168.5 kB / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.374, allocations: 33.7 kB / 1.059 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.28e-05/0.3741, allocations: 124.3 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/0.3742, allocations: 55.2 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.859e-05/0.3743, allocations: 33.7 kB / 1.059 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3745, allocations: 330.8 kB / 1.059 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005813/0.375, allocations: 151.8 kB / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005952/0.3756, allocations: 175.7 kB / 1.06 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.3768, allocations: 306.5 kB / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3768, allocations: 0 / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001238/0.378, allocations: 353.1 kB / 1.06 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.3781, allocations: 8 kB / 1.06 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3781, allocations: 0 / 1.06 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.3781, allocations: 3.938 kB / 1.06 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.3785, allocations: 83.84 kB / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.3785, allocations: 0 / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003127/0.3789, allocations: 63.83 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.3789, allocations: 4 kB / 1.06 GB, free: 356 kB / 0.8106 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.0001266/0.379, allocations: 117.8 kB / 1.06 GB, free: 228 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.3791, allocations: 19.81 kB / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.234e-05/0.3792, allocations: 29.8 kB / 1.06 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.3792, allocations: 7.984 kB / 1.06 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/0.3792, allocations: 0 / 1.06 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3792, allocations: 4 kB / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003621/0.3796, allocations: 269.4 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3796, allocations: 3.984 kB / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.38, allocations: 79.86 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.38, allocations: 0 / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.38, allocations: 3.938 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.38, allocations: 4 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.38, allocations: 11.98 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/0.382, allocations: 0.618 MB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.924e-05/0.3821, allocations: 100.8 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.3821, allocations: 7.938 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003203/0.3825, allocations: 59.92 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.34e-05/0.3826, allocations: 23.95 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.3826, allocations: 8 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000114/0.3827, allocations: 131.3 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3827, allocations: 0 / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002736/0.383, allocations: 39.91 kB / 1.062 GB, free: 14.74 MB / 0.8262 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.0001623/0.3832, allocations: 111.2 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001189/0.3844, allocations: 329.2 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3844, allocations: 0 / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005738/0.3849, allocations: 171.8 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.3854, allocations: 31.97 kB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008294/0.3863, allocations: 451.8 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.3866, allocations: 0.7319 MB / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.3867, allocations: 15.44 kB / 1.064 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of SimCode: time 6.31e-07/0.3867, allocations: 0 / 1.064 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of Templates: time 0.0048/0.3915, allocations: 2.597 MB / 1.066 GB, free: 10.29 MB / 0.8262 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