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.001266/0.001265, allocations: 109.7 kB / 16.37 MB, free: 6.477 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.001509/0.001509, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.582/2.582, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.00134, allocations: 65.94 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3571, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.003479/0.3607, allocations: 1.094 MB / 1.028 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.3625, allocations: 0.9675 MB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.3626, allocations: 4 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.299e-05/0.3627, allocations: 19.73 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.363, allocations: 47.45 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.3633, allocations: 59.91 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000373/0.3636, allocations: 227.4 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002584/0.3639, allocations: 68.83 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.3641, allocations: 99.61 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.3643, allocations: 107.6 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.736e-05/0.3643, allocations: 20 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.614e-05/0.3644, allocations: 23.94 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.177e-05/0.3645, allocations: 39.89 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.3646, allocations: 91.45 kB / 1.03 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.3649, allocations: 227.1 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.3649, allocations: 0 / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.54e-06/0.365, allocations: 4 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.365, allocations: 0 / 1.03 GB, free: 14.97 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.001214/0.3662, allocations: 0.5532 MB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3663, allocations: 12.03 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/0.3663, allocations: 16.75 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.3666, allocations: 235.8 kB / 1.031 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.3666, allocations: 12.38 kB / 1.031 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.096e-05/0.3667, allocations: 16.36 kB / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000718/0.3674, allocations: 242.8 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3674, allocations: 192 / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.3674, allocations: 11.94 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3675, allocations: 7.938 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009951/0.3685, allocations: 292.2 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007733/0.3692, allocations: 496.2 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007069/0.37, allocations: 246.4 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000573/0.3705, allocations: 188.7 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.3706, allocations: 4 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.3706, allocations: 34.5 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.3706, allocations: 0 / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.001707/0.3724, allocations: 0.4972 MB / 1.033 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.3724, allocations: 51.41 kB / 1.033 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.3726, allocations: 176.1 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.3726, allocations: 33.7 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.3728, allocations: 128.3 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.036e-05/0.3728, allocations: 55.2 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.712e-05/0.3729, allocations: 37.61 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3731, allocations: 326.8 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005365/0.3736, allocations: 147.8 kB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005396/0.3742, allocations: 180.5 kB / 1.034 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.3752, allocations: 296.6 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3752, allocations: 3.938 kB / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001122/0.3763, allocations: 359.4 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3764, allocations: 11.94 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3764, allocations: 3.984 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3764, allocations: 3.938 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/0.3768, allocations: 83.86 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3768, allocations: 0 / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.3771, allocations: 55.83 kB / 1.034 GB, free: 10 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.3771, allocations: 4 kB / 1.034 GB, free: 9.996 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.0001367/0.3773, allocations: 129.8 kB / 1.035 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.3773, allocations: 19.81 kB / 1.035 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.09e-05/0.3774, allocations: 25.81 kB / 1.035 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3774, allocations: 0 / 1.035 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3774, allocations: 0 / 1.035 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3774, allocations: 3.984 kB / 1.035 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.3777, allocations: 277.4 kB / 1.035 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3777, allocations: 0 / 1.035 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/0.3781, allocations: 79.84 kB / 1.035 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3781, allocations: 4 kB / 1.035 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.3782, allocations: 7.938 kB / 1.035 GB, free: 9.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3782, allocations: 0 / 1.035 GB, free: 9.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3782, allocations: 0 / 1.035 GB, free: 9.402 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.38, allocations: 0.6259 MB / 1.036 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.947e-05/0.3801, allocations: 96.83 kB / 1.036 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.3801, allocations: 12 kB / 1.036 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.3804, allocations: 59.92 kB / 1.036 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.313e-05/0.3805, allocations: 19.97 kB / 1.036 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.3805, allocations: 4 kB / 1.036 GB, free: 8.555 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001134/0.3807, allocations: 127.2 kB / 1.036 GB, free: 8.43 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3807, allocations: 0 / 1.036 GB, free: 8.43 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000283/0.381, allocations: 47.91 kB / 1.036 GB, free: 8.383 MB / 0.8106 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.000178/0.3811, allocations: 103.2 kB / 1.036 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001168/0.3823, allocations: 323.6 kB / 1.036 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3823, allocations: 0 / 1.036 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005549/0.3829, allocations: 171.8 kB / 1.036 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.3833, allocations: 47.83 kB / 1.036 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007732/0.3841, allocations: 371.2 kB / 1.037 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.3845, allocations: 0.7317 MB / 1.038 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.168e-05/0.3846, allocations: 25 kB / 1.038 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.3846, allocations: 19.44 kB / 1.038 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of SimCode: time 8.01e-07/0.3847, allocations: 0 / 1.038 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of Templates: time 0.005861/0.3905, allocations: 2.717 MB / 1.04 GB, free: 3.871 MB / 0.8106 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 -s cvode -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