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.0008757/0.0008756, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006244/0.006244, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.412/1.412, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.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.684/2.684, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005272/0.0005273, allocations: 12 kB / 0.8728 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7731/0.7736, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001321/0.775, allocations: 0.7973 MB / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.7761, allocations: 0.9675 MB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.447e-05/0.7762, allocations: 0 / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.261e-05/0.7762, allocations: 7.875 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.7764, allocations: 27.72 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.7766, allocations: 63.94 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.7768, allocations: 211.4 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.777, allocations: 68.81 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.7771, allocations: 79.62 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.7773, allocations: 91.53 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.7773, allocations: 12 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.537e-05/0.7773, allocations: 8 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.33e-05/0.7774, allocations: 35.83 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.816e-05/0.7775, allocations: 105.2 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.7777, allocations: 193.2 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7777, allocations: 0 / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7777, allocations: 0 / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.7778, allocations: 0 / 1.026 GB, free: 13.2 MB / 0.7794 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.001198/0.779, allocations: 0.5806 MB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.779, allocations: 8.031 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.168e-05/0.7791, allocations: 28.66 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.7793, allocations: 223.9 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.7794, allocations: 12.38 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.7794, allocations: 12.38 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008444/0.7802, allocations: 290 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.7803, allocations: 4.125 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.7803, allocations: 7.938 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.7803, allocations: 8 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.7816, allocations: 387.7 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007305/0.7823, allocations: 496.3 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008876/0.7832, allocations: 298.3 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007056/0.7839, allocations: 242.7 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.784, allocations: 4 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.784, allocations: 30.56 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.784, allocations: 0 / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.002146/0.7862, allocations: 0.6434 MB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.7862, allocations: 51.41 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.7864, allocations: 179.5 kB / 1.029 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.7864, allocations: 29.7 kB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/0.7865, allocations: 136.2 kB / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/0.7866, allocations: 55.16 kB / 1.029 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.7866, allocations: 29.64 kB / 1.029 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.7868, allocations: 322.8 kB / 1.03 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006658/0.7874, allocations: 199.8 kB / 1.03 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000676/0.7881, allocations: 226.4 kB / 1.03 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.7894, allocations: 390.1 kB / 1.03 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7894, allocations: 0 / 1.03 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001405/0.7908, allocations: 457.9 kB / 1.031 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.7909, allocations: 6.031 kB / 1.031 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.7909, allocations: 0 / 1.031 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.7909, allocations: 7.922 kB / 1.031 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.7913, allocations: 103.9 kB / 1.031 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.7914, allocations: 4 kB / 1.031 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/0.7917, allocations: 83.77 kB / 1.031 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.7917, allocations: 4 kB / 1.031 GB, free: 7.504 MB / 0.7794 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.0001162/0.7919, allocations: 133.8 kB / 1.031 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.7919, allocations: 15.81 kB / 1.031 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/0.792, allocations: 25.81 kB / 1.031 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.792, allocations: 0 / 1.031 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.792, allocations: 4 kB / 1.031 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.792, allocations: 7.984 kB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.7923, allocations: 273.3 kB / 1.031 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.7923, allocations: 0 / 1.031 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/0.7928, allocations: 107.9 kB / 1.032 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.7928, allocations: 0 / 1.032 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.7928, allocations: 3.938 kB / 1.032 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.7929, allocations: 4 kB / 1.032 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7929, allocations: 0 / 1.032 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.795, allocations: 0.7683 MB / 1.032 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.7951, allocations: 92.95 kB / 1.032 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.7951, allocations: 11.92 kB / 1.032 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.7955, allocations: 75.98 kB / 1.032 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.664e-05/0.7956, allocations: 19.97 kB / 1.032 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.7956, allocations: 8 kB / 1.032 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000104/0.7957, allocations: 128.4 kB / 1.033 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7957, allocations: 4 kB / 1.033 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000268/0.796, allocations: 43.84 kB / 1.033 GB, free: 5.707 MB / 0.7794 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.0001575/0.7961, allocations: 107.2 kB / 1.033 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.7976, allocations: 425 kB / 1.033 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7976, allocations: 0 / 1.033 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007153/0.7983, allocations: 223.7 kB / 1.033 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.7987, allocations: 31.98 kB / 1.033 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007339/0.7995, allocations: 432.8 kB / 1.034 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.7998, allocations: 0.7243 MB / 1.035 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.407e-05/0.7999, allocations: 13.08 kB / 1.035 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.255e-05/0.8, allocations: 19.38 kB / 1.035 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.8, allocations: 3.938 kB / 1.035 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of Templates: time 0.005085/0.8051, allocations: 2.163 MB / 1.037 GB, free: 1.559 MB / 0.7794 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/jenkins/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