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.001333/0.001333, allocations: 103 kB / 16.41 MB, free: 6.512 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.001436/0.001436, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.451/2.451, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 59.91 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7013/0.7026, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002205/0.7049, allocations: 1.101 MB / 1.21 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.7061, allocations: 0.9597 MB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.7062, allocations: 4 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.956e-05/0.7063, allocations: 23.73 kB / 1.211 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.7065, allocations: 39.59 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.7067, allocations: 67.84 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.707, allocations: 223.4 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.7072, allocations: 76.81 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.7073, allocations: 91.69 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.7075, allocations: 111.5 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.7075, allocations: 20 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.433e-05/0.7076, allocations: 20 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.7076, allocations: 47.83 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.923e-05/0.7077, allocations: 87.5 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.7079, allocations: 218.8 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7079, allocations: 3.984 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7079, allocations: 4 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.7079, allocations: 0 / 1.211 GB, free: 10.52 MB / 0.9356 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.001108/0.7091, allocations: 0.561 MB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.7091, allocations: 12.03 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.523e-05/0.7092, allocations: 24.59 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.7094, allocations: 224 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.7094, allocations: 12.38 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.7095, allocations: 12.38 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/0.7102, allocations: 238 kB / 1.213 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.7102, allocations: 192 / 1.213 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.7103, allocations: 11.94 kB / 1.213 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.7103, allocations: 4 kB / 1.213 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.7114, allocations: 296.2 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006437/0.7121, allocations: 492.2 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007229/0.7128, allocations: 246.3 kB / 1.214 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000624/0.7134, allocations: 196.6 kB / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.7135, allocations: 4 kB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.7135, allocations: 30.56 kB / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.7135, allocations: 0 / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.001852/0.7153, allocations: 0.4992 MB / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.7154, allocations: 63.34 kB / 1.214 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.7155, allocations: 175.6 kB / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.7156, allocations: 25.7 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.7156, allocations: 128.3 kB / 1.215 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.7157, allocations: 59.16 kB / 1.215 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.7158, allocations: 37.7 kB / 1.215 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.7159, allocations: 326.8 kB / 1.215 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005777/0.7165, allocations: 147.8 kB / 1.215 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005837/0.7171, allocations: 174.4 kB / 1.215 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.7182, allocations: 302.3 kB / 1.216 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.7182, allocations: 0 / 1.216 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001218/0.7194, allocations: 362.6 kB / 1.216 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.7194, allocations: 8 kB / 1.216 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.7195, allocations: 3.984 kB / 1.216 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.7195, allocations: 3.938 kB / 1.216 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.7199, allocations: 71.92 kB / 1.216 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.7199, allocations: 4 kB / 1.216 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.7203, allocations: 59.77 kB / 1.216 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.7203, allocations: 8 kB / 1.216 GB, free: 5.547 MB / 0.9356 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.0001731/0.7205, allocations: 133.8 kB / 1.216 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.7205, allocations: 15.81 kB / 1.216 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.203e-05/0.7206, allocations: 25.81 kB / 1.216 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.7206, allocations: 0 / 1.216 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.7206, allocations: 3.984 kB / 1.216 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.7207, allocations: 3.984 kB / 1.216 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.721, allocations: 273.4 kB / 1.217 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.721, allocations: 3.938 kB / 1.217 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/0.7215, allocations: 79.91 kB / 1.217 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.7215, allocations: 0 / 1.217 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.7215, allocations: 7.938 kB / 1.217 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.7215, allocations: 0 / 1.217 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.7215, allocations: 3.938 kB / 1.217 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.7235, allocations: 0.6298 MB / 1.217 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.851e-05/0.7236, allocations: 92.95 kB / 1.217 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.7236, allocations: 3.938 kB / 1.217 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/0.724, allocations: 51.92 kB / 1.217 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.7241, allocations: 27.91 kB / 1.217 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.7241, allocations: 4.062 kB / 1.217 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001123/0.7242, allocations: 140.2 kB / 1.218 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7242, allocations: 0 / 1.218 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002822/0.7245, allocations: 47.83 kB / 1.218 GB, free: 3.926 MB / 0.9356 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.0002106/0.7247, allocations: 107.2 kB / 1.218 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001259/0.726, allocations: 323.7 kB / 1.218 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.726, allocations: 0 / 1.218 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006214/0.7266, allocations: 179.7 kB / 1.218 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.727, allocations: 41.94 kB / 1.218 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006889/0.7277, allocations: 382.4 kB / 1.219 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.728, allocations: 0.724 MB / 1.219 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.663e-05/0.7281, allocations: 23.44 kB / 1.219 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.7281, allocations: 0 / 1.219 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of Templates: time 0.004425/0.7326, allocations: 2.602 MB / 1.222 GB, free: 15.52 MB / 0.9512 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/jenkins1/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