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.001087/0.001087, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.00101/0.00101, allocations: 193.2 kB / 17.31 MB, free: 5.613 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.494/2.494, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 68.62 kB / 0.8707 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3211, allocations: 151.6 MB / 1.019 GB, free: 9.812 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002527/0.3237, allocations: 1.093 MB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.325, allocations: 0.9651 MB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.815e-05/0.3251, allocations: 4 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.312e-05/0.3252, allocations: 19.73 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.3254, allocations: 39.59 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.3256, allocations: 71.83 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.3259, allocations: 223.4 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.3261, allocations: 68.83 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.3262, allocations: 99.69 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.3264, allocations: 103.6 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/0.3265, allocations: 20 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.398e-05/0.3265, allocations: 20 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.274e-05/0.3266, allocations: 51.77 kB / 1.022 GB, free: 7.027 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.3267, allocations: 95.45 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.3269, allocations: 211.1 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.327, allocations: 4 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.93e-06/0.327, allocations: 0 / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.327, allocations: 3.938 kB / 1.022 GB, free: 6.719 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.001183/0.3282, allocations: 0.5648 MB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3282, allocations: 12.92 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.3283, allocations: 20.75 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.3286, allocations: 224.4 kB / 1.023 GB, free: 5.812 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.3286, allocations: 16.31 kB / 1.023 GB, free: 5.797 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.3286, allocations: 12.38 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006942/0.3293, allocations: 242 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3294, allocations: 192 / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.3294, allocations: 7.938 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.3294, allocations: 7.984 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009681/0.3304, allocations: 291.7 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007149/0.3311, allocations: 496.2 kB / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006818/0.3318, allocations: 250.3 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005662/0.3324, allocations: 198.9 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.3324, allocations: 0 / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.3324, allocations: 38.56 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.3324, allocations: 0 / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of matching and sorting (n=17): time 0.001698/0.3341, allocations: 0.4933 MB / 1.025 GB, free: 3.711 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.3342, allocations: 55.34 kB / 1.025 GB, free: 3.645 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.3344, allocations: 179.5 kB / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.3344, allocations: 29.7 kB / 1.025 GB, free: 3.426 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/0.3345, allocations: 132.3 kB / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.257e-05/0.3346, allocations: 51.2 kB / 1.025 GB, free: 3.242 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-05/0.3346, allocations: 33.7 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3348, allocations: 326.8 kB / 1.025 GB, free: 2.875 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005196/0.3353, allocations: 151.7 kB / 1.025 GB, free: 2.727 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005167/0.3358, allocations: 177.5 kB / 1.026 GB, free: 2.547 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009739/0.3368, allocations: 292.6 kB / 1.026 GB, free: 2.258 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3368, allocations: 0 / 1.026 GB, free: 2.258 MB / 0.795 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00106/0.3379, allocations: 365 kB / 1.026 GB, free: 1.895 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3379, allocations: 8 kB / 1.026 GB, free: 1.887 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3379, allocations: 4 kB / 1.026 GB, free: 1.883 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3379, allocations: 7.875 kB / 1.026 GB, free: 1.875 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.3383, allocations: 79.91 kB / 1.026 GB, free: 1.797 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3384, allocations: 0 / 1.026 GB, free: 1.797 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.3386, allocations: 55.83 kB / 1.026 GB, free: 1.742 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.3387, allocations: 8 kB / 1.026 GB, free: 1.734 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.0001255/0.3388, allocations: 130.4 kB / 1.027 GB, free: 1.598 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.3388, allocations: 19.8 kB / 1.027 GB, free: 1.578 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.307e-05/0.3389, allocations: 25.81 kB / 1.027 GB, free: 1.559 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3389, allocations: 0 / 1.027 GB, free: 1.559 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3389, allocations: 0 / 1.027 GB, free: 1.559 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3389, allocations: 4 kB / 1.027 GB, free: 1.555 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.3392, allocations: 273.3 kB / 1.027 GB, free: 1.238 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3392, allocations: 0 / 1.027 GB, free: 1.238 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003738/0.3396, allocations: 83.84 kB / 1.027 GB, free: 1.156 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3396, allocations: 4 kB / 1.027 GB, free: 1.152 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.3397, allocations: 7.938 kB / 1.027 GB, free: 1.145 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3397, allocations: 0 / 1.027 GB, free: 1.145 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3397, allocations: 0 / 1.027 GB, free: 1.145 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.3413, allocations: 0.626 MB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.962e-05/0.3414, allocations: 96.94 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.3415, allocations: 11.94 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.3417, allocations: 51.92 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/0.3418, allocations: 23.97 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.3419, allocations: 0 / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001032/0.342, allocations: 128.4 kB / 1.028 GB, free: 184 kB / 0.795 GB Notification: Performance of sort global known variables: time 3.91e-07/0.342, allocations: 0 / 1.028 GB, free: 184 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002597/0.3422, allocations: 43.91 kB / 1.028 GB, free: 140 kB / 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.0001625/0.3424, allocations: 112.2 kB / 1.028 GB, free: 20 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.3435, allocations: 321.9 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3436, allocations: 0 / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000541/0.3441, allocations: 171.8 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.3445, allocations: 39.97 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007413/0.3453, allocations: 368.7 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.3456, allocations: 0.7318 MB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.666e-05/0.3457, allocations: 17.08 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.181e-05/0.3458, allocations: 15.44 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3458, allocations: 3.938 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of Templates: time 0.00584/0.3516, allocations: 2.729 MB / 1.032 GB, free: 11.62 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 -s gbode -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