Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007885/0.007885, allocations: 96.73 kB / 15.73 MB, free: 6.047 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.001642/0.001642, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.902/2.902, allocations: 469.8 MB / 0.7425 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 71.89 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3957, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002781/0.3985, allocations: 1.101 MB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.4, allocations: 0.9597 MB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.4001, allocations: 0 / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.959e-05/0.4002, allocations: 19.73 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.4004, allocations: 43.59 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.4007, allocations: 67.91 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003361/0.401, allocations: 227.3 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.4012, allocations: 56.81 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.4014, allocations: 91.69 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.4016, allocations: 107.5 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.641e-05/0.4016, allocations: 23.94 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.649e-05/0.4017, allocations: 20 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.4017, allocations: 47.83 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.993e-05/0.4018, allocations: 99.38 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.4021, allocations: 211.1 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4021, allocations: 4 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.875e-06/0.4021, allocations: 0 / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.4021, allocations: 0 / 1.224 GB, free: 10.72 MB / 0.9825 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.001244/0.4034, allocations: 0.5686 MB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4034, allocations: 8.031 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.163e-05/0.4035, allocations: 28.73 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.4037, allocations: 228 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.4037, allocations: 12.38 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.4038, allocations: 12.38 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007251/0.4045, allocations: 249.9 kB / 1.225 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4045, allocations: 192 / 1.225 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.4045, allocations: 7.938 kB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.4045, allocations: 4 kB / 1.225 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009932/0.4055, allocations: 295.7 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007504/0.4063, allocations: 496.2 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006928/0.407, allocations: 238.3 kB / 1.226 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005822/0.4076, allocations: 184.7 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.4076, allocations: 4.312 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.4076, allocations: 30.56 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.4076, allocations: 0 / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.001802/0.4094, allocations: 0.4992 MB / 1.226 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.4095, allocations: 59.41 kB / 1.226 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.4096, allocations: 175.2 kB / 1.227 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.4097, allocations: 29.7 kB / 1.227 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.4097, allocations: 136.3 kB / 1.227 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/0.4098, allocations: 63.48 kB / 1.227 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.94e-05/0.4099, allocations: 25.72 kB / 1.227 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.41, allocations: 330.8 kB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005431/0.4106, allocations: 155.7 kB / 1.227 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005344/0.4111, allocations: 170.4 kB / 1.228 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009896/0.4121, allocations: 302.9 kB / 1.228 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4121, allocations: 0 / 1.228 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001084/0.4132, allocations: 357.2 kB / 1.228 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.4132, allocations: 4 kB / 1.228 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.4132, allocations: 0 / 1.228 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.4132, allocations: 15.88 kB / 1.228 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.4136, allocations: 71.91 kB / 1.228 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4136, allocations: 3.938 kB / 1.228 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.4139, allocations: 67.81 kB / 1.228 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.4139, allocations: 8 kB / 1.228 GB, free: 5.723 MB / 0.9825 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.0001243/0.414, allocations: 121.8 kB / 1.228 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.4141, allocations: 19.89 kB / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.4141, allocations: 25.81 kB / 1.228 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.4141, allocations: 4 kB / 1.228 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4141, allocations: 0 / 1.228 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4141, allocations: 0 / 1.228 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.4144, allocations: 273.4 kB / 1.229 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4144, allocations: 8 kB / 1.229 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.4148, allocations: 75.91 kB / 1.229 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.4148, allocations: 0 / 1.229 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.4148, allocations: 11.88 kB / 1.229 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4148, allocations: 4 kB / 1.229 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4148, allocations: 0 / 1.229 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.4165, allocations: 0.6299 MB / 1.229 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.4165, allocations: 97.03 kB / 1.23 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.4166, allocations: 3.938 kB / 1.23 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.4168, allocations: 51.92 kB / 1.23 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.776e-05/0.4169, allocations: 28.03 kB / 1.23 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.4169, allocations: 4 kB / 1.23 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.626e-05/0.417, allocations: 132.3 kB / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.417, allocations: 0 / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002653/0.4173, allocations: 43.89 kB / 1.23 GB, free: 4.117 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.0001778/0.4175, allocations: 109.5 kB / 1.23 GB, free: 4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.4187, allocations: 323.5 kB / 1.23 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4187, allocations: 0 / 1.23 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005122/0.4192, allocations: 173.8 kB / 1.23 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.4197, allocations: 35.91 kB / 1.23 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008265/0.4205, allocations: 372.3 kB / 1.231 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.421, allocations: 0.7278 MB / 1.231 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.332e-05/0.4211, allocations: 17.08 kB / 1.231 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.633e-05/0.4212, allocations: 19.42 kB / 1.232 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.4212, allocations: 0 / 1.232 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of Templates: time 0.006022/0.4272, allocations: 2.739 MB / 1.234 GB, free: 15.59 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches