Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_latest_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.001242/0.001242, 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.001275/0.001275, allocations: 191.1 kB / 16.25 MB, free: 6.625 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 11.0.1-master/package.mo): time 2.351/2.351, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001256, allocations: 64.94 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2353, allocations: 157.4 MB / 1.052 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001902/0.2373, allocations: 1.154 MB / 1.054 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009002/0.2382, allocations: 0.9714 MB / 1.055 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.587e-05/0.2382, allocations: 3.938 kB / 1.055 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.171e-05/0.2383, allocations: 7.875 kB / 1.055 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.2384, allocations: 27.72 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.2386, allocations: 55.94 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.2388, allocations: 223.4 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.2389, allocations: 80.8 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.799e-05/0.239, allocations: 95.69 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.2391, allocations: 103.5 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.2392, allocations: 20 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.576e-05/0.2392, allocations: 20 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.2393, allocations: 47.83 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.647e-05/0.2393, allocations: 95.45 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.2395, allocations: 207.5 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2395, allocations: 3.938 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.395e-06/0.2395, allocations: 0 / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2395, allocations: 3.938 kB / 1.055 GB, free: 5.508 MB / 0.8106 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.0009779/0.2405, allocations: 0.5649 MB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.2406, allocations: 12.56 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.736e-05/0.2406, allocations: 46.73 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.2407, allocations: 20.75 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.2409, allocations: 232.2 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2409, allocations: 8.375 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.2409, allocations: 16.38 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006635/0.2416, allocations: 238 kB / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.2416, allocations: 3.938 kB / 1.057 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.2416, allocations: 8 kB / 1.057 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2416, allocations: 0 / 1.057 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009864/0.2426, allocations: 295.7 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.2432, allocations: 0.4884 MB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006596/0.2439, allocations: 246.3 kB / 1.058 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005664/0.2444, allocations: 198.9 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.2445, allocations: 0 / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.2445, allocations: 38.56 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 9.31e-07/0.2445, allocations: 0 / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.001636/0.2462, allocations: 0.4986 MB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.2462, allocations: 55.41 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.2463, allocations: 170.5 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.2463, allocations: 29.7 kB / 1.059 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.2464, allocations: 128.3 kB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.2465, allocations: 55.19 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.2465, allocations: 33.62 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.2466, allocations: 330.8 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005164/0.2472, allocations: 143.8 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005277/0.2477, allocations: 178.4 kB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000983/0.2487, allocations: 298.6 kB / 1.06 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2487, allocations: 0 / 1.06 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001084/0.2498, allocations: 362.6 kB / 1.06 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.2498, allocations: 8 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2498, allocations: 3.938 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/0.2498, allocations: 0 / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.2502, allocations: 83.91 kB / 1.06 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.2502, allocations: 0 / 1.06 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.2505, allocations: 59.77 kB / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.2505, allocations: 15.94 kB / 1.06 GB, free: 472 kB / 0.8106 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.226e-05/0.2506, allocations: 125.8 kB / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.2507, allocations: 19.75 kB / 1.06 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.2507, allocations: 29.8 kB / 1.06 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2507, allocations: 0 / 1.06 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2507, allocations: 0 / 1.06 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2507, allocations: 4 kB / 1.06 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.251, allocations: 273.4 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.251, allocations: 0 / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.2514, allocations: 71.92 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2514, allocations: 4 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.2514, allocations: 11.92 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2514, allocations: 0 / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2514, allocations: 3.938 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.2531, allocations: 0.6258 MB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.2531, allocations: 92.89 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.2532, allocations: 11.92 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.2535, allocations: 47.94 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/0.2536, allocations: 23.97 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.2536, allocations: 12.05 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.087e-05/0.2537, allocations: 132.2 kB / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2537, allocations: 0 / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002472/0.2539, allocations: 39.91 kB / 1.062 GB, free: 14.86 MB / 0.8262 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.00193/0.2559, allocations: 1.178 MB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001082/0.257, allocations: 327.6 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.257, allocations: 0 / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005421/0.2575, allocations: 179.7 kB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.2579, allocations: 35.91 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004108/0.262, allocations: 2.584 MB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.2622, allocations: 0.7279 MB / 1.067 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.694e-05/0.2623, allocations: 13.08 kB / 1.067 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.2625, allocations: 59.42 kB / 1.067 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2625, allocations: 0 / 1.067 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.248/0.5105, allocations: 4.127 MB / 1.071 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002696/0.5108, allocations: 216.5 kB / 1.071 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/2.719, allocations: 3.938 kB / 1.071 GB, free: 5.402 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches