Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008368/0.0008368, allocations: 99.58 kB / 16.02 MB, free: 76 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.001064/0.001064, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.408/1.408, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.737/2.737, allocations: 437.8 MB / 0.7128 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003572, allocations: 15.94 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6955/0.6959, allocations: 153.8 MB / 1.024 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001177/0.6971, allocations: 0.7937 MB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.6984, allocations: 0.9714 MB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.6985, allocations: 0 / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.115e-05/0.6986, allocations: 11.86 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.6988, allocations: 23.78 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.699, allocations: 63.88 kB / 1.026 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002562/0.6992, allocations: 211.4 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.6994, allocations: 68.83 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.6995, allocations: 79.67 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.6997, allocations: 91.47 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.6997, allocations: 8 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.329e-05/0.6998, allocations: 8 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.874e-05/0.6998, allocations: 35.84 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.896e-05/0.6999, allocations: 109.2 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.7001, allocations: 153.5 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7001, allocations: 0 / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7001, allocations: 0 / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.7001, allocations: 0 / 1.026 GB, free: 13.29 MB / 0.7794 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.001176/0.7013, allocations: 0.5728 MB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.7013, allocations: 12.03 kB / 1.027 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.872e-05/0.7014, allocations: 20.66 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.7016, allocations: 231.9 kB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.7017, allocations: 12.38 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.7017, allocations: 12.38 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008484/0.7026, allocations: 290 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.7026, allocations: 4.188 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.7026, allocations: 11.94 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.7026, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.7039, allocations: 391.6 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007149/0.7047, allocations: 0.4885 MB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008501/0.7055, allocations: 296.4 kB / 1.029 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008606/0.7064, allocations: 244.7 kB / 1.029 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.7064, allocations: 0 / 1.029 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.7065, allocations: 42.5 kB / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.382e-06/0.7065, allocations: 0 / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.00224/0.7087, allocations: 0.6378 MB / 1.029 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.7088, allocations: 51.41 kB / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.7089, allocations: 175.5 kB / 1.03 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.709, allocations: 33.7 kB / 1.03 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.7091, allocations: 132.2 kB / 1.03 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.7091, allocations: 51.17 kB / 1.03 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.7092, allocations: 21.72 kB / 1.03 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.7093, allocations: 330.8 kB / 1.03 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006731/0.71, allocations: 191.8 kB / 1.03 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006851/0.7107, allocations: 231.4 kB / 1.031 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.712, allocations: 391.5 kB / 1.031 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.712, allocations: 4 kB / 1.031 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001415/0.7134, allocations: 457.1 kB / 1.031 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.7134, allocations: 7.938 kB / 1.031 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7134, allocations: 0 / 1.031 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.7135, allocations: 7.938 kB / 1.031 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004426/0.7139, allocations: 103.8 kB / 1.032 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.7139, allocations: 4 kB / 1.032 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.7143, allocations: 87.77 kB / 1.032 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.7143, allocations: 4 kB / 1.032 GB, free: 7.586 MB / 0.7794 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.0001108/0.7144, allocations: 121.8 kB / 1.032 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.7145, allocations: 15.81 kB / 1.032 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.129e-05/0.7145, allocations: 29.8 kB / 1.032 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.7145, allocations: 4 kB / 1.032 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.7146, allocations: 0 / 1.032 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.7146, allocations: 0 / 1.032 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.7149, allocations: 277.3 kB / 1.032 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.7149, allocations: 0 / 1.032 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.7153, allocations: 103.9 kB / 1.032 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.7153, allocations: 0 / 1.032 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.7153, allocations: 11.92 kB / 1.032 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.7154, allocations: 4 kB / 1.032 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7154, allocations: 0 / 1.032 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.7176, allocations: 0.7616 MB / 1.033 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.7176, allocations: 93.02 kB / 1.033 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.7177, allocations: 15.86 kB / 1.033 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.718, allocations: 75.92 kB / 1.033 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.895e-05/0.7181, allocations: 23.97 kB / 1.033 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.7182, allocations: 0 / 1.033 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001016/0.7183, allocations: 132.4 kB / 1.033 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7183, allocations: 0 / 1.033 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002854/0.7186, allocations: 43.84 kB / 1.033 GB, free: 5.805 MB / 0.7794 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.0001491/0.7187, allocations: 107.2 kB / 1.033 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001414/0.7201, allocations: 425.6 kB / 1.034 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7201, allocations: 0 / 1.034 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007108/0.7209, allocations: 223.7 kB / 1.034 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.7213, allocations: 35.97 kB / 1.034 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008035/0.7221, allocations: 457.7 kB / 1.034 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.7224, allocations: 0.7321 MB / 1.035 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.774e-05/0.7225, allocations: 15.44 kB / 1.035 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of SimCode: time 5.81e-07/0.7225, allocations: 0 / 1.035 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of Templates: time 0.0046/0.7271, allocations: 2.573 MB / 1.038 GB, free: 1.219 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches