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: "" <> 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.0008846/0.0008848, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005161/0.005161, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.231/1.231, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.312/2.312, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002995, allocations: 12 kB / 0.873 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5068/0.5071, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001053/0.5082, allocations: 0.7898 MB / 1.024 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.5093, allocations: 0.9714 MB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.063e-05/0.5094, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.5094, allocations: 15.86 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.5096, allocations: 23.78 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.5098, allocations: 55.95 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.51, allocations: 215.3 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.5101, allocations: 72.83 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.5102, allocations: 75.69 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.5104, allocations: 91.47 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.5104, allocations: 8 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.14e-05/0.5104, allocations: 8 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.5105, allocations: 39.83 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.007e-05/0.5105, allocations: 105.2 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.5107, allocations: 193.5 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5107, allocations: 0 / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5107, allocations: 0 / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.5107, allocations: 4 kB / 1.026 GB, free: 13.18 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.001008/0.5118, allocations: 0.5767 MB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.5118, allocations: 8.031 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.805e-05/0.5119, allocations: 46.73 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.5119, allocations: 24.66 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.5121, allocations: 223.9 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.5121, allocations: 20.3 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.5122, allocations: 12.38 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007486/0.5129, allocations: 290.5 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.5129, allocations: 3.938 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.513, allocations: 4 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.513, allocations: 4 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.5141, allocations: 395.5 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.5147, allocations: 496.3 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007554/0.5155, allocations: 298.4 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006455/0.5162, allocations: 240.7 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.5162, allocations: 0 / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.5162, allocations: 38.5 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 8.82e-07/0.5162, allocations: 0 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.001905/0.5181, allocations: 0.6431 MB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.5182, allocations: 51.41 kB / 1.029 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.5183, allocations: 179.2 kB / 1.029 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.5183, allocations: 25.7 kB / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/0.5184, allocations: 132.2 kB / 1.029 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.803e-05/0.5185, allocations: 59.16 kB / 1.029 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.5185, allocations: 25.7 kB / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.539e-05/0.5186, allocations: 322.8 kB / 1.03 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006042/0.5192, allocations: 203.8 kB / 1.03 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006123/0.5198, allocations: 226.3 kB / 1.03 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.521, allocations: 395.3 kB / 1.03 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.521, allocations: 0 / 1.03 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001246/0.5223, allocations: 453.2 kB / 1.031 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.5223, allocations: 4 kB / 1.031 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.5223, allocations: 3.938 kB / 1.031 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.5223, allocations: 3.984 kB / 1.031 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/0.5227, allocations: 103.9 kB / 1.031 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.5227, allocations: 4 kB / 1.031 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003048/0.523, allocations: 83.77 kB / 1.031 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.523, allocations: 4 kB / 1.031 GB, free: 7.422 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.977e-05/0.5232, allocations: 135.1 kB / 1.031 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.5232, allocations: 15.81 kB / 1.031 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/0.5232, allocations: 29.8 kB / 1.031 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5233, allocations: 3.938 kB / 1.031 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.5233, allocations: 0 / 1.031 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5233, allocations: 7.984 kB / 1.031 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.5235, allocations: 269.4 kB / 1.032 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5235, allocations: 0 / 1.032 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/0.5239, allocations: 107.8 kB / 1.032 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.5239, allocations: 0 / 1.032 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.524, allocations: 7.938 kB / 1.032 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.524, allocations: 4 kB / 1.032 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.524, allocations: 0 / 1.032 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.5259, allocations: 0.7639 MB / 1.032 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.526, allocations: 92.95 kB / 1.033 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.526, allocations: 15.81 kB / 1.033 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003278/0.5263, allocations: 79.98 kB / 1.033 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.5264, allocations: 19.97 kB / 1.033 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.5264, allocations: 8 kB / 1.033 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.527e-05/0.5265, allocations: 128.4 kB / 1.033 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5265, allocations: 0 / 1.033 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002442/0.5268, allocations: 43.84 kB / 1.033 GB, free: 5.625 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.002154/0.5289, allocations: 1.317 MB / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001225/0.5302, allocations: 417.4 kB / 1.034 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5302, allocations: 4 kB / 1.034 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006128/0.5308, allocations: 219.8 kB / 1.035 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.5311, allocations: 41.45 kB / 1.035 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004478/0.5356, allocations: 2.814 MB / 1.037 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.5359, allocations: 0.7281 MB / 1.038 GB, free: 15.95 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 8.682e-05/0.536, allocations: 9.094 kB / 1.038 GB, free: 15.94 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.982e-05/0.5361, allocations: 59.34 kB / 1.038 GB, free: 15.89 MB / 0.795 GB Notification: Performance of SimCode: time 3.1e-07/0.5361, allocations: 0 / 1.038 GB, free: 15.89 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4956/1.032, allocations: 3.925 MB / 1.042 GB, free: 12.12 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/1.032, allocations: 206.2 kB / 1.042 GB, free: 11.88 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/2.611, allocations: 0 / 1.042 GB, free: 11.88 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