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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.006033/0.006033, allocations: 103.5 kB / 15.74 MB, free: 5.957 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.001299/0.0013, allocations: 192.5 kB / 16.68 MB, free: 5.887 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.467/2.467, allocations: 437 MB / 0.7105 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.91 kB / 1.018 GB, free: 9.809 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.858/0.8594, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002924/0.8624, allocations: 1.101 MB / 1.167 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.864, allocations: 0.9675 MB / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.8642, allocations: 0 / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 8.273e-05/0.8643, allocations: 19.73 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.8645, allocations: 47.59 kB / 1.168 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.8648, allocations: 63.91 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.8652, allocations: 227.3 kB / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.8654, allocations: 68.83 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.8656, allocations: 95.69 kB / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.8658, allocations: 107.5 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/0.8658, allocations: 20 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.611e-05/0.8659, allocations: 20 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/0.866, allocations: 47.77 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.8661, allocations: 91.5 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.8664, allocations: 213.4 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.8664, allocations: 4 kB / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8664, allocations: 0 / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.8664, allocations: 0 / 1.169 GB, free: 0.6562 MB / 0.8887 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.001173/0.8676, allocations: 0.561 MB / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.8677, allocations: 16.56 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.826e-05/0.8677, allocations: 54.73 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.659e-05/0.8678, allocations: 20.66 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.8681, allocations: 224.8 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.8681, allocations: 20.3 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.8682, allocations: 12.38 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007293/0.8689, allocations: 238 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.8689, allocations: 11.88 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.869, allocations: 7.984 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.869, allocations: 4 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.87, allocations: 283.7 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007679/0.8708, allocations: 496.2 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007081/0.8715, allocations: 246.3 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005724/0.8721, allocations: 196.6 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.8721, allocations: 4 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.8722, allocations: 30.56 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=17): time 1.714e-06/0.8722, allocations: 3.938 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17): time 0.001676/0.8739, allocations: 0.4958 MB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.8739, allocations: 63.34 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.8741, allocations: 187.3 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.8741, allocations: 25.7 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.005e-05/0.8742, allocations: 124.3 kB / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.8742, allocations: 63.14 kB / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.671e-05/0.8743, allocations: 33.72 kB / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.8745, allocations: 330.8 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005284/0.875, allocations: 143.8 kB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000553/0.8755, allocations: 178.4 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.8766, allocations: 303 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.8766, allocations: 0 / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001204/0.8778, allocations: 357.1 kB / 1.174 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.8779, allocations: 8 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.8779, allocations: 3.938 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.8779, allocations: 0 / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.8783, allocations: 75.91 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.8784, allocations: 4 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.8787, allocations: 59.77 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.8787, allocations: 4 kB / 1.174 GB, free: 11.61 MB / 0.9044 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.0001645/0.8789, allocations: 133.8 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/0.879, allocations: 15.81 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.599e-05/0.879, allocations: 29.8 kB / 1.174 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.879, allocations: 0 / 1.174 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.8791, allocations: 0 / 1.174 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.8791, allocations: 0 / 1.174 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.8794, allocations: 277.3 kB / 1.174 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.8794, allocations: 0 / 1.174 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003868/0.8798, allocations: 75.92 kB / 1.174 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.8799, allocations: 0 / 1.174 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.8799, allocations: 7.938 kB / 1.174 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.8799, allocations: 7.984 kB / 1.174 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.8799, allocations: 3.938 kB / 1.174 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.8817, allocations: 0.6298 MB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.357e-05/0.8818, allocations: 88.95 kB / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.8818, allocations: 11.88 kB / 1.175 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003022/0.8821, allocations: 55.92 kB / 1.175 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/0.8822, allocations: 19.97 kB / 1.175 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.8822, allocations: 4 kB / 1.175 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001/0.8823, allocations: 136.5 kB / 1.175 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8824, allocations: 0 / 1.175 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002811/0.8826, allocations: 43.84 kB / 1.175 GB, free: 9.988 MB / 0.9044 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.002025/0.8847, allocations: 1.176 MB / 1.177 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001125/0.8858, allocations: 331.6 kB / 1.177 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.8858, allocations: 0 / 1.177 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005867/0.8864, allocations: 175.8 kB / 1.177 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.8869, allocations: 31.92 kB / 1.177 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005139/0.892, allocations: 2.524 MB / 1.18 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.8925, allocations: 0.7279 MB / 1.18 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001081/0.8926, allocations: 17.06 kB / 1.18 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.8928, allocations: 63.41 kB / 1.18 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.8928, allocations: 0 / 1.18 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.9198, allocations: 4.705 MB / 1.185 GB, free: 248 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.764/8.684, allocations: 9.344 kB / 1.185 GB, free: 240 kB / 0.9044 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) "" 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