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.007642/0.007642, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001453/0.001453, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.795/2.795, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 71.89 kB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.371, allocations: 157.4 MB / 1.208 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002261/0.3733, allocations: 1.089 MB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.3746, allocations: 0.9596 MB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.982e-05/0.3746, allocations: 4 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.305e-05/0.3747, allocations: 19.69 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.3749, allocations: 39.64 kB / 1.21 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.3751, allocations: 79.84 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.3754, allocations: 227.4 kB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.3755, allocations: 68.84 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.3757, allocations: 87.73 kB / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.3758, allocations: 115.5 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.87e-05/0.3759, allocations: 24 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.981e-05/0.3759, allocations: 16 kB / 1.21 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.348e-05/0.376, allocations: 55.81 kB / 1.211 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.3761, allocations: 87.47 kB / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.3763, allocations: 215.1 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3764, allocations: 0 / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3764, allocations: 0 / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.3764, allocations: 0 / 1.211 GB, free: 6.496 MB / 0.9669 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.001164/0.3775, allocations: 0.561 MB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3776, allocations: 8.625 kB / 1.211 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.3777, allocations: 24.66 kB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.378, allocations: 232.2 kB / 1.212 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.378, allocations: 12.38 kB / 1.212 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.3781, allocations: 20.31 kB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007621/0.3788, allocations: 230 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.3788, allocations: 8.172 kB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.3789, allocations: 11.94 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3789, allocations: 0 / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.38, allocations: 296.2 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007139/0.3807, allocations: 496.2 kB / 1.213 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007691/0.3815, allocations: 246.4 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006566/0.3822, allocations: 190.5 kB / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.3822, allocations: 11.98 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3823, allocations: 30.56 kB / 1.213 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.3823, allocations: 3.938 kB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17): time 0.001882/0.3842, allocations: 0.4986 MB / 1.214 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.3842, allocations: 59.41 kB / 1.214 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.3844, allocations: 170.5 kB / 1.214 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.3844, allocations: 29.7 kB / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.3846, allocations: 132.3 kB / 1.214 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.105e-05/0.3846, allocations: 59.11 kB / 1.214 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.54e-05/0.3847, allocations: 33.7 kB / 1.214 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3849, allocations: 330.8 kB / 1.214 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006071/0.3855, allocations: 143.8 kB / 1.214 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000634/0.3861, allocations: 178.4 kB / 1.215 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.3873, allocations: 299.5 kB / 1.215 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3873, allocations: 0 / 1.215 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001234/0.3885, allocations: 361.1 kB / 1.215 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3885, allocations: 4 kB / 1.215 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3885, allocations: 4 kB / 1.215 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3886, allocations: 3.938 kB / 1.215 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.389, allocations: 71.91 kB / 1.215 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.389, allocations: 8 kB / 1.215 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.3893, allocations: 55.83 kB / 1.215 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.3893, allocations: 8 kB / 1.215 GB, free: 1.504 MB / 0.9669 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.000117/0.3894, allocations: 129.7 kB / 1.216 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.3895, allocations: 15.81 kB / 1.216 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.671e-05/0.3895, allocations: 29.8 kB / 1.216 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3896, allocations: 4 kB / 1.216 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3896, allocations: 3.938 kB / 1.216 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3896, allocations: 0 / 1.216 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.3899, allocations: 277.4 kB / 1.216 GB, free: 1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3899, allocations: 0 / 1.216 GB, free: 1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.3903, allocations: 71.92 kB / 1.216 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3903, allocations: 4 kB / 1.216 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.3903, allocations: 11.94 kB / 1.216 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3903, allocations: 3.938 kB / 1.216 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3903, allocations: 3.984 kB / 1.216 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.3922, allocations: 0.622 MB / 1.217 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/0.3923, allocations: 92.89 kB / 1.217 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.3924, allocations: 3.938 kB / 1.217 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.3927, allocations: 55.98 kB / 1.217 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-05/0.3928, allocations: 23.97 kB / 1.217 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.3928, allocations: 4 kB / 1.217 GB, free: 76 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001152/0.3929, allocations: 140.1 kB / 1.217 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3929, allocations: 0 / 1.217 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002697/0.3932, allocations: 43.84 kB / 1.217 GB, free: 15.89 MB / 0.9825 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.0001899/0.3934, allocations: 115.2 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001304/0.3947, allocations: 325.3 kB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3947, allocations: 0 / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006116/0.3953, allocations: 175.8 kB / 1.218 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.3958, allocations: 31.98 kB / 1.218 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007571/0.3965, allocations: 368.8 kB / 1.218 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.3969, allocations: 0.7317 MB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.908e-05/0.397, allocations: 17.06 kB / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.359e-05/0.397, allocations: 19.44 kB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.397, allocations: 0 / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of Templates: time 0.005634/0.4027, allocations: 2.749 MB / 1.221 GB, free: 11.36 MB / 0.9825 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