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.001585/0.001585, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002125/0.002125, allocations: 195 kB / 16.14 MB, free: 6.648 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.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.814/2.814, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 66.03 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3237, allocations: 157.4 MB / 1.052 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002424/0.3261, allocations: 1.154 MB / 1.053 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3273, allocations: 0.9635 MB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.812e-05/0.3274, allocations: 4 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.544e-05/0.3274, allocations: 11.86 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.3276, allocations: 31.72 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.3278, allocations: 59.94 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.328, allocations: 211.4 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.3282, allocations: 68.83 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.3283, allocations: 87.61 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.3284, allocations: 103.6 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.3285, allocations: 12 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.125e-05/0.3285, allocations: 12 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.337e-05/0.3285, allocations: 39.83 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.362e-05/0.3286, allocations: 87.41 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.3288, allocations: 203.5 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3288, allocations: 3.938 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.01e-07/0.3288, allocations: 0 / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.3288, allocations: 0 / 1.055 GB, free: 5.777 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.001209/0.3301, allocations: 0.5648 MB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3301, allocations: 8.031 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/0.3302, allocations: 16.75 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.3304, allocations: 233 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.3304, allocations: 12.38 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.449e-05/0.3304, allocations: 12.38 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007905/0.3312, allocations: 238 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3313, allocations: 192 / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.3313, allocations: 7.938 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.3313, allocations: 4 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.3325, allocations: 291.7 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006984/0.3332, allocations: 0.4962 MB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007833/0.334, allocations: 242.4 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006534/0.3346, allocations: 192.7 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.3347, allocations: 4 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.3347, allocations: 38.56 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.3347, allocations: 0 / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.001933/0.3367, allocations: 0.4986 MB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.3367, allocations: 55.41 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.3369, allocations: 174.3 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3369, allocations: 33.64 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.105e-05/0.337, allocations: 128.3 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/0.3371, allocations: 59.2 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.296e-05/0.3371, allocations: 29.7 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3373, allocations: 326.8 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006123/0.3379, allocations: 155.7 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/0.3385, allocations: 170.4 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.3396, allocations: 298.9 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3396, allocations: 0 / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001241/0.3409, allocations: 373 kB / 1.06 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3409, allocations: 6.188 kB / 1.06 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3409, allocations: 0 / 1.06 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.3409, allocations: 7.938 kB / 1.06 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.3414, allocations: 79.84 kB / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3414, allocations: 0 / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.3417, allocations: 59.83 kB / 1.06 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.3418, allocations: 8 kB / 1.06 GB, free: 0.7852 MB / 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.0001087/0.3419, allocations: 123.3 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.3419, allocations: 15.81 kB / 1.06 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.416e-05/0.342, allocations: 29.8 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.342, allocations: 8 kB / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.342, allocations: 0 / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.342, allocations: 0 / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.3423, allocations: 277.3 kB / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3423, allocations: 4 kB / 1.06 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.3427, allocations: 71.91 kB / 1.06 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3427, allocations: 0 / 1.06 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.3428, allocations: 11.94 kB / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.3428, allocations: 7.938 kB / 1.06 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3428, allocations: 0 / 1.06 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.3446, allocations: 0.6238 MB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.3447, allocations: 92.86 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/0.3447, allocations: 3.938 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.3451, allocations: 55.98 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.023e-05/0.3452, allocations: 23.97 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.3452, allocations: 7.984 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.325e-05/0.3453, allocations: 136.2 kB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3453, allocations: 0 / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002907/0.3456, allocations: 39.91 kB / 1.061 GB, free: 15.18 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.000169/0.3458, allocations: 107.2 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.347, allocations: 322.2 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.347, allocations: 0 / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006057/0.3476, allocations: 179.7 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.3481, allocations: 34.36 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007805/0.3489, allocations: 433.9 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.3492, allocations: 0.7319 MB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001052/0.3493, allocations: 5.094 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.094e-05/0.3494, allocations: 19.42 kB / 1.063 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.3494, allocations: 4 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of Templates: time 0.004843/0.3543, allocations: 2.18 MB / 1.065 GB, free: 11.15 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/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