Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007805/0.007804, allocations: 101.3 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.001427/0.001428, allocations: 189.7 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.572/1.572, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.636/2.636, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 64.61 kB / 0.9509 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.398, allocations: 140.4 MB / 1.088 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.002665/0.4007, allocations: 1.087 MB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.4024, allocations: 0.965 MB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.4026, allocations: 0 / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.526e-05/0.4028, allocations: 19.73 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.403, allocations: 51.53 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.4034, allocations: 59.91 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003912/0.4038, allocations: 219.4 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.4041, allocations: 80.56 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.4043, allocations: 95.61 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.4045, allocations: 107.5 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.376e-05/0.4046, allocations: 20 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.976e-05/0.4047, allocations: 20 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.976e-05/0.4047, allocations: 51.83 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.4048, allocations: 87.45 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.4052, allocations: 215.1 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4052, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4052, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.487e-06/0.4052, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 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.001205/0.4064, allocations: 0.561 MB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.4065, allocations: 8.031 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.919e-05/0.4065, allocations: 24.73 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.4068, allocations: 223.8 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.4069, allocations: 8.375 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/0.4069, allocations: 12.38 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007702/0.4077, allocations: 246.5 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.4077, allocations: 4.188 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.4078, allocations: 11.88 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.4078, allocations: 8 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.4089, allocations: 291.7 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008867/0.4098, allocations: 492.2 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007655/0.4106, allocations: 242.4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006238/0.4112, allocations: 200.6 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.006e-05/0.4113, allocations: 4 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.4113, allocations: 42.5 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 3.847e-06/0.4113, allocations: 0 / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.001833/0.4132, allocations: 0.4952 MB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.4132, allocations: 55.41 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.4134, allocations: 172.5 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.4134, allocations: 29.7 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/0.4135, allocations: 128.3 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.4136, allocations: 63.09 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.803e-05/0.4137, allocations: 29.72 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4138, allocations: 330.8 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005492/0.4144, allocations: 151.8 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005204/0.4149, allocations: 143.8 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.4159, allocations: 298.1 kB / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.416, allocations: 0 / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001154/0.4171, allocations: 363.7 kB / 1.095 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.4171, allocations: 12 kB / 1.095 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4172, allocations: 0 / 1.095 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.4172, allocations: 3.938 kB / 1.095 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.4176, allocations: 79.84 kB / 1.096 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.4176, allocations: 4 kB / 1.096 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.4179, allocations: 59.77 kB / 1.096 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.4179, allocations: 8 kB / 1.096 GB, free: 9.371 MB / 0.8575 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.0001245/0.4181, allocations: 121.8 kB / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.4181, allocations: 11.81 kB / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.4182, allocations: 25.81 kB / 1.096 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4182, allocations: 4 kB / 1.096 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4182, allocations: 3.984 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4182, allocations: 4 kB / 1.096 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.4186, allocations: 273.4 kB / 1.096 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4186, allocations: 7.875 kB / 1.096 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/0.419, allocations: 71.91 kB / 1.096 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.419, allocations: 0 / 1.096 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.419, allocations: 7.938 kB / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.419, allocations: 4 kB / 1.096 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.419, allocations: 4 kB / 1.096 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.4208, allocations: 0.6277 MB / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.4209, allocations: 92.86 kB / 1.097 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.4209, allocations: 3.938 kB / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.4212, allocations: 55.98 kB / 1.097 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.765e-05/0.4213, allocations: 23.97 kB / 1.097 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.4214, allocations: 8 kB / 1.097 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001044/0.4215, allocations: 131.4 kB / 1.097 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4215, allocations: 3.938 kB / 1.097 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002884/0.4218, allocations: 39.91 kB / 1.097 GB, free: 7.773 MB / 0.8575 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.0001635/0.4219, allocations: 103.2 kB / 1.097 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.4231, allocations: 329.8 kB / 1.097 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4231, allocations: 0 / 1.097 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005752/0.4237, allocations: 171.8 kB / 1.098 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.4242, allocations: 39.95 kB / 1.098 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008147/0.425, allocations: 368.8 kB / 1.098 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.4254, allocations: 0.7279 MB / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.03e-05/0.4255, allocations: 9.078 kB / 1.099 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/0.4256, allocations: 15.44 kB / 1.099 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of SimCode: time 2.71e-07/0.4256, allocations: 0 / 1.099 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of Templates: time 0.006335/0.4319, allocations: 2.676 MB / 1.101 GB, free: 3.324 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches