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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001205/0.001205, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001281/0.001281, allocations: 201.3 kB / 16.14 MB, free: 6.793 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.243/1.243, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.318/2.318, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 68.14 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5598/0.5612, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002305/0.5635, allocations: 1.154 MB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.5649, allocations: 0.9597 MB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.565, allocations: 4 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.827e-05/0.5651, allocations: 11.86 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.5653, allocations: 31.72 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.5655, allocations: 67.92 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.5658, allocations: 207.4 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.5659, allocations: 68.83 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.5661, allocations: 83.62 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.5662, allocations: 111.5 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.5663, allocations: 16 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.048e-05/0.5663, allocations: 12 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.057e-05/0.5663, allocations: 35.83 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.5664, allocations: 91.52 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.5666, allocations: 193.4 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5666, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5667, allocations: 4 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.5667, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.7794 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.001151/0.5678, allocations: 0.5648 MB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.5679, allocations: 12.03 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.312e-05/0.5679, allocations: 46.73 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.568, allocations: 16.75 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.5682, allocations: 227.9 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.5683, allocations: 12.38 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.5683, allocations: 12.38 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007381/0.569, allocations: 246.5 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.5691, allocations: 3.938 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.5691, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.5691, allocations: 7.938 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.5701, allocations: 291.7 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006793/0.5708, allocations: 0.4923 MB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006813/0.5715, allocations: 242.4 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005725/0.5721, allocations: 196.7 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.5721, allocations: 4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.5722, allocations: 38.55 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.5722, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.001696/0.5739, allocations: 0.4986 MB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.5739, allocations: 55.41 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.5741, allocations: 175.2 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.5741, allocations: 29.7 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/0.5742, allocations: 128.2 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.5742, allocations: 51.27 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.5743, allocations: 37.7 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.5744, allocations: 322.8 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/0.575, allocations: 159.7 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005237/0.5755, allocations: 168.8 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009865/0.5765, allocations: 306 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5765, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001074/0.5776, allocations: 361 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.5776, allocations: 4 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.5776, allocations: 3.938 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.5776, allocations: 4 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.578, allocations: 75.91 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.578, allocations: 0 / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.5783, allocations: 67.77 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.5783, allocations: 4 kB / 1.024 GB, free: 10.68 MB / 0.7794 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.0001063/0.5784, allocations: 121.8 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.5785, allocations: 19.81 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.34e-05/0.5785, allocations: 25.8 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.5786, allocations: 4 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5786, allocations: 4 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.5786, allocations: 3.938 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.5788, allocations: 273.4 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.5789, allocations: 11.97 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003833/0.5792, allocations: 79.86 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.5793, allocations: 0 / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.5793, allocations: 3.938 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.5793, allocations: 8 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5793, allocations: 0 / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.581, allocations: 0.6225 MB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.581, allocations: 96.89 kB / 1.026 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.5811, allocations: 7.938 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.5814, allocations: 55.98 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.5815, allocations: 23.95 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.5815, allocations: 4 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.847e-05/0.5816, allocations: 128.4 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5816, allocations: 0 / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000258/0.5819, allocations: 43.84 kB / 1.026 GB, free: 9.074 MB / 0.7794 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.001989/0.5838, allocations: 1.178 MB / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.585, allocations: 327.7 kB / 1.027 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.585, allocations: 4 kB / 1.027 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005453/0.5855, allocations: 169.2 kB / 1.027 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.5859, allocations: 31.98 kB / 1.028 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004228/0.5902, allocations: 2.575 MB / 1.03 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.5904, allocations: 0.728 MB / 1.031 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001041/0.5905, allocations: 17.08 kB / 1.031 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.5907, allocations: 51.42 kB / 1.031 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of SimCode: time 4.91e-07/0.5907, allocations: 0 / 1.031 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.6043, allocations: 3.996 MB / 1.035 GB, free: 0 / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/0.6045, allocations: 207.3 kB / 1.035 GB, free: 15.74 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.278, allocations: 4.062 kB / 1.035 GB, free: 15.74 MB / 0.795 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) Reference file matches