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.001136/0.001136, allocations: 91.38 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 180.8 kB / 16.92 MB, free: 6.652 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.431/1.431, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.754/2.754, allocations: 462.7 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003911, allocations: 16.44 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3215, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001378/0.3229, allocations: 0.7958 MB / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.3241, allocations: 0.9675 MB / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.3242, allocations: 0 / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.562e-05/0.3243, allocations: 15.86 kB / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.3244, allocations: 23.72 kB / 1.061 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.3246, allocations: 67.92 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000223/0.3248, allocations: 211.5 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.325, allocations: 60.83 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.475e-05/0.3251, allocations: 79.62 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.3253, allocations: 95.47 kB / 1.062 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.3253, allocations: 11.98 kB / 1.062 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.454e-05/0.3253, allocations: 16 kB / 1.062 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.31e-05/0.3254, allocations: 27.84 kB / 1.062 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.066e-05/0.3255, allocations: 105.2 kB / 1.062 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.3256, allocations: 143.9 kB / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3256, allocations: 0 / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3256, allocations: 0 / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.3256, allocations: 0 / 1.062 GB, free: 2.324 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.001105/0.3267, allocations: 0.5767 MB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3268, allocations: 16.03 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.3269, allocations: 24.66 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.3271, allocations: 231.8 kB / 1.063 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.3271, allocations: 12.38 kB / 1.063 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.3271, allocations: 12.38 kB / 1.063 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008159/0.328, allocations: 286 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.328, allocations: 192 / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.328, allocations: 11.94 kB / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.328, allocations: 4 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.3293, allocations: 384.1 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000719/0.33, allocations: 0.4924 MB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000845/0.3309, allocations: 294.4 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006946/0.3316, allocations: 244.7 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.3316, allocations: 320 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.3317, allocations: 38.56 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.3317, allocations: 0 / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.002095/0.3338, allocations: 0.6387 MB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.3338, allocations: 55.31 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.334, allocations: 176.5 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.334, allocations: 29.7 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.661e-05/0.3341, allocations: 124.4 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.3342, allocations: 63.08 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.3342, allocations: 25.66 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3344, allocations: 326.8 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006571/0.335, allocations: 195.8 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006778/0.3357, allocations: 219.8 kB / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.337, allocations: 417.6 kB / 1.067 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.337, allocations: 0 / 1.067 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001369/0.3384, allocations: 450.7 kB / 1.067 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3384, allocations: 4 kB / 1.067 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.3384, allocations: 0 / 1.067 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3384, allocations: 7.938 kB / 1.067 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004415/0.3389, allocations: 103.9 kB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3389, allocations: 3.938 kB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.3393, allocations: 83.92 kB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.3393, allocations: 4 kB / 1.067 GB, free: 12.61 MB / 0.8262 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.0001281/0.3394, allocations: 121.8 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.3395, allocations: 15.81 kB / 1.067 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.3395, allocations: 29.8 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3395, allocations: 4 kB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3395, allocations: 0 / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3396, allocations: 0 / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.3399, allocations: 273.4 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3399, allocations: 3.984 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004271/0.3403, allocations: 103.9 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3403, allocations: 0 / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.3403, allocations: 7.938 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3403, allocations: 0 / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3404, allocations: 0 / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.3425, allocations: 0.7699 MB / 1.069 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.3426, allocations: 92.89 kB / 1.069 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.3426, allocations: 7.938 kB / 1.069 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.343, allocations: 79.98 kB / 1.069 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.698e-05/0.3431, allocations: 27.95 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.3431, allocations: 8 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.948e-05/0.3432, allocations: 131.3 kB / 1.069 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.603e-06/0.3432, allocations: 0 / 1.069 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002776/0.3435, allocations: 39.84 kB / 1.069 GB, free: 10.83 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.0001817/0.3437, allocations: 115.2 kB / 1.069 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001432/0.3451, allocations: 423.5 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3451, allocations: 0 / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006981/0.3458, allocations: 221.3 kB / 1.07 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.3463, allocations: 45.22 kB / 1.07 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008024/0.3471, allocations: 464 kB / 1.07 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.3474, allocations: 0.7319 MB / 1.071 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.499e-05/0.3475, allocations: 15.44 kB / 1.071 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3475, allocations: 0 / 1.071 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of Templates: time 0.004284/0.3518, allocations: 2.563 MB / 1.073 GB, free: 6.238 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/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