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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005157/0.005157, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.001267/0.001267, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.831/2.831, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.89 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3026, allocations: 159.1 MB / 1.22 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002218/0.3049, allocations: 1.093 MB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.3062, allocations: 0.9674 MB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.816e-05/0.3062, allocations: 0 / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.457e-05/0.3063, allocations: 19.73 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.3065, allocations: 31.67 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.3067, allocations: 71.83 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.307, allocations: 231.4 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.3071, allocations: 68.83 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.3073, allocations: 91.69 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.3075, allocations: 119.4 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.3075, allocations: 20 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.414e-05/0.3075, allocations: 16 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.3076, allocations: 43.83 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.3077, allocations: 99.39 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.308, allocations: 215 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.308, allocations: 0 / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.763e-06/0.308, allocations: 0 / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.308, allocations: 0 / 1.223 GB, free: 11.12 MB / 0.9825 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.001227/0.3093, allocations: 0.5725 MB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3093, allocations: 8.031 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.945e-05/0.3094, allocations: 50.73 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.3094, allocations: 24.8 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.3097, allocations: 224 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.3097, allocations: 12.38 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.3097, allocations: 16.38 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000821/0.3106, allocations: 234.5 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3106, allocations: 3.938 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.3106, allocations: 8 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3106, allocations: 0 / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.3119, allocations: 299.7 kB / 1.225 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007519/0.3126, allocations: 0.4885 MB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008306/0.3135, allocations: 254.4 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006901/0.3142, allocations: 187.7 kB / 1.226 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.3142, allocations: 11.89 kB / 1.226 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.3143, allocations: 34.56 kB / 1.226 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.3143, allocations: 0 / 1.226 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.002058/0.3163, allocations: 0.4951 MB / 1.226 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.3164, allocations: 55.41 kB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.3166, allocations: 179.2 kB / 1.226 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.3166, allocations: 29.7 kB / 1.226 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.925e-05/0.3167, allocations: 128.3 kB / 1.226 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/0.3168, allocations: 59.5 kB / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-05/0.3168, allocations: 37.61 kB / 1.227 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.317, allocations: 330.8 kB / 1.227 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006207/0.3176, allocations: 143.8 kB / 1.227 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006512/0.3183, allocations: 178.4 kB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.3195, allocations: 298.9 kB / 1.227 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3195, allocations: 4 kB / 1.227 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001326/0.3208, allocations: 357.1 kB / 1.228 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3208, allocations: 4 kB / 1.228 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3209, allocations: 3.938 kB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.3209, allocations: 4 kB / 1.228 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/0.3213, allocations: 79.91 kB / 1.228 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.3213, allocations: 7.984 kB / 1.228 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003232/0.3216, allocations: 59.81 kB / 1.228 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.3217, allocations: 7.938 kB / 1.228 GB, free: 6.055 MB / 0.9825 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.0001143/0.3218, allocations: 129.8 kB / 1.228 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.3218, allocations: 15.91 kB / 1.228 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.3219, allocations: 25.8 kB / 1.228 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3219, allocations: 4 kB / 1.228 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3219, allocations: 4 kB / 1.228 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.3219, allocations: 0 / 1.228 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/0.3223, allocations: 281.4 kB / 1.228 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3223, allocations: 0 / 1.228 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/0.3227, allocations: 75.86 kB / 1.228 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3227, allocations: 0 / 1.228 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.3227, allocations: 15.88 kB / 1.228 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3227, allocations: 0 / 1.228 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3228, allocations: 3.984 kB / 1.228 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.3249, allocations: 0.626 MB / 1.229 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.3249, allocations: 89.05 kB / 1.229 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.325, allocations: 7.938 kB / 1.229 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.3253, allocations: 47.92 kB / 1.229 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.446e-05/0.3254, allocations: 27.97 kB / 1.229 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.3255, allocations: 4 kB / 1.229 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001183/0.3256, allocations: 136.3 kB / 1.229 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3256, allocations: 0 / 1.229 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002838/0.3259, allocations: 43.89 kB / 1.229 GB, free: 4.445 MB / 0.9825 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.002471/0.3283, allocations: 1.175 MB / 1.231 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.3297, allocations: 335.6 kB / 1.231 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3297, allocations: 0 / 1.231 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007006/0.3304, allocations: 181.8 kB / 1.231 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.3309, allocations: 27.92 kB / 1.231 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005254/0.3361, allocations: 2.53 MB / 1.234 GB, free: 104 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.3365, allocations: 0.7279 MB / 1.234 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.3367, allocations: 17.06 kB / 1.234 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.3368, allocations: 63.41 kB / 1.234 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/0.3368, allocations: 0 / 1.234 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.3658, allocations: 4.708 MB / 1.239 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.362, allocations: 11.08 kB / 1.239 GB, free: 10.69 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv --start-time 0 --stop-time 480 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.192 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv","/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