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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009989/0.0009989, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001254/0.001254, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.484/2.484, allocations: 390.9 MB / 0.666 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003593, allocations: 12 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8743/0.8747, allocations: 142.4 MB / 0.9545 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.00129/0.8761, allocations: 0.746 MB / 0.9552 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.8771, allocations: 0.9612 MB / 0.9561 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.691e-05/0.8772, allocations: 2.25 kB / 0.9561 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.8772, allocations: 12.89 kB / 0.9561 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.8774, allocations: 27.53 kB / 0.9562 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.8776, allocations: 51.28 kB / 0.9562 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000216/0.8778, allocations: 193.9 kB / 0.9564 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.8779, allocations: 47.16 kB / 0.9564 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.8781, allocations: 75.47 kB / 0.9565 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.8782, allocations: 96.45 kB / 0.9566 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.8782, allocations: 8.25 kB / 0.9566 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.885e-05/0.8783, allocations: 8.25 kB / 0.9566 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.195e-05/0.8783, allocations: 24.56 kB / 0.9567 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/0.8784, allocations: 55.33 kB / 0.9567 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.8785, allocations: 145.5 kB / 0.9568 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.8785, allocations: 0.8125 kB / 0.9568 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8785, allocations: 0 / 0.9568 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.8785, allocations: 0 / 0.9568 GB, free: 5.867 MB / 0.7169 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.00106/0.8796, allocations: 0.5822 MB / 0.9574 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.8796, allocations: 10.66 kB / 0.9574 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.8797, allocations: 28.16 kB / 0.9574 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.8799, allocations: 220.1 kB / 0.9577 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.8799, allocations: 7.781 kB / 0.9577 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.88, allocations: 13.81 kB / 0.9577 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007466/0.8807, allocations: 288.9 kB / 0.958 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.8807, allocations: 0 / 0.958 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.8808, allocations: 5.906 kB / 0.958 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.8808, allocations: 3.5 kB / 0.958 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.8819, allocations: 388.2 kB / 0.9583 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006475/0.8825, allocations: 0.4916 MB / 0.9588 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007393/0.8833, allocations: 297.4 kB / 0.9591 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005967/0.8839, allocations: 244.9 kB / 0.9593 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.8839, allocations: 6.688 kB / 0.9593 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.8839, allocations: 31.94 kB / 0.9594 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.8839, allocations: 4 kB / 0.9594 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.001768/0.8857, allocations: 0.6348 MB / 0.96 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.8858, allocations: 53.06 kB / 0.96 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.8859, allocations: 174.8 kB / 0.9602 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.8859, allocations: 25.7 kB / 0.9602 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.199e-05/0.886, allocations: 128.6 kB / 0.9604 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.325e-05/0.8861, allocations: 58.44 kB / 0.9604 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/0.8861, allocations: 8 kB / 0.9604 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.8862, allocations: 327.4 kB / 0.9607 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005597/0.8867, allocations: 199.1 kB / 0.9609 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.8873, allocations: 200 kB / 0.9611 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005307/0.8878, allocations: 185.1 kB / 0.9613 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8878, allocations: 0 / 0.9613 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001194/0.889, allocations: 467.3 kB / 0.9617 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.8891, allocations: 6.031 kB / 0.9617 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.8891, allocations: 4 kB / 0.9617 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.8891, allocations: 1.562 kB / 0.9617 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/0.8895, allocations: 102.9 kB / 0.9618 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.8896, allocations: 1.344 kB / 0.9618 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.8898, allocations: 78.52 kB / 0.9619 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.8899, allocations: 7.875 kB / 0.9619 GB, free: 2.617 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.89, allocations: 135.8 kB / 0.9621 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.89, allocations: 15.06 kB / 0.9621 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.005e-05/0.8901, allocations: 25.77 kB / 0.9621 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.8901, allocations: 2.469 kB / 0.9621 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.8901, allocations: 0 / 0.9621 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.8901, allocations: 3.984 kB / 0.9621 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.8904, allocations: 279.2 kB / 0.9624 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.8904, allocations: 1.156 kB / 0.9624 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/0.8908, allocations: 101.7 kB / 0.9625 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.8908, allocations: 1 kB / 0.9625 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.8909, allocations: 9.031 kB / 0.9625 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.8909, allocations: 1.406 kB / 0.9625 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8909, allocations: 3.984 kB / 0.9625 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.8927, allocations: 0.7725 MB / 0.9632 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.8927, allocations: 88.92 kB / 0.9633 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.8927, allocations: 2.031 kB / 0.9633 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.8931, allocations: 81.64 kB / 0.9634 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-05/0.8932, allocations: 31.83 kB / 0.9634 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.8932, allocations: 7.094 kB / 0.9634 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.839e-05/0.8933, allocations: 135.3 kB / 0.9636 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8933, allocations: 0 / 0.9636 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002764/0.8936, allocations: 38.22 kB / 0.9636 GB, free: 1.461 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001442/0.8937, allocations: 107.2 kB / 0.9637 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.895, allocations: 429.2 kB / 0.9641 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.895, allocations: 0 / 0.9641 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005881/0.8956, allocations: 220.7 kB / 0.9643 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.896, allocations: 37.23 kB / 0.9644 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007367/0.8967, allocations: 419.3 kB / 0.9648 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.8969, allocations: 0.7294 MB / 0.9655 GB, free: 76 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.963e-05/0.897, allocations: 10.48 kB / 0.9655 GB, free: 72 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.815e-05/0.8971, allocations: 18.5 kB / 0.9655 GB, free: 60 kB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.8971, allocations: 0 / 0.9655 GB, free: 60 kB / 0.7169 GB Notification: Performance of Templates: time 0.007518/0.9046, allocations: 2.028 MB / 0.9675 GB, free: 15.05 MB / 0.7325 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