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.001272/0.001272, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001207/0.001207, allocations: 198.1 kB / 16.26 MB, free: 6.621 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.208/1.208, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.225/2.225, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 67.89 kB / 0.8689 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4876/0.4887, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001796/0.4906, allocations: 1.152 MB / 1.018 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008144/0.4914, allocations: 0.9636 MB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.4915, allocations: 0 / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.408e-05/0.4915, allocations: 15.86 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.4916, allocations: 27.72 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.4918, allocations: 67.88 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.492, allocations: 215.5 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.4921, allocations: 68.83 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.311e-05/0.4922, allocations: 103.6 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.4924, allocations: 107.5 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.4924, allocations: 23.98 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.582e-05/0.4924, allocations: 20 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.434e-05/0.4925, allocations: 43.84 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.642e-05/0.4925, allocations: 99.39 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.4927, allocations: 205.5 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.4927, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4927, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.4927, allocations: 0 / 1.02 GB, free: 15.59 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.0009191/0.4936, allocations: 0.561 MB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.4937, allocations: 12.03 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.4937, allocations: 42.75 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.4938, allocations: 28.59 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.494, allocations: 227.8 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.494, allocations: 12.38 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.494, allocations: 12.38 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006529/0.4947, allocations: 242.5 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.4947, allocations: 7.938 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.4947, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.4947, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009532/0.4957, allocations: 291.7 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.4962, allocations: 0.4962 MB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006364/0.4969, allocations: 242.4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005414/0.4974, allocations: 190.4 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.4975, allocations: 7.984 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.4975, allocations: 38.56 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.143e-06/0.4975, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.001601/0.4991, allocations: 0.4995 MB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.4991, allocations: 51.41 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.4993, allocations: 175.5 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.4993, allocations: 33.7 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.4993, allocations: 132.2 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.4994, allocations: 55.27 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.4995, allocations: 29.7 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.099e-05/0.4995, allocations: 326.8 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005098/0.5001, allocations: 151.8 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/0.5006, allocations: 174.3 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009488/0.5015, allocations: 297.5 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5015, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001044/0.5026, allocations: 366.6 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.5026, allocations: 7.984 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.5026, allocations: 3.938 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-06/0.5026, allocations: 0 / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.503, allocations: 75.92 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.503, allocations: 0 / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.5033, allocations: 67.75 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.5033, allocations: 8 kB / 1.025 GB, free: 10.55 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 8.463e-05/0.5034, allocations: 125.8 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.5034, allocations: 15.81 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.5035, allocations: 29.75 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5035, allocations: 8 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.5035, allocations: 0 / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5035, allocations: 3.984 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.5037, allocations: 269.5 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5037, allocations: 3.938 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.5041, allocations: 79.91 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5041, allocations: 0 / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.5041, allocations: 15.88 kB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5041, allocations: 0 / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5041, allocations: 4 kB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.5057, allocations: 0.629 MB / 1.026 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.5058, allocations: 92.95 kB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.5058, allocations: 3.938 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.5061, allocations: 55.98 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.5062, allocations: 23.97 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.5062, allocations: 8 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.275e-05/0.5063, allocations: 128.4 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5063, allocations: 0 / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002333/0.5065, allocations: 39.94 kB / 1.026 GB, free: 8.941 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.001822/0.5083, allocations: 1.179 MB / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.5094, allocations: 331.7 kB / 1.028 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5094, allocations: 4 kB / 1.028 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005238/0.5099, allocations: 167.8 kB / 1.028 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.5103, allocations: 35.97 kB / 1.028 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.5141, allocations: 2.568 MB / 1.03 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.5143, allocations: 0.7317 MB / 1.031 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.754e-05/0.5144, allocations: 17.08 kB / 1.031 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.635e-05/0.5145, allocations: 59.41 kB / 1.031 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.5145, allocations: 0 / 1.031 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.747/3.262, allocations: 4.136 MB / 1.035 GB, free: 15.74 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/3.262, allocations: 211.2 kB / 1.035 GB, free: 15.48 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/4.861, allocations: 2.391 kB / 1.035 GB, free: 15.48 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --timeout=50 --tolerance=1e-06 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.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