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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_10_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.001029/0.00103, allocations: 108 kB / 15.6 MB, free: 132 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.001016/0.001016, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.382/2.382, allocations: 437.1 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.89 kB / 0.8694 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.497/0.4983, allocations: 151.6 MB / 1.017 GB, free: 2.426 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002109/0.5004, allocations: 1.099 MB / 1.019 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000974/0.5014, allocations: 0.9596 MB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.025e-05/0.5015, allocations: 4 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.725e-05/0.5015, allocations: 15.75 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.5017, allocations: 43.64 kB / 1.02 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.5019, allocations: 63.86 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000222/0.5021, allocations: 235.4 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.5022, allocations: 64.78 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.5024, allocations: 95.61 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.5025, allocations: 115.5 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.5025, allocations: 20 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.094e-05/0.5026, allocations: 16 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.197e-05/0.5026, allocations: 47.83 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.568e-05/0.5027, allocations: 91.45 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.5029, allocations: 209.5 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5029, allocations: 4 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5029, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.5029, allocations: 0 / 1.02 GB, free: 15.34 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.001044/0.504, allocations: 0.5571 MB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.504, allocations: 8.031 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.5041, allocations: 42.75 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.5041, allocations: 32.64 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.5043, allocations: 223.9 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.5043, allocations: 8.375 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.5044, allocations: 16.31 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007132/0.5051, allocations: 246 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.5051, allocations: 3.938 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.5051, allocations: 4 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.5051, allocations: 7.984 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.5062, allocations: 291.7 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006015/0.5068, allocations: 0.4924 MB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007136/0.5076, allocations: 246.4 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006065/0.5082, allocations: 188.6 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.5082, allocations: 8 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.5082, allocations: 34.56 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.5082, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.001792/0.51, allocations: 0.495 MB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.5101, allocations: 55.41 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.5102, allocations: 179.5 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.5102, allocations: 25.7 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.5103, allocations: 136.2 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.5104, allocations: 55.25 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-05/0.5104, allocations: 37.7 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.956e-05/0.5105, allocations: 326.8 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005668/0.5111, allocations: 151.8 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005823/0.5117, allocations: 178.3 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.5128, allocations: 293.8 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.5128, allocations: 0 / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001167/0.514, allocations: 366 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.514, allocations: 10.17 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.514, allocations: 3.938 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.514, allocations: 4 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.5144, allocations: 71.86 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.5144, allocations: 8 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.5147, allocations: 59.77 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.5147, allocations: 4 kB / 1.025 GB, free: 10.3 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 9.054e-05/0.5148, allocations: 129.8 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.5149, allocations: 15.81 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/0.5149, allocations: 25.81 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.5149, allocations: 4 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5149, allocations: 11.88 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5149, allocations: 3.984 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.5152, allocations: 269.5 kB / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5152, allocations: 0 / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.5156, allocations: 75.91 kB / 1.026 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5156, allocations: 4 kB / 1.026 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.5156, allocations: 7.938 kB / 1.026 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5156, allocations: 0 / 1.026 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.5156, allocations: 0 / 1.026 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.5174, allocations: 0.6315 MB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.5174, allocations: 88.95 kB / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.5175, allocations: 7.938 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.5178, allocations: 55.98 kB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.069e-05/0.5179, allocations: 23.97 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.5179, allocations: 4 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.024e-05/0.518, allocations: 132.4 kB / 1.027 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.518, allocations: 0 / 1.027 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002511/0.5182, allocations: 39.94 kB / 1.027 GB, free: 8.699 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.002043/0.5203, allocations: 1.184 MB / 1.028 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.5215, allocations: 329.2 kB / 1.028 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5215, allocations: 0 / 1.028 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005871/0.5221, allocations: 171.8 kB / 1.028 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.5225, allocations: 39.91 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/0.5267, allocations: 2.513 MB / 1.031 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.527, allocations: 0.7317 MB / 1.031 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.171e-05/0.5271, allocations: 9.078 kB / 1.031 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.5272, allocations: 67.41 kB / 1.031 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5272, allocations: 0 / 1.031 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/0.5476, allocations: 4.647 MB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.869/7.417, allocations: 20.5 kB / 1.036 GB, free: 14.97 MB / 0.795 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv","/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