Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 220.1 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.154/3.154, allocations: 0.49 GB / 0.7958 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 70.66 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3406, allocations: 176.1 MB / 1.327 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002397/0.343, allocations: 1.098 MB / 1.328 GB, free: 324 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.3444, allocations: 1.007 MB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.931e-05/0.3445, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.886e-05/0.3446, allocations: 19.73 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.3447, allocations: 39.66 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.3449, allocations: 67.84 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.3452, allocations: 231.4 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.3454, allocations: 57.16 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.3455, allocations: 95.62 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.3457, allocations: 107.6 kB / 1.33 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.3457, allocations: 16 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.279e-05/0.3458, allocations: 20 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.931e-05/0.3458, allocations: 51.81 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.183e-05/0.3459, allocations: 91.47 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.3462, allocations: 215 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3462, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3462, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.3462, allocations: 7.938 kB / 1.33 GB, free: 14.29 MB / 1.029 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.001142/0.3473, allocations: 0.4894 MB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3474, allocations: 12.03 kB / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.3474, allocations: 24.8 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.3477, allocations: 174.1 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.3477, allocations: 12.38 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.3477, allocations: 12.38 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007605/0.3485, allocations: 246 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3485, allocations: 192 / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.3485, allocations: 11.94 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3485, allocations: 4 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.3496, allocations: 291.6 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007496/0.3504, allocations: 463.5 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000729/0.3511, allocations: 236.7 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006052/0.3517, allocations: 180.7 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.3517, allocations: 7.984 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.3518, allocations: 30.56 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.3518, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.001807/0.3536, allocations: 0.5011 MB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.3536, allocations: 55.41 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.3538, allocations: 182.3 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.3538, allocations: 25.7 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.526e-05/0.3539, allocations: 128.4 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/0.354, allocations: 59.48 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.668e-05/0.3541, allocations: 37.7 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3542, allocations: 326.8 kB / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/0.3548, allocations: 147.8 kB / 1.334 GB, free: 10.51 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005799/0.3554, allocations: 180 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.3565, allocations: 302.2 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3565, allocations: 0 / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001185/0.3577, allocations: 357.2 kB / 1.335 GB, free: 9.676 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3577, allocations: 8 kB / 1.335 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3577, allocations: 3.984 kB / 1.335 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3577, allocations: 7.922 kB / 1.335 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.3581, allocations: 71.92 kB / 1.335 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.63e-05/0.3581, allocations: 11.92 kB / 1.335 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.3584, allocations: 63.75 kB / 1.335 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.3584, allocations: 4 kB / 1.335 GB, free: 9.508 MB / 1.029 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.0001275/0.3586, allocations: 133.8 kB / 1.335 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.3586, allocations: 15.91 kB / 1.335 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.552e-05/0.3587, allocations: 25.75 kB / 1.335 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.3587, allocations: 0 / 1.335 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3587, allocations: 0 / 1.335 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3587, allocations: 7.922 kB / 1.335 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.359, allocations: 240.5 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.359, allocations: 0 / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/0.3594, allocations: 83.84 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3594, allocations: 0 / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.3594, allocations: 7.938 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3594, allocations: 0 / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3594, allocations: 0 / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.3615, allocations: 0.6372 MB / 1.336 GB, free: 8.293 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.3616, allocations: 15.88 kB / 1.336 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.3616, allocations: 7.938 kB / 1.336 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.3619, allocations: 51.92 kB / 1.336 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.362, allocations: 19.97 kB / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.362, allocations: 4 kB / 1.336 GB, free: 8.195 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001123/0.3621, allocations: 139.2 kB / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3621, allocations: 0 / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002715/0.3624, allocations: 43.89 kB / 1.336 GB, free: 8.016 MB / 1.029 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.0001547/0.3626, allocations: 99.25 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.3638, allocations: 321.6 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3638, allocations: 0 / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005982/0.3644, allocations: 167.8 kB / 1.337 GB, free: 7.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.3648, allocations: 35.98 kB / 1.337 GB, free: 7.395 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008152/0.3656, allocations: 399.2 kB / 1.337 GB, free: 6.973 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.366, allocations: 0.7279 MB / 1.338 GB, free: 6.219 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.3661, allocations: 19.42 kB / 1.338 GB, free: 6.199 MB / 1.029 GB Notification: Performance of SimCode: time 4.1e-07/0.3661, allocations: 0 / 1.338 GB, free: 6.199 MB / 1.029 GB Notification: Performance of Templates: time 0.004885/0.371, allocations: 2.613 MB / 1.34 GB, free: 3.617 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.187846474000253]