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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001656/0.001655, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002172/0.002172, allocations: 190.9 kB / 16.25 MB, free: 6.59 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: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.035/3.035, allocations: 472.7 MB / 0.7449 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 70.89 kB / 0.9116 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.418, allocations: 159.9 MB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.00244/0.4205, allocations: 1.145 MB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.4216, allocations: 0.9714 MB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.512e-05/0.4217, allocations: 0 / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.306e-05/0.4218, allocations: 15.8 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.422, allocations: 35.72 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.4222, allocations: 59.94 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.4224, allocations: 219.4 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.4226, allocations: 72.77 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.4227, allocations: 91.69 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.4228, allocations: 107.5 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.4229, allocations: 24 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.122e-05/0.4229, allocations: 20 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.423, allocations: 51.81 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.748e-05/0.4231, allocations: 87.47 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.4233, allocations: 211.5 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.4233, allocations: 0 / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4233, allocations: 0 / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.4233, allocations: 0 / 1.071 GB, free: 7.566 MB / 0.8262 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.001089/0.4244, allocations: 0.5571 MB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4245, allocations: 12.03 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.4245, allocations: 24.59 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.4247, allocations: 227.9 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.4248, allocations: 16.38 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.4248, allocations: 12.38 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007145/0.4255, allocations: 230.6 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.4256, allocations: 4.188 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.4256, allocations: 11.94 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.4256, allocations: 4 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.4266, allocations: 287.7 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006939/0.4273, allocations: 0.4923 MB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007001/0.428, allocations: 246.3 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005817/0.4286, allocations: 197.2 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.4287, allocations: 0 / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.4287, allocations: 38.55 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 9.31e-07/0.4287, allocations: 4 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.001732/0.4304, allocations: 0.4949 MB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.4305, allocations: 55.34 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.4306, allocations: 175.6 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.4307, allocations: 29.7 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.441e-05/0.4308, allocations: 124.3 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.4308, allocations: 59.09 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.92e-05/0.4309, allocations: 41.7 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4311, allocations: 326.8 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005318/0.4316, allocations: 143.8 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/0.4322, allocations: 178.4 kB / 1.075 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.4332, allocations: 302.3 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4332, allocations: 0 / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001116/0.4343, allocations: 366.4 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.4344, allocations: 8 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4344, allocations: 0 / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.4344, allocations: 3.938 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.4348, allocations: 75.91 kB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.4348, allocations: 0 / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/0.4351, allocations: 63.83 kB / 1.075 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.4352, allocations: 3.984 kB / 1.075 GB, free: 2.586 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.0002586/0.4354, allocations: 135.3 kB / 1.076 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.4355, allocations: 19.75 kB / 1.076 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.287e-05/0.4356, allocations: 29.8 kB / 1.076 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.4356, allocations: 4 kB / 1.076 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.4356, allocations: 0 / 1.076 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4356, allocations: 4 kB / 1.076 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.436, allocations: 269.4 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.436, allocations: 3.984 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003801/0.4364, allocations: 75.92 kB / 1.076 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.4364, allocations: 0 / 1.076 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.4364, allocations: 3.938 kB / 1.076 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4364, allocations: 0 / 1.076 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4364, allocations: 4 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.4382, allocations: 0.6292 MB / 1.077 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.4383, allocations: 96.89 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.4384, allocations: 7.938 kB / 1.077 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/0.4387, allocations: 55.98 kB / 1.077 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/0.4388, allocations: 23.97 kB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.4388, allocations: 7.938 kB / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001121/0.4389, allocations: 140.1 kB / 1.077 GB, free: 1 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4389, allocations: 0 / 1.077 GB, free: 1 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002803/0.4392, allocations: 35.91 kB / 1.077 GB, free: 0.9648 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.0001897/0.4394, allocations: 104.5 kB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.4406, allocations: 340.8 kB / 1.077 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4406, allocations: 0 / 1.077 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005639/0.4412, allocations: 175.7 kB / 1.077 GB, free: 356 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.4417, allocations: 39.95 kB / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009396/0.4426, allocations: 422.7 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.4431, allocations: 0.7357 MB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001113/0.4432, allocations: 5.094 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.663e-05/0.4433, allocations: 15.44 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.4433, allocations: 4 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of Templates: time 0.005729/0.4491, allocations: 2.286 MB / 1.081 GB, free: 12.82 MB / 0.8419 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