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.001755/0.001755, allocations: 99.86 kB / 16.27 MB, free: 5.965 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.00197/0.00197, allocations: 192.1 kB / 17.2 MB, free: 5.598 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.388/1.388, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.539/2.539, allocations: 437 MB / 0.711 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 65.5 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3106, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002724/0.3134, allocations: 1.105 MB / 1.019 GB, free: 9.547 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.3148, allocations: 0.9572 MB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.315, allocations: 4 kB / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 7.083e-05/0.3151, allocations: 19.69 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.3153, allocations: 43.58 kB / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.3156, allocations: 75.84 kB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.3159, allocations: 223.4 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.3161, allocations: 72.77 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.3162, allocations: 87.73 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.3164, allocations: 111.5 kB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.574e-05/0.3165, allocations: 27.94 kB / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.745e-05/0.3165, allocations: 16 kB / 1.021 GB, free: 7.906 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.3166, allocations: 47.83 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.04e-05/0.3167, allocations: 87.47 kB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.3169, allocations: 211.5 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3169, allocations: 4 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3169, allocations: 0 / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.3169, allocations: 0 / 1.021 GB, free: 7.562 MB / 0.795 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.00121/0.3182, allocations: 0.5609 MB / 1.022 GB, free: 6.949 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3182, allocations: 8.922 kB / 1.022 GB, free: 6.941 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.776e-05/0.3183, allocations: 24.69 kB / 1.022 GB, free: 6.918 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.3185, allocations: 232.4 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.3186, allocations: 12.38 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.3186, allocations: 12.38 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007925/0.3194, allocations: 234 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3194, allocations: 4.188 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.3194, allocations: 7.938 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.3195, allocations: 4 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.3206, allocations: 291.7 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000757/0.3214, allocations: 0.4923 MB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007679/0.3222, allocations: 246.4 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006489/0.3228, allocations: 194.4 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.3229, allocations: 4 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.3229, allocations: 34.55 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of pre-optimization done (n=17): time 1.823e-06/0.3229, allocations: 4 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of matching and sorting (n=17): time 0.001965/0.3249, allocations: 0.4962 MB / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.3249, allocations: 59.39 kB / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.3251, allocations: 175.5 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.3251, allocations: 29.69 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.424e-05/0.3252, allocations: 124.3 kB / 1.024 GB, free: 4.148 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.3253, allocations: 55.2 kB / 1.024 GB, free: 4.094 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.989e-05/0.3253, allocations: 41.7 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3255, allocations: 322.8 kB / 1.025 GB, free: 3.723 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006081/0.3261, allocations: 151.7 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006131/0.3267, allocations: 174.4 kB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.3279, allocations: 299.5 kB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.3279, allocations: 0 / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001276/0.3292, allocations: 365 kB / 1.025 GB, free: 2.738 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3292, allocations: 11.94 kB / 1.025 GB, free: 2.727 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3292, allocations: 0 / 1.025 GB, free: 2.727 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3292, allocations: 7.938 kB / 1.025 GB, free: 2.719 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.3296, allocations: 71.91 kB / 1.026 GB, free: 2.648 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3297, allocations: 0 / 1.026 GB, free: 2.648 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/0.33, allocations: 63.83 kB / 1.026 GB, free: 2.586 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.33, allocations: 4 kB / 1.026 GB, free: 2.582 MB / 0.795 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.0001167/0.3301, allocations: 129.8 kB / 1.026 GB, free: 2.445 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.3302, allocations: 15.75 kB / 1.026 GB, free: 2.43 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.043e-05/0.3302, allocations: 29.8 kB / 1.026 GB, free: 2.406 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3303, allocations: 4 kB / 1.026 GB, free: 2.402 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3303, allocations: 0 / 1.026 GB, free: 2.402 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3303, allocations: 4 kB / 1.026 GB, free: 2.398 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.3305, allocations: 273.4 kB / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3306, allocations: 0 / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.331, allocations: 79.84 kB / 1.026 GB, free: 2.004 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.331, allocations: 0 / 1.026 GB, free: 2.004 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.331, allocations: 7.938 kB / 1.026 GB, free: 1.996 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.331, allocations: 4 kB / 1.026 GB, free: 1.992 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.331, allocations: 4 kB / 1.026 GB, free: 1.988 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.3331, allocations: 0.626 MB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.3332, allocations: 92.86 kB / 1.027 GB, free: 1.238 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.3332, allocations: 7.938 kB / 1.027 GB, free: 1.23 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.3336, allocations: 55.98 kB / 1.027 GB, free: 1.176 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.649e-05/0.3337, allocations: 23.97 kB / 1.027 GB, free: 1.152 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.3337, allocations: 4 kB / 1.027 GB, free: 1.148 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001096/0.3338, allocations: 132.4 kB / 1.027 GB, free: 1.02 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3338, allocations: 0 / 1.027 GB, free: 1.02 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002892/0.3341, allocations: 39.91 kB / 1.027 GB, free: 0.9805 MB / 0.795 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.0001971/0.3343, allocations: 104.2 kB / 1.027 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.3356, allocations: 335.6 kB / 1.027 GB, free: 0.543 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3357, allocations: 0 / 1.027 GB, free: 0.543 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006485/0.3363, allocations: 175.8 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005048/0.3368, allocations: 34.42 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009764/0.3378, allocations: 406.4 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.3382, allocations: 0.7279 MB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.3383, allocations: 19.42 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of SimCode: time 3.2e-07/0.3383, allocations: 0 / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of Templates: time 0.005158/0.3435, allocations: 2.602 MB / 1.031 GB, free: 12.56 MB / 0.8106 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/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