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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0008969/0.000897, allocations: 91.84 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.00786/0.00786, allocations: 169.9 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.53/1.53, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.851/2.851, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004258/0.0004259, allocations: 11.94 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3723, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001339/0.3737, allocations: 0.7958 MB / 1.059 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.375, allocations: 0.9636 MB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.3751, allocations: 4 kB / 1.06 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.294e-05/0.3752, allocations: 11.86 kB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.3753, allocations: 23.78 kB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.3756, allocations: 67.86 kB / 1.061 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.3759, allocations: 211.4 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.376, allocations: 64.78 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.3762, allocations: 79.62 kB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.3763, allocations: 99.5 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.3764, allocations: 12 kB / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.455e-05/0.3764, allocations: 8 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.799e-05/0.3764, allocations: 27.84 kB / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.848e-05/0.3765, allocations: 101.2 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.3768, allocations: 191.5 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3768, allocations: 4 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3768, allocations: 0 / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3768, allocations: 0 / 1.061 GB, free: 2.797 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.001171/0.378, allocations: 0.5845 MB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.378, allocations: 12.03 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.3781, allocations: 20.66 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.3783, allocations: 225 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.3784, allocations: 12.38 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.3784, allocations: 24.3 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008469/0.3793, allocations: 282 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3793, allocations: 4.125 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.3793, allocations: 11.94 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3793, allocations: 0 / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.3806, allocations: 387.7 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007402/0.3814, allocations: 496.3 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008324/0.3822, allocations: 298.4 kB / 1.064 GB, free: 332 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007036/0.3829, allocations: 244.7 kB / 1.064 GB, free: 84 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.383, allocations: 320 / 1.064 GB, free: 84 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.383, allocations: 46.48 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.102e-06/0.383, allocations: 0 / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.002132/0.3851, allocations: 0.6392 MB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.3852, allocations: 55.31 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.3853, allocations: 174.3 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.3854, allocations: 33.7 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.3855, allocations: 120.4 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.645e-05/0.3855, allocations: 55.11 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.3856, allocations: 21.7 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.3857, allocations: 330.8 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006545/0.3864, allocations: 195.8 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006775/0.387, allocations: 226.3 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.3883, allocations: 393.9 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3883, allocations: 4 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001407/0.3897, allocations: 463.4 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3898, allocations: 4 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3898, allocations: 3.938 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3898, allocations: 7.938 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004468/0.3903, allocations: 103.8 kB / 1.067 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3903, allocations: 0 / 1.067 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.3906, allocations: 79.92 kB / 1.067 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.3906, allocations: 4 kB / 1.067 GB, free: 13.09 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.0001167/0.3908, allocations: 125.8 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.3908, allocations: 19.81 kB / 1.067 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.826e-05/0.3909, allocations: 25.81 kB / 1.067 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3909, allocations: 4 kB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3909, allocations: 7.922 kB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3909, allocations: 0 / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.3912, allocations: 269.4 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3912, allocations: 3.938 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000432/0.3917, allocations: 103.9 kB / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3917, allocations: 4 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.3917, allocations: 7.938 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3917, allocations: 0 / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3917, allocations: 0 / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.3942, allocations: 0.7745 MB / 1.068 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/0.3942, allocations: 92.89 kB / 1.068 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.3943, allocations: 4 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/0.3946, allocations: 83.92 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.986e-05/0.3947, allocations: 23.97 kB / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.3948, allocations: 3.984 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000113/0.3949, allocations: 132.2 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.11e-07/0.3949, allocations: 4 kB / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002739/0.3952, allocations: 35.91 kB / 1.068 GB, free: 11.3 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.0001726/0.3953, allocations: 105.1 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001399/0.3968, allocations: 431.5 kB / 1.069 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3968, allocations: 0 / 1.069 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006834/0.3975, allocations: 219.8 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.3979, allocations: 39.86 kB / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007979/0.3987, allocations: 442.2 kB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.3992, allocations: 0.7319 MB / 1.07 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.3993, allocations: 21.02 kB / 1.07 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.966e-05/0.3994, allocations: 15.42 kB / 1.07 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of SimCode: time 1.062e-06/0.3994, allocations: 0 / 1.07 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of Templates: time 0.005501/0.4049, allocations: 2.161 MB / 1.072 GB, free: 7.125 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/jenkins/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