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.0007809/0.0007808, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008763/0.0008762, allocations: 179.9 kB / 16.92 MB, free: 6.652 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.425/1.425, allocations: 223.3 MB / 241 MB, free: 5.297 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.606/2.606, allocations: 390.9 MB / 0.667 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003977, allocations: 12 kB / 0.8167 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7728/0.7732, allocations: 142.4 MB / 0.9557 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.00126/0.7745, allocations: 0.7885 MB / 0.9565 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.7758, allocations: 0.9642 MB / 0.9574 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.776, allocations: 1.938 kB / 0.9574 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.135e-05/0.7761, allocations: 11.86 kB / 0.9575 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.7763, allocations: 27.23 kB / 0.9575 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.7765, allocations: 56.42 kB / 0.9575 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.7768, allocations: 211 kB / 0.9577 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.777, allocations: 63.53 kB / 0.9578 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.7772, allocations: 78.31 kB / 0.9579 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.7773, allocations: 99.95 kB / 0.958 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.7774, allocations: 8.344 kB / 0.958 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.269e-05/0.7774, allocations: 8.344 kB / 0.958 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.417e-05/0.7774, allocations: 32.17 kB / 0.958 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.182e-05/0.7775, allocations: 105.5 kB / 0.9581 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.7777, allocations: 150.3 kB / 0.9583 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.7777, allocations: 0 / 0.9583 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7777, allocations: 0 / 0.9583 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.7777, allocations: 1.75 kB / 0.9583 GB, free: 5.805 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.001099/0.7788, allocations: 0.5757 MB / 0.9588 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.7789, allocations: 9.156 kB / 0.9588 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.585e-05/0.7789, allocations: 26.34 kB / 0.9589 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.7791, allocations: 228 kB / 0.9591 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.7791, allocations: 10.09 kB / 0.9591 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.7792, allocations: 12.31 kB / 0.9591 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008045/0.78, allocations: 282 kB / 0.9594 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.78, allocations: 5.375 kB / 0.9594 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.78, allocations: 9.406 kB / 0.9594 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.7801, allocations: 3.156 kB / 0.9594 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.7813, allocations: 390.5 kB / 0.9598 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006351/0.7819, allocations: 498.9 kB / 0.9602 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008037/0.7827, allocations: 299.6 kB / 0.9605 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007133/0.7834, allocations: 243.6 kB / 0.9607 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.7835, allocations: 2.188 kB / 0.9607 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.7835, allocations: 35.56 kB / 0.9608 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.7835, allocations: 4 kB / 0.9608 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.002096/0.7856, allocations: 0.6381 MB / 0.9614 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.7857, allocations: 53.69 kB / 0.9615 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.7858, allocations: 171.4 kB / 0.9616 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.7858, allocations: 30.55 kB / 0.9617 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.7859, allocations: 132.4 kB / 0.9618 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/0.786, allocations: 58.12 kB / 0.9618 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.786, allocations: 21.56 kB / 0.9619 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.497e-05/0.7861, allocations: 330.6 kB / 0.9622 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006636/0.7867, allocations: 192.3 kB / 0.9624 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006442/0.7874, allocations: 198.5 kB / 0.9625 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.7886, allocations: 392.9 kB / 0.9629 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7886, allocations: 0 / 0.9629 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001322/0.79, allocations: 462.2 kB / 0.9634 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.79, allocations: 5.594 kB / 0.9634 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.79, allocations: 0 / 0.9634 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.7901, allocations: 9.609 kB / 0.9634 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/0.7905, allocations: 103.4 kB / 0.9635 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.7905, allocations: 1.219 kB / 0.9635 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/0.7909, allocations: 82.14 kB / 0.9636 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.7909, allocations: 8.062 kB / 0.9636 GB, free: 2.453 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.791, allocations: 127.4 kB / 0.9637 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.7911, allocations: 19.23 kB / 0.9637 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/0.7911, allocations: 25.81 kB / 0.9637 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.7911, allocations: 2.094 kB / 0.9637 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.7911, allocations: 0.9062 kB / 0.9637 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7912, allocations: 0 / 0.9637 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.7914, allocations: 282.8 kB / 0.964 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7914, allocations: 1.062 kB / 0.964 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004205/0.7918, allocations: 97.81 kB / 0.9641 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.7919, allocations: 4.875 kB / 0.9641 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.7919, allocations: 9.094 kB / 0.9641 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7919, allocations: 1.281 kB / 0.9641 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.7919, allocations: 0 / 0.9641 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.794, allocations: 0.7658 MB / 0.9649 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.794, allocations: 94.16 kB / 0.9649 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.7941, allocations: 9.031 kB / 0.965 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.7944, allocations: 81.42 kB / 0.965 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.756e-05/0.7945, allocations: 23.88 kB / 0.9651 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.7945, allocations: 3.344 kB / 0.9651 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.772e-05/0.7946, allocations: 140.3 kB / 0.9652 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7946, allocations: 0 / 0.9652 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002784/0.7949, allocations: 42.16 kB / 0.9652 GB, free: 1.305 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 (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.0001457/0.7951, allocations: 107.5 kB / 0.9653 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001385/0.7965, allocations: 422.7 kB / 0.9657 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7965, allocations: 1.188 kB / 0.9657 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006878/0.7972, allocations: 220.6 kB / 0.9659 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.7976, allocations: 32.62 kB / 0.966 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007837/0.7984, allocations: 465.9 kB / 0.9664 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.7987, allocations: 0.7325 MB / 0.9671 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.7988, allocations: 19.7 kB / 0.9672 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of SimCode: time 2.775e-06/0.7988, allocations: 0 / 0.9672 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of Templates: time 0.005139/0.8039, allocations: 2.539 MB / 0.9696 GB, free: 14.58 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/jenkins1/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