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: 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.0008672/0.0008672, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.0008755/0.0008755, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 223.3 MB / 240 MB, free: 5.23 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.92/2.92, allocations: 437.7 MB / 0.7117 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004531, allocations: 15.94 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8151/0.8156, allocations: 153.8 MB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001438/0.8171, allocations: 0.7551 MB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.8183, allocations: 0.9597 MB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.455e-05/0.8184, allocations: 0 / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/0.8184, allocations: 7.875 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.8186, allocations: 27.73 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.8188, allocations: 51.92 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.819, allocations: 199.4 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.8192, allocations: 60.25 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.8193, allocations: 71.69 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.8195, allocations: 91.58 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.8195, allocations: 8 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.419e-05/0.8195, allocations: 8 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.544e-05/0.8196, allocations: 35.84 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.581e-05/0.8196, allocations: 49.58 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.8198, allocations: 153.6 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.8198, allocations: 3.938 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8198, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.8199, allocations: 4 kB / 1.025 GB, free: 13.55 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.001125/0.821, allocations: 0.5804 MB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.821, allocations: 8.031 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.8211, allocations: 23.72 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.8213, allocations: 218.7 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.8214, allocations: 16 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.857e-05/0.8214, allocations: 15.95 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007637/0.8222, allocations: 285.5 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.8222, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.8222, allocations: 4 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.8223, allocations: 4 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.8233, allocations: 383.7 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007177/0.8241, allocations: 0.4962 MB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007689/0.8249, allocations: 302.4 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006236/0.8255, allocations: 236.7 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.8255, allocations: 0 / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.8256, allocations: 34.56 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.082e-06/0.8256, allocations: 4 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.001891/0.8275, allocations: 0.6395 MB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.8275, allocations: 55.34 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.8277, allocations: 179.2 kB / 1.028 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.8277, allocations: 25.7 kB / 1.028 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.8278, allocations: 128.3 kB / 1.028 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.8279, allocations: 59.19 kB / 1.028 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.8279, allocations: 8 kB / 1.028 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.8281, allocations: 330.8 kB / 1.029 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005692/0.8286, allocations: 191.8 kB / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006194/0.8293, allocations: 227.5 kB / 1.029 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005704/0.8298, allocations: 195.9 kB / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.8299, allocations: 4 kB / 1.029 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001221/0.8311, allocations: 458.9 kB / 1.03 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.8311, allocations: 4 kB / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.8311, allocations: 4 kB / 1.03 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.8311, allocations: 7.953 kB / 1.03 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/0.8316, allocations: 99.91 kB / 1.03 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.8316, allocations: 4 kB / 1.03 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.8319, allocations: 79.86 kB / 1.03 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.832, allocations: 4 kB / 1.03 GB, free: 8.086 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.8321, allocations: 129.8 kB / 1.03 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.8322, allocations: 19.72 kB / 1.03 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.651e-05/0.8323, allocations: 29.8 kB / 1.03 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.8323, allocations: 0 / 1.03 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.8323, allocations: 7.953 kB / 1.03 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.8323, allocations: 0 / 1.03 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/0.8327, allocations: 269.5 kB / 1.03 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.8327, allocations: 0 / 1.03 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000447/0.8331, allocations: 103.9 kB / 1.03 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.8332, allocations: 0 / 1.03 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.8332, allocations: 4 kB / 1.03 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.8332, allocations: 4 kB / 1.03 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.8332, allocations: 3.938 kB / 1.03 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.8352, allocations: 0.7691 MB / 1.031 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.57e-05/0.8353, allocations: 89.02 kB / 1.031 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.8353, allocations: 8 kB / 1.031 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.8356, allocations: 75.92 kB / 1.031 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.8358, allocations: 31.89 kB / 1.031 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.8358, allocations: 4 kB / 1.031 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001423/0.8359, allocations: 132.4 kB / 1.032 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8359, allocations: 0 / 1.032 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002873/0.8362, allocations: 39.94 kB / 1.032 GB, free: 6.297 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002193/0.8364, allocations: 107.2 kB / 1.032 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.8377, allocations: 421.8 kB / 1.032 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8377, allocations: 0 / 1.032 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005761/0.8383, allocations: 219.8 kB / 1.032 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.8388, allocations: 43.42 kB / 1.032 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007889/0.8395, allocations: 414.5 kB / 1.033 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.8399, allocations: 0.7282 MB / 1.033 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.84, allocations: 17.08 kB / 1.033 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.105e-05/0.8401, allocations: 15.44 kB / 1.033 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of SimCode: time 1.373e-06/0.8401, allocations: 0 / 1.033 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of Templates: time 0.006002/0.8461, allocations: 2.097 MB / 1.036 GB, free: 2.227 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=480 -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