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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, 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.00208/0.00208, allocations: 197 kB / 16.53 MB, free: 6.699 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.559/1.559, 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 10.1.1-maint.10.0.x/package.mo): time 2.752/2.752, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 63.91 kB / 0.8693 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7802/0.7822, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002805/0.7851, allocations: 1.101 MB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.7867, allocations: 0.9635 MB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.833e-05/0.7868, allocations: 0 / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.235e-05/0.7868, allocations: 19.73 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.787, allocations: 35.59 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.7872, allocations: 75.84 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.7875, allocations: 219.5 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002983/0.7878, allocations: 72.86 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.788, allocations: 95.64 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.7881, allocations: 115.4 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.49e-05/0.7882, allocations: 20 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.608e-05/0.7882, allocations: 24 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.7883, allocations: 39.84 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.901e-05/0.7884, allocations: 95.45 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.7887, allocations: 209.2 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.7887, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7887, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.7887, allocations: 3.938 kB / 1.02 GB, free: 15.39 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.001303/0.79, allocations: 0.5571 MB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.7901, allocations: 8.031 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.67e-05/0.7901, allocations: 28.64 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.7904, allocations: 223.8 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.7905, allocations: 8.375 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/0.7905, allocations: 20.38 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008182/0.7913, allocations: 234 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.7914, allocations: 192 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.7914, allocations: 15.94 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.7914, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.7926, allocations: 303.6 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007936/0.7934, allocations: 492.2 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008585/0.7943, allocations: 250.4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006491/0.7949, allocations: 188.7 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.795, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.795, allocations: 42.56 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 3.396e-06/0.795, allocations: 0 / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.001996/0.797, allocations: 0.5029 MB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.7971, allocations: 51.41 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.7973, allocations: 175.5 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.7973, allocations: 29.7 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.7975, allocations: 136.2 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.862e-05/0.7975, allocations: 51.25 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.15e-05/0.7976, allocations: 33.7 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.7978, allocations: 330.8 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005961/0.7984, allocations: 143.8 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/0.799, allocations: 182.3 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.8002, allocations: 301.6 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.8002, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001293/0.8015, allocations: 362.5 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.8016, allocations: 7.984 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.8016, allocations: 4 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.8016, allocations: 3.938 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.802, allocations: 79.86 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.802, allocations: 0 / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.8024, allocations: 63.77 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.8024, allocations: 4 kB / 1.025 GB, free: 10.41 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.000135/0.8025, allocations: 125.8 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/0.8026, allocations: 15.81 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.8026, allocations: 29.75 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.8027, allocations: 0 / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8027, allocations: 3.938 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.8027, allocations: 7.984 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000345/0.803, allocations: 273.5 kB / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.803, allocations: 0 / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003994/0.8034, allocations: 79.84 kB / 1.025 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.8035, allocations: 4 kB / 1.025 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.8035, allocations: 7.938 kB / 1.025 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8035, allocations: 0 / 1.025 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8035, allocations: 0 / 1.025 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.8055, allocations: 0.6335 MB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.62e-05/0.8056, allocations: 88.95 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.8056, allocations: 11.94 kB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.8059, allocations: 47.98 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.13e-05/0.806, allocations: 31.91 kB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.8061, allocations: 4 kB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001213/0.8062, allocations: 128.4 kB / 1.026 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8062, allocations: 4 kB / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002691/0.8065, allocations: 35.94 kB / 1.026 GB, free: 8.805 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.000171/0.8066, allocations: 103.2 kB / 1.027 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.808, allocations: 339.5 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.808, allocations: 4 kB / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006439/0.8087, allocations: 173.3 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.8091, allocations: 29.88 kB / 1.027 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009298/0.81, allocations: 372.7 kB / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/0.8105, allocations: 0.7318 MB / 1.028 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.457e-05/0.8106, allocations: 9.078 kB / 1.028 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.219e-05/0.8107, allocations: 23.44 kB / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of SimCode: time 8.42e-07/0.8107, allocations: 0 / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of Templates: time 0.00728/0.818, allocations: 2.721 MB / 1.031 GB, free: 4.293 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/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