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.001304/0.001304, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0015/0.0015, allocations: 193.5 kB / 16.14 MB, free: 6.652 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.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.601/2.601, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.91 kB / 0.8686 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7128/0.7141, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002796/0.7169, allocations: 1.152 MB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.7181, allocations: 0.9713 MB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.7182, allocations: 4 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.813e-05/0.7182, allocations: 7.875 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.7184, allocations: 27.78 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.7186, allocations: 59.94 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.7188, allocations: 211.4 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.719, allocations: 68.77 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.7191, allocations: 87.67 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.7192, allocations: 107.5 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.7193, allocations: 12 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.932e-05/0.7193, allocations: 16 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.7194, allocations: 39.83 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 9.482e-05/0.7195, allocations: 83.45 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.7197, allocations: 201.2 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.7197, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.71e-07/0.7197, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.7197, allocations: 0 / 1.02 GB, free: 15.77 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.001157/0.7209, allocations: 0.561 MB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.7209, allocations: 12.03 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.09e-05/0.721, allocations: 20.66 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.7212, allocations: 227.9 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.7213, allocations: 12.38 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.7213, allocations: 12.38 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007824/0.7221, allocations: 245.9 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.7221, allocations: 4.125 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.7222, allocations: 11.94 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.7222, allocations: 4 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.7233, allocations: 295.6 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007076/0.724, allocations: 0.4924 MB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007397/0.7248, allocations: 240.7 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006325/0.7254, allocations: 192.7 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.7255, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.7255, allocations: 38.56 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.062e-06/0.7255, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.0019/0.7274, allocations: 0.4972 MB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.7274, allocations: 55.41 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.7276, allocations: 175.5 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.7276, allocations: 33.7 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.903e-05/0.7277, allocations: 132.2 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.825e-05/0.7278, allocations: 51.27 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.423e-05/0.7279, allocations: 29.72 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.728, allocations: 330.8 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005858/0.7286, allocations: 147.8 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/0.7292, allocations: 180.2 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.7303, allocations: 297.9 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.7303, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001205/0.7315, allocations: 365.1 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.7316, allocations: 4 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.7316, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.7316, allocations: 3.938 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.732, allocations: 79.91 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.732, allocations: 3.938 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.7323, allocations: 67.77 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.7324, allocations: 4 kB / 1.024 GB, free: 10.78 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.0001167/0.7325, allocations: 121.8 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.7325, allocations: 19.8 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.7326, allocations: 25.81 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.7326, allocations: 4 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.7326, allocations: 4 kB / 1.024 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.7326, allocations: 0 / 1.024 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.7329, allocations: 277.3 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.7329, allocations: 3.984 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004114/0.7333, allocations: 83.84 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.7334, allocations: 0 / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.7334, allocations: 11.94 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.7334, allocations: 3.938 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7334, allocations: 0 / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.7353, allocations: 0.6216 MB / 1.025 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.7353, allocations: 92.94 kB / 1.025 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.7354, allocations: 7.938 kB / 1.025 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.7357, allocations: 55.98 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.46e-05/0.7358, allocations: 23.97 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.7358, allocations: 4 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001006/0.7359, allocations: 128.4 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7359, allocations: 3.938 kB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002716/0.7362, allocations: 39.94 kB / 1.026 GB, free: 9.176 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.0001533/0.7364, allocations: 103.2 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.7376, allocations: 332.3 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7376, allocations: 0 / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006039/0.7382, allocations: 173.6 kB / 1.026 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.7387, allocations: 35.98 kB / 1.026 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000733/0.7394, allocations: 430.2 kB / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.7397, allocations: 0.7282 MB / 1.027 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001061/0.7398, allocations: 13.08 kB / 1.027 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.675e-05/0.7399, allocations: 19.44 kB / 1.027 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.7399, allocations: 0 / 1.027 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of Templates: time 0.004944/0.7449, allocations: 2.177 MB / 1.03 GB, free: 5.16 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