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.001684/0.001684, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002095/0.002095, allocations: 196.2 kB / 16.26 MB, free: 6.629 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.511/1.511, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.823/2.823, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00298/0.00298, allocations: 71.84 kB / 0.8688 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7342/0.7372, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002742/0.74, allocations: 1.152 MB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.7414, allocations: 0.9597 MB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.975e-05/0.7415, allocations: 4 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.629e-05/0.7416, allocations: 11.86 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.7417, allocations: 35.72 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.742, allocations: 59.94 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.7422, allocations: 227.4 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.7424, allocations: 68.83 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.7425, allocations: 95.62 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.7427, allocations: 111.5 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.793e-05/0.7427, allocations: 20 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.58e-05/0.7428, allocations: 16.05 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.7428, allocations: 55.77 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.458e-05/0.7429, allocations: 87.45 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.7432, allocations: 209.2 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.7432, allocations: 3.938 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7432, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.7432, allocations: 0 / 1.02 GB, free: 15.64 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.001168/0.7444, allocations: 0.5589 MB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.7444, allocations: 8.031 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.7445, allocations: 24.66 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.7447, allocations: 231.9 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.7448, allocations: 8.375 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.7448, allocations: 16.31 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007715/0.7456, allocations: 242.8 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.7456, allocations: 192 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.7456, allocations: 11.92 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.7457, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.7467, allocations: 291.6 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000748/0.7475, allocations: 0.4923 MB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007347/0.7483, allocations: 246.3 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006256/0.7489, allocations: 192.7 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.7489, allocations: 4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.749, allocations: 34.56 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.749, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.001881/0.7509, allocations: 0.495 MB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.7509, allocations: 59.34 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.7511, allocations: 179.5 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.7511, allocations: 25.7 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.957e-05/0.7512, allocations: 128.2 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/0.7513, allocations: 59.23 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.958e-05/0.7514, allocations: 37.72 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.7516, allocations: 330.8 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005761/0.7522, allocations: 143.8 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006002/0.7528, allocations: 182.3 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.7539, allocations: 294 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7539, allocations: 0 / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00122/0.7551, allocations: 366.4 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.7551, allocations: 4 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.7551, allocations: 4 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.7552, allocations: 11.92 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/0.7556, allocations: 71.91 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.7556, allocations: 0 / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/0.7559, allocations: 67.77 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.7559, allocations: 4 kB / 1.024 GB, free: 10.65 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.0001368/0.7561, allocations: 129.8 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.7561, allocations: 11.81 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.023e-05/0.7562, allocations: 29.8 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.7562, allocations: 4 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.7562, allocations: 7.938 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.7562, allocations: 0 / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.7565, allocations: 273.4 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.7565, allocations: 0 / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.7569, allocations: 71.92 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.7569, allocations: 0 / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.757, allocations: 7.938 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.757, allocations: 7.984 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.757, allocations: 0 / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.7589, allocations: 0.633 MB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.7589, allocations: 88.95 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.759, allocations: 7.875 kB / 1.026 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/0.7593, allocations: 55.98 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.849e-05/0.7594, allocations: 23.97 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.7594, allocations: 4 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001085/0.7595, allocations: 132.4 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7595, allocations: 0 / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002724/0.7598, allocations: 39.94 kB / 1.026 GB, free: 9.055 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.0001668/0.76, allocations: 111.2 kB / 1.026 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.7612, allocations: 333.1 kB / 1.026 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7612, allocations: 0 / 1.026 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005961/0.7618, allocations: 175.8 kB / 1.027 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.7622, allocations: 35.97 kB / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008829/0.7631, allocations: 429.8 kB / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.7635, allocations: 0.7318 MB / 1.028 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001044/0.7636, allocations: 9.094 kB / 1.028 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.392e-05/0.7637, allocations: 19.44 kB / 1.028 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.7637, allocations: 4 kB / 1.028 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of Templates: time 0.006243/0.77, allocations: 2.298 MB / 1.03 GB, free: 4.898 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=400 -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