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.001283/0.001282, allocations: 108 kB / 15.61 MB, free: 152 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.001209/0.00121, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.612/2.612, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 66.7 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2943, allocations: 157.4 MB / 1.053 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002081/0.2964, allocations: 1.085 MB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009218/0.2973, allocations: 0.9674 MB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.789e-05/0.2974, allocations: 4 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.659e-05/0.2975, allocations: 19.73 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.2976, allocations: 39.59 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.2978, allocations: 67.89 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000241/0.2981, allocations: 223.4 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.2983, allocations: 74.8 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.2984, allocations: 95.62 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.2985, allocations: 107.6 kB / 1.056 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.2986, allocations: 20 kB / 1.056 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.014e-05/0.2986, allocations: 20 kB / 1.056 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.364e-05/0.2987, allocations: 43.83 kB / 1.056 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.869e-05/0.2987, allocations: 99.39 kB / 1.056 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.2989, allocations: 207.5 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.299, allocations: 0 / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.764e-06/0.299, allocations: 0 / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.299, allocations: 0 / 1.056 GB, free: 5.164 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.001088/0.3001, allocations: 0.5688 MB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3001, allocations: 8.625 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.897e-05/0.3002, allocations: 46.73 kB / 1.057 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.3002, allocations: 24.69 kB / 1.057 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.3004, allocations: 232.3 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.3005, allocations: 8.375 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.3005, allocations: 16.38 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006897/0.3012, allocations: 238 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3012, allocations: 3.938 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.3012, allocations: 4 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3013, allocations: 8 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.3023, allocations: 287.7 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000586/0.3029, allocations: 0.5001 MB / 1.058 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006848/0.3036, allocations: 242.4 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005864/0.3042, allocations: 196.7 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.3042, allocations: 4 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.3042, allocations: 30.56 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.233e-06/0.3042, allocations: 0 / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.001692/0.3059, allocations: 0.5031 MB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.306, allocations: 55.41 kB / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.3061, allocations: 174.5 kB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.3061, allocations: 25.7 kB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.3062, allocations: 124.3 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/0.3062, allocations: 59.19 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.3063, allocations: 37.62 kB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.3064, allocations: 326.8 kB / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005392/0.307, allocations: 147.8 kB / 1.06 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005557/0.3075, allocations: 178.4 kB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.3086, allocations: 298.1 kB / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3086, allocations: 0 / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001128/0.3097, allocations: 362.6 kB / 1.06 GB, free: 280 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3097, allocations: 11.94 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3097, allocations: 3.938 kB / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.3098, allocations: 4 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.3101, allocations: 71.91 kB / 1.061 GB, free: 188 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3102, allocations: 4 kB / 1.061 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.3104, allocations: 63.77 kB / 1.061 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.3105, allocations: 4 kB / 1.061 GB, free: 116 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 0.0001076/0.3106, allocations: 129.8 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.3106, allocations: 15.81 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/0.3107, allocations: 29.8 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3107, allocations: 0 / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3107, allocations: 0 / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3107, allocations: 3.984 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.3109, allocations: 273.4 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3109, allocations: 7.938 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.3113, allocations: 71.92 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3113, allocations: 3.938 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.3113, allocations: 11.92 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3113, allocations: 0 / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3114, allocations: 0 / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.3131, allocations: 0.6253 MB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.3131, allocations: 92.89 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.3132, allocations: 11.92 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.3135, allocations: 51.92 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/0.3136, allocations: 28.03 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.3136, allocations: 8 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.897e-05/0.3137, allocations: 136.2 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3137, allocations: 0 / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002451/0.3139, allocations: 39.91 kB / 1.062 GB, free: 14.5 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.002007/0.3159, allocations: 1.179 MB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001152/0.3171, allocations: 323.7 kB / 1.064 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3171, allocations: 0 / 1.064 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005689/0.3177, allocations: 179.7 kB / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.3181, allocations: 37.8 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004326/0.3224, allocations: 2.516 MB / 1.066 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.3227, allocations: 0.7279 MB / 1.067 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.974e-05/0.3228, allocations: 13.08 kB / 1.067 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.3229, allocations: 63.42 kB / 1.067 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of SimCode: time 7.82e-07/0.3229, allocations: 0 / 1.067 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.294/1.617, allocations: 4.648 MB / 1.072 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.426/9.044, allocations: 15.2 kB / 1.072 GB, free: 4.797 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