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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001481/0.001481, allocations: 107.8 kB / 16.27 MB, free: 6.414 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.001433/0.001433, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.629/2.629, allocations: 482.4 MB / 0.7553 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 73.05 kB / 0.9245 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6693/0.6712, allocations: 162.2 MB / 1.083 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002088/0.6733, allocations: 1.103 MB / 1.084 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009793/0.6743, allocations: 0.9624 MB / 1.085 GB, free: 188 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.6743, allocations: 1.75 kB / 1.085 GB, free: 188 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.546e-05/0.6744, allocations: 23.28 kB / 1.085 GB, free: 168 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.6745, allocations: 35.31 kB / 1.085 GB, free: 140 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.6747, allocations: 64.56 kB / 1.085 GB, free: 108 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.6749, allocations: 226 kB / 1.085 GB, free: 0 / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.6751, allocations: 77.89 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.6753, allocations: 95.38 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.6754, allocations: 108.2 kB / 1.086 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/0.6755, allocations: 20.03 kB / 1.086 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.333e-05/0.6755, allocations: 18.44 kB / 1.086 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.6756, allocations: 44.53 kB / 1.086 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.6757, allocations: 96.59 kB / 1.086 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.676, allocations: 205.3 kB / 1.086 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.676, allocations: 0 / 1.086 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.272e-06/0.676, allocations: 0 / 1.086 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.676, allocations: 4 kB / 1.086 GB, free: 15.68 MB / 0.8419 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.001236/0.6772, allocations: 0.5599 MB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.6773, allocations: 13.31 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.438e-05/0.6773, allocations: 24 kB / 1.087 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.6776, allocations: 219.4 kB / 1.087 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.6776, allocations: 14.31 kB / 1.087 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.6777, allocations: 14.03 kB / 1.087 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007602/0.6784, allocations: 241.7 kB / 1.087 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.6785, allocations: 5.281 kB / 1.087 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.6785, allocations: 8.938 kB / 1.087 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.6785, allocations: 2.906 kB / 1.087 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.6797, allocations: 291.6 kB / 1.087 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007527/0.6804, allocations: 0.4928 MB / 1.088 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007784/0.6812, allocations: 253.8 kB / 1.088 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.6819, allocations: 192.8 kB / 1.088 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.6819, allocations: 2.656 kB / 1.088 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.682, allocations: 39.66 kB / 1.088 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.682, allocations: 0 / 1.088 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17): time 0.001922/0.6839, allocations: 0.4939 MB / 1.089 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.6839, allocations: 53.41 kB / 1.089 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.6841, allocations: 175.9 kB / 1.089 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.6841, allocations: 31.55 kB / 1.089 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.2e-05/0.6842, allocations: 134.3 kB / 1.089 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.134e-05/0.6843, allocations: 59.92 kB / 1.089 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-05/0.6844, allocations: 30.86 kB / 1.089 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6845, allocations: 331.8 kB / 1.089 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005982/0.6852, allocations: 147.9 kB / 1.09 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/0.6858, allocations: 177 kB / 1.09 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.6869, allocations: 298.2 kB / 1.09 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6869, allocations: 0 / 1.09 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001226/0.6881, allocations: 362.2 kB / 1.09 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.6882, allocations: 4.906 kB / 1.09 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.6882, allocations: 0 / 1.09 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.6882, allocations: 4.5 kB / 1.09 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.6886, allocations: 85.5 kB / 1.091 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.6886, allocations: 1.688 kB / 1.091 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.6889, allocations: 61.19 kB / 1.091 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.6889, allocations: 3.875 kB / 1.091 GB, free: 13.19 MB / 0.8419 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.0001189/0.6891, allocations: 123.2 kB / 1.091 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.6891, allocations: 23.38 kB / 1.091 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/0.6892, allocations: 27.89 kB / 1.091 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.6892, allocations: 2.594 kB / 1.091 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6892, allocations: 0 / 1.091 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.6892, allocations: 1.312 kB / 1.091 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.6895, allocations: 281.1 kB / 1.091 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.6895, allocations: 0.6562 kB / 1.091 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003907/0.6899, allocations: 80.03 kB / 1.091 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.6899, allocations: 2.141 kB / 1.091 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.69, allocations: 7.938 kB / 1.091 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.69, allocations: 1.719 kB / 1.091 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.69, allocations: 1.281 kB / 1.091 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.6919, allocations: 0.6257 MB / 1.092 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/0.6919, allocations: 90.86 kB / 1.092 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.692, allocations: 10.12 kB / 1.092 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/0.6923, allocations: 55.55 kB / 1.092 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/0.6924, allocations: 29.06 kB / 1.092 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.6924, allocations: 6.719 kB / 1.092 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001027/0.6925, allocations: 129 kB / 1.092 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6925, allocations: 0 / 1.092 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002613/0.6928, allocations: 47.56 kB / 1.092 GB, free: 12.3 MB / 0.8419 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.0001455/0.693, allocations: 103.5 kB / 1.092 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.6942, allocations: 333 kB / 1.092 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.6942, allocations: 0.7812 kB / 1.092 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000629/0.6949, allocations: 178 kB / 1.093 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.6953, allocations: 34.06 kB / 1.093 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007377/0.696, allocations: 389.6 kB / 1.093 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.6964, allocations: 0.7286 MB / 1.094 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.2e-05/0.6965, allocations: 18.42 kB / 1.094 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of SimCode: time 4.71e-07/0.6965, allocations: 1.781 kB / 1.094 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of Templates: time 0.004609/0.7011, allocations: 2.591 MB / 1.096 GB, free: 10.92 MB / 0.8419 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=400 -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