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.008072/0.008072, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001845/0.001845, allocations: 201.9 kB / 16.68 MB, free: 5.977 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.852/2.852, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002055, allocations: 67.89 kB / 1.054 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3916, allocations: 157.4 MB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.003332/0.395, allocations: 1.087 MB / 1.208 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.397, allocations: 0.9557 MB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.3972, allocations: 7.938 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.3973, allocations: 19.73 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.3977, allocations: 43.59 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.398, allocations: 75.83 kB / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004317/0.3985, allocations: 223.4 kB / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.3987, allocations: 78.52 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.399, allocations: 95.69 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.3992, allocations: 111.5 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.937e-05/0.3993, allocations: 19.94 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.311e-05/0.3994, allocations: 20 kB / 1.21 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.804e-05/0.3994, allocations: 47.83 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.3996, allocations: 95.45 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004107/0.4, allocations: 215.5 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4, allocations: 3.938 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4, allocations: 0 / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.4, allocations: 0 / 1.21 GB, free: 7.004 MB / 0.9669 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.001472/0.4015, allocations: 0.5571 MB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.4016, allocations: 8.625 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.038e-05/0.4017, allocations: 50.73 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.365e-05/0.4017, allocations: 24.66 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.402, allocations: 228.3 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.4021, allocations: 8.375 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.4021, allocations: 16.38 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009746/0.4031, allocations: 238 kB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4031, allocations: 3.938 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.4032, allocations: 4 kB / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.4032, allocations: 4 kB / 1.211 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.4046, allocations: 299.6 kB / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009906/0.4056, allocations: 496.3 kB / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009894/0.4066, allocations: 247.9 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007728/0.4074, allocations: 196.7 kB / 1.213 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.4074, allocations: 4.312 kB / 1.213 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.4075, allocations: 34.56 kB / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=17): time 1.843e-06/0.4075, allocations: 0 / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17): time 0.00235/0.4098, allocations: 0.4987 MB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.4099, allocations: 59.31 kB / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.4101, allocations: 174.5 kB / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.4102, allocations: 29.7 kB / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.4105, allocations: 124.4 kB / 1.214 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.199e-05/0.4105, allocations: 59.11 kB / 1.214 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.4106, allocations: 25.72 kB / 1.214 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.4109, allocations: 330.8 kB / 1.214 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006838/0.4116, allocations: 155.8 kB / 1.214 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006873/0.4123, allocations: 170.4 kB / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.4136, allocations: 302 kB / 1.215 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4136, allocations: 4 kB / 1.215 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001054/0.4147, allocations: 366.4 kB / 1.215 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4147, allocations: 4 kB / 1.215 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4147, allocations: 3.938 kB / 1.215 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.4147, allocations: 4 kB / 1.215 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.4151, allocations: 79.91 kB / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.4151, allocations: 0 / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.4154, allocations: 55.86 kB / 1.215 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.4154, allocations: 8 kB / 1.215 GB, free: 1.961 MB / 0.9669 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.0001176/0.4155, allocations: 126.3 kB / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.4156, allocations: 15.81 kB / 1.215 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.461e-05/0.4157, allocations: 29.8 kB / 1.215 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4157, allocations: 4 kB / 1.215 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4157, allocations: 0 / 1.215 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4157, allocations: 0 / 1.215 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.416, allocations: 273.4 kB / 1.215 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.416, allocations: 4 kB / 1.215 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.4164, allocations: 75.91 kB / 1.216 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.4164, allocations: 3.938 kB / 1.216 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.4164, allocations: 7.938 kB / 1.216 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.4164, allocations: 7.938 kB / 1.216 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4164, allocations: 0 / 1.216 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.4181, allocations: 0.6257 MB / 1.216 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.4182, allocations: 96.84 kB / 1.216 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.4182, allocations: 3.938 kB / 1.216 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.4185, allocations: 51.92 kB / 1.216 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.756e-05/0.4186, allocations: 23.97 kB / 1.216 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.4186, allocations: 12 kB / 1.216 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001147/0.4188, allocations: 136.2 kB / 1.216 GB, free: 404 kB / 0.9669 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4188, allocations: 0 / 1.216 GB, free: 404 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002816/0.4191, allocations: 39.91 kB / 1.217 GB, free: 364 kB / 0.9669 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.002116/0.4212, allocations: 1.17 MB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.4223, allocations: 335.6 kB / 1.218 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4223, allocations: 0 / 1.218 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005443/0.4229, allocations: 173.8 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.4234, allocations: 31.92 kB / 1.218 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004561/0.4279, allocations: 2.533 MB / 1.221 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.4283, allocations: 0.7317 MB / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.779e-05/0.4284, allocations: 5.094 kB / 1.221 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.4285, allocations: 71.41 kB / 1.221 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.4285, allocations: 0 / 1.221 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.4558, allocations: 4.711 MB / 1.226 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/8.149, allocations: 12.42 kB / 1.226 GB, free: 6.613 MB / 0.9825 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