Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_11_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_11_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.001432/0.001432, allocations: 107.6 kB / 15.99 MB, free: 6.348 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.001434/0.001434, allocations: 189.2 kB / 16.91 MB, free: 6.188 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.325/1.325, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.584/2.584, allocations: 469.8 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.001861, allocations: 73.84 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2959, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.00228/0.2982, allocations: 1.138 MB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.2994, allocations: 0.9791 MB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.2995, allocations: 4 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.657e-05/0.2996, allocations: 7.875 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.2997, allocations: 27.72 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.2999, allocations: 63.94 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.3002, allocations: 227.3 kB / 1.067 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.3003, allocations: 72.81 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.3005, allocations: 91.62 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.3006, allocations: 107.6 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.3006, allocations: 16 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.948e-05/0.3007, allocations: 24 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.198e-05/0.3007, allocations: 51.81 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.497e-05/0.3008, allocations: 95.45 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.301, allocations: 147.9 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.301, allocations: 0 / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.292e-06/0.301, allocations: 3.938 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.301, allocations: 0 / 1.067 GB, free: 12.08 MB / 0.8419 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.3022, allocations: 0.561 MB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.3022, allocations: 8.031 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.553e-05/0.3023, allocations: 20.75 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.3026, allocations: 229 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.3026, allocations: 12.31 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.3026, allocations: 16.38 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007461/0.3034, allocations: 242 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3034, allocations: 192 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.3034, allocations: 7.938 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.3034, allocations: 8 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.3045, allocations: 287.7 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007392/0.3053, allocations: 0.4923 MB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000728/0.306, allocations: 246.3 kB / 1.069 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006411/0.3067, allocations: 198.2 kB / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.3067, allocations: 0 / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.3067, allocations: 30.56 kB / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=17): time 9.02e-07/0.3067, allocations: 0 / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17): time 0.001812/0.3086, allocations: 0.4994 MB / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.3086, allocations: 59.34 kB / 1.07 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.3088, allocations: 174.9 kB / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.3088, allocations: 29.7 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.045e-05/0.3089, allocations: 128.2 kB / 1.07 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/0.309, allocations: 67.08 kB / 1.07 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.431e-05/0.3091, allocations: 33.72 kB / 1.07 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3092, allocations: 330.8 kB / 1.071 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005576/0.3098, allocations: 143.8 kB / 1.071 GB, free: 8.086 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005675/0.3104, allocations: 176.7 kB / 1.071 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.3114, allocations: 300.6 kB / 1.071 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3114, allocations: 0 / 1.071 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001129/0.3126, allocations: 359.2 kB / 1.072 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3126, allocations: 11.94 kB / 1.072 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3126, allocations: 0 / 1.072 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3126, allocations: 7.938 kB / 1.072 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.313, allocations: 75.91 kB / 1.072 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3131, allocations: 4 kB / 1.072 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.3133, allocations: 59.83 kB / 1.072 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.3134, allocations: 8 kB / 1.072 GB, free: 7.09 MB / 0.8419 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.0001248/0.3135, allocations: 125.8 kB / 1.072 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.3136, allocations: 19.81 kB / 1.072 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.205e-05/0.3136, allocations: 29.8 kB / 1.072 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3136, allocations: 0 / 1.072 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3136, allocations: 0 / 1.072 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3136, allocations: 0 / 1.072 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.3139, allocations: 277.3 kB / 1.072 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.314, allocations: 4 kB / 1.072 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003852/0.3143, allocations: 71.92 kB / 1.072 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3144, allocations: 0 / 1.072 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.3144, allocations: 11.92 kB / 1.072 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3144, allocations: 0 / 1.072 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3144, allocations: 0 / 1.072 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/0.3162, allocations: 0.6315 MB / 1.073 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.87e-05/0.3163, allocations: 92.89 kB / 1.073 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.3163, allocations: 11.92 kB / 1.073 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.3166, allocations: 51.94 kB / 1.073 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/0.3167, allocations: 24.03 kB / 1.073 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.3167, allocations: 7.984 kB / 1.073 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001154/0.3169, allocations: 132.3 kB / 1.073 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3169, allocations: 3.938 kB / 1.073 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002556/0.3171, allocations: 39.91 kB / 1.073 GB, free: 5.477 MB / 0.8419 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.0001484/0.3173, allocations: 103.2 kB / 1.073 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.3185, allocations: 341.8 kB / 1.074 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3185, allocations: 0 / 1.074 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005945/0.3191, allocations: 171.8 kB / 1.074 GB, free: 4.863 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.3195, allocations: 35.91 kB / 1.074 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007465/0.3202, allocations: 458.3 kB / 1.074 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.3206, allocations: 0.724 MB / 1.075 GB, free: 3.602 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.192e-05/0.3207, allocations: 19.44 kB / 1.075 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3207, allocations: 0 / 1.075 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of Templates: time 0.004556/0.3253, allocations: 2.585 MB / 1.078 GB, free: 1.02 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches