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.008557/0.008557, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001754/0.001754, allocations: 195.1 kB / 16.68 MB, free: 5.926 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 83.8 kB / 1.054 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.005, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.0028/1.008, allocations: 1.096 MB / 1.208 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001421/1.01, allocations: 0.9636 MB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/1.01, allocations: 0 / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.853e-05/1.01, allocations: 19.73 kB / 1.209 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002016/1.01, allocations: 39.59 kB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/1.01, allocations: 67.89 kB / 1.209 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002944/1.011, allocations: 235.3 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/1.011, allocations: 71.08 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/1.011, allocations: 91.62 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/1.011, allocations: 115.5 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/1.011, allocations: 16 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.061e-05/1.011, allocations: 20 kB / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.667e-05/1.011, allocations: 51.83 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.301e-05/1.012, allocations: 87.52 kB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002741/1.012, allocations: 217.3 kB / 1.21 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/1.012, allocations: 7.984 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.523e-06/1.012, allocations: 0 / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.291e-05/1.012, allocations: 0 / 1.21 GB, free: 10.45 MB / 0.9356 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.001272/1.013, allocations: 0.561 MB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/1.013, allocations: 8.031 kB / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.442e-05/1.013, allocations: 46.73 kB / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.37e-05/1.013, allocations: 24.66 kB / 1.211 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/1.014, allocations: 223.9 kB / 1.211 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/1.014, allocations: 8.375 kB / 1.211 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/1.014, allocations: 16.38 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007751/1.015, allocations: 242 kB / 1.211 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/1.015, allocations: 3.938 kB / 1.211 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/1.015, allocations: 15.98 kB / 1.211 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/1.015, allocations: 0 / 1.211 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/1.016, allocations: 295.7 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007066/1.016, allocations: 492.3 kB / 1.212 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007544/1.017, allocations: 248.5 kB / 1.212 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006328/1.018, allocations: 196.6 kB / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/1.018, allocations: 4 kB / 1.213 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/1.018, allocations: 34.56 kB / 1.213 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 1.704e-06/1.018, allocations: 3.938 kB / 1.213 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.00189/1.02, allocations: 0.4933 MB / 1.213 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/1.02, allocations: 55.41 kB / 1.213 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/1.02, allocations: 175.6 kB / 1.213 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/1.02, allocations: 25.7 kB / 1.213 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.529e-05/1.02, allocations: 128.3 kB / 1.214 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.713e-05/1.02, allocations: 59.17 kB / 1.214 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.882e-05/1.02, allocations: 33.72 kB / 1.214 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.02, allocations: 334.8 kB / 1.214 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005861/1.021, allocations: 147.8 kB / 1.214 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000607/1.022, allocations: 176.3 kB / 1.214 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/1.023, allocations: 298.2 kB / 1.215 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.023, allocations: 0 / 1.215 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001232/1.024, allocations: 361.1 kB / 1.215 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.024, allocations: 4 kB / 1.215 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.024, allocations: 3.938 kB / 1.215 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/1.024, allocations: 4 kB / 1.215 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/1.024, allocations: 75.84 kB / 1.215 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/1.025, allocations: 0 / 1.215 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/1.025, allocations: 67.77 kB / 1.215 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/1.025, allocations: 4 kB / 1.215 GB, free: 5.418 MB / 0.9356 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.0001161/1.025, allocations: 126.4 kB / 1.215 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/1.025, allocations: 23.75 kB / 1.215 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/1.025, allocations: 25.8 kB / 1.215 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/1.025, allocations: 8 kB / 1.215 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.025, allocations: 0 / 1.215 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.025, allocations: 0 / 1.215 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/1.025, allocations: 277.3 kB / 1.215 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.025, allocations: 0 / 1.215 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000398/1.026, allocations: 75.91 kB / 1.216 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/1.026, allocations: 0 / 1.216 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/1.026, allocations: 11.94 kB / 1.216 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.026, allocations: 0 / 1.216 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.026, allocations: 0 / 1.216 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/1.028, allocations: 0.6259 MB / 1.216 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.624e-05/1.028, allocations: 92.94 kB / 1.216 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/1.028, allocations: 11.88 kB / 1.216 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/1.028, allocations: 55.98 kB / 1.216 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.772e-05/1.028, allocations: 23.97 kB / 1.216 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/1.028, allocations: 4 kB / 1.216 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001154/1.028, allocations: 136.2 kB / 1.216 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.028, allocations: 0 / 1.216 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002732/1.029, allocations: 43.84 kB / 1.217 GB, free: 3.805 MB / 0.9356 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.002201/1.031, allocations: 1.174 MB / 1.218 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001252/1.032, allocations: 331.6 kB / 1.218 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.032, allocations: 4 kB / 1.218 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006205/1.033, allocations: 169.6 kB / 1.218 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/1.033, allocations: 35.92 kB / 1.218 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004777/1.038, allocations: 2.529 MB / 1.221 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/1.038, allocations: 0.7279 MB / 1.221 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.918e-05/1.038, allocations: 13.09 kB / 1.221 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/1.039, allocations: 59.41 kB / 1.221 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of SimCode: time 8.31e-07/1.039, allocations: 0 / 1.221 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/1.063, allocations: 4.821 MB / 1.226 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/8.632, allocations: 14.8 kB / 1.226 GB, free: 9.949 MB / 0.9512 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) "" Variables in the reference:time,sleRatLim.u,sleRatLim.y Variables in the result:add.u1,add.u2,add.y,add1.u1,add1.u2,add1.y,add2.u1,add2.u2,add2.y,add3.u1,add3.u2,add3.y,add4.u1,add4.u2,add4.y,add5.u1,add5.u2,add5.y,add6.u1,add6.u2,add6.y,der(sleRatLim.y),ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,ramp2.y,ramp3.duration,ramp3.height,ramp3.offset,ramp3.startTime,ramp3.y,ramp4.duration,ramp4.height,ramp4.offset,ramp4.startTime,ramp4.y,ramp5.duration,ramp5.height,ramp5.offset,ramp5.startTime,ramp5.y,ramp6.duration,ramp6.height,ramp6.offset,ramp6.startTime,ramp6.y,ramp7.duration,ramp7.height,ramp7.offset,ramp7.startTime,ramp7.y,ramp8.duration,ramp8.height,ramp8.offset,ramp8.startTime,ramp8.y,sleRatLim.Td,sleRatLim.enable,sleRatLim.fallingSlewRate,sleRatLim.raisingSlewRate,sleRatLim.u,sleRatLim.y,time