Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001542/0.001542, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.002203/0.002203, allocations: 187 kB / 17.34 MB, free: 5.742 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.416/1.416, 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 10.1.1-maint.10.0.x/package.mo): time 2.502/2.502, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 75.88 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8805/0.882, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002658/0.8848, allocations: 1.104 MB / 1.168 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.8861, allocations: 0.9636 MB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.246e-05/0.8862, allocations: 4 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.045e-05/0.8862, allocations: 19.73 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.8864, allocations: 43.59 kB / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.8866, allocations: 63.91 kB / 1.17 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.8869, allocations: 223.4 kB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.8871, allocations: 68.84 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.8872, allocations: 95.61 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.8874, allocations: 119.5 kB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.8874, allocations: 16 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.994e-05/0.8875, allocations: 20 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.8875, allocations: 47.83 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.473e-05/0.8876, allocations: 87.52 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.8879, allocations: 222.8 kB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8879, allocations: 0 / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8879, allocations: 0 / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.8879, allocations: 0 / 1.17 GB, free: 0.7656 MB / 0.8887 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.001143/0.8891, allocations: 0.559 MB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.8891, allocations: 8.922 kB / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.65e-05/0.8892, allocations: 24.66 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.8894, allocations: 228.5 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.8895, allocations: 8.375 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.8895, allocations: 16.38 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007147/0.8902, allocations: 242 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.8903, allocations: 192 / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.8903, allocations: 7.938 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.8903, allocations: 7.984 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.8913, allocations: 283.7 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007179/0.8921, allocations: 0.4962 MB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006912/0.8928, allocations: 240.9 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005705/0.8933, allocations: 196.6 kB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.546e-05/0.8934, allocations: 11.92 kB / 1.173 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.8934, allocations: 30.56 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=17): time 2.876e-06/0.8934, allocations: 0 / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17): time 0.001712/0.8952, allocations: 0.4972 MB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.8952, allocations: 55.41 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.8954, allocations: 187.3 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.8954, allocations: 29.7 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.339e-05/0.8955, allocations: 124.3 kB / 1.174 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.8955, allocations: 59.16 kB / 1.174 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.915e-05/0.8956, allocations: 29.72 kB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.8958, allocations: 330.8 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005238/0.8963, allocations: 147.8 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/0.8969, allocations: 180.8 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.8979, allocations: 296.6 kB / 1.175 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8979, allocations: 0 / 1.175 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001095/0.899, allocations: 363.4 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.899, allocations: 4 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.899, allocations: 0 / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.899, allocations: 3.938 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/0.8995, allocations: 87.78 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.8995, allocations: 0 / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.8998, allocations: 63.77 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.8998, allocations: 4 kB / 1.175 GB, free: 11.78 MB / 0.9044 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.0001181/0.8999, allocations: 122.9 kB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.9, allocations: 19.81 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.09e-05/0.9, allocations: 29.8 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.9, allocations: 4 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.9, allocations: 0 / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.9, allocations: 0 / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.9004, allocations: 281.3 kB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.9004, allocations: 0 / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003723/0.9008, allocations: 79.92 kB / 1.176 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.9008, allocations: 0 / 1.176 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.9008, allocations: 3.938 kB / 1.176 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.9008, allocations: 7.984 kB / 1.176 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.9008, allocations: 0 / 1.176 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.9026, allocations: 0.6237 MB / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.9026, allocations: 92.95 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.9027, allocations: 8 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003079/0.903, allocations: 55.86 kB / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.93e-05/0.9031, allocations: 23.97 kB / 1.176 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.9031, allocations: 4 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001016/0.9032, allocations: 132.4 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9032, allocations: 0 / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002667/0.9035, allocations: 47.84 kB / 1.176 GB, free: 10.17 MB / 0.9044 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.0001736/0.9037, allocations: 103.2 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.9048, allocations: 325.5 kB / 1.177 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9048, allocations: 0 / 1.177 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005629/0.9054, allocations: 179.7 kB / 1.177 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.9058, allocations: 35.91 kB / 1.177 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007872/0.9066, allocations: 393 kB / 1.177 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.9069, allocations: 0.7279 MB / 1.178 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.515e-05/0.907, allocations: 27.42 kB / 1.178 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.907, allocations: 0 / 1.178 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of Templates: time 0.004916/0.912, allocations: 2.595 MB / 1.181 GB, free: 5.762 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches