Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001269/0.001269, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.00151/0.00151, allocations: 177.3 kB / 15.94 MB, free: 228 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.496/1.496, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.8/2.8, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004281/0.0004282, allocations: 15.98 kB / 0.8708 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8825/0.883, allocations: 153.6 MB / 1.021 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001319/0.8843, allocations: 0.7591 MB / 1.022 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.8855, allocations: 0.952 MB / 1.022 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.061e-05/0.8856, allocations: 4 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.8857, allocations: 11.86 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.8858, allocations: 39.8 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.886, allocations: 47.95 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.8862, allocations: 131.7 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.8864, allocations: 60.27 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.8865, allocations: 71.73 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.8866, allocations: 91.59 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.8866, allocations: 8 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.493e-05/0.8867, allocations: 8 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.675e-05/0.8867, allocations: 27.84 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.8868, allocations: 53.58 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.8869, allocations: 153.6 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.8869, allocations: 3.938 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.403e-06/0.887, allocations: 0 / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.887, allocations: 0 / 1.023 GB, free: 14.64 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.001143/0.8881, allocations: 0.5901 MB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.8882, allocations: 11.98 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.344e-05/0.8882, allocations: 23.72 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.8885, allocations: 214.7 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.8885, allocations: 12 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.8886, allocations: 15.95 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007998/0.8894, allocations: 281.5 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.8894, allocations: 0 / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.8894, allocations: 4 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.8894, allocations: 4 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.8906, allocations: 383.7 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000735/0.8913, allocations: 0.4962 MB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008036/0.8922, allocations: 298.4 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.8922, allocations: 7.938 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.8922, allocations: 34.56 kB / 1.025 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.8922, allocations: 0 / 1.025 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.002021/0.8943, allocations: 0.6431 MB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.8943, allocations: 51.41 kB / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.8945, allocations: 175.5 kB / 1.026 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.8945, allocations: 29.7 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.451e-05/0.8946, allocations: 128.3 kB / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.46e-05/0.8946, allocations: 55.2 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.8947, allocations: 0 / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.8948, allocations: 326.8 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006252/0.8954, allocations: 199.8 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006465/0.8961, allocations: 223.9 kB / 1.027 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006171/0.8967, allocations: 199.9 kB / 1.027 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.8967, allocations: 0 / 1.027 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001292/0.898, allocations: 458.1 kB / 1.028 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.898, allocations: 11.98 kB / 1.028 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.8981, allocations: 0 / 1.028 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.8981, allocations: 4 kB / 1.028 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/0.8985, allocations: 95.88 kB / 1.028 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.8985, allocations: 4 kB / 1.028 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.8988, allocations: 87.84 kB / 1.028 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.8989, allocations: 0 / 1.028 GB, free: 9.426 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.0001134/0.899, allocations: 133.8 kB / 1.028 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.899, allocations: 19.81 kB / 1.028 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/0.8991, allocations: 21.88 kB / 1.028 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.8991, allocations: 3.938 kB / 1.028 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.8991, allocations: 7.953 kB / 1.028 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.8991, allocations: 3.984 kB / 1.028 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.8994, allocations: 265.4 kB / 1.028 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.8994, allocations: 0 / 1.028 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004284/0.8998, allocations: 107.9 kB / 1.029 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.8999, allocations: 0 / 1.029 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.8999, allocations: 0 / 1.029 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.8999, allocations: 8 kB / 1.029 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.8999, allocations: 0 / 1.029 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.9019, allocations: 0.774 MB / 1.029 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.902, allocations: 96.89 kB / 1.029 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.9021, allocations: 4 kB / 1.029 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/0.9024, allocations: 75.98 kB / 1.03 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.9025, allocations: 27.88 kB / 1.03 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.9025, allocations: 8 kB / 1.03 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001267/0.9026, allocations: 127.2 kB / 1.03 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9026, allocations: 0 / 1.03 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002693/0.9029, allocations: 43.89 kB / 1.03 GB, free: 7.625 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.0001652/0.9031, allocations: 103.2 kB / 1.03 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.9044, allocations: 429.3 kB / 1.03 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9044, allocations: 0 / 1.03 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006686/0.9051, allocations: 219.8 kB / 1.03 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.9054, allocations: 24.17 kB / 1.03 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007467/0.9062, allocations: 422.6 kB / 1.031 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.9065, allocations: 0.7359 MB / 1.032 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.829e-05/0.9066, allocations: 9.094 kB / 1.032 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.255e-05/0.9067, allocations: 15.42 kB / 1.032 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of SimCode: time 6.01e-07/0.9067, allocations: 8 kB / 1.032 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of Templates: time 0.004836/0.9116, allocations: 2.072 MB / 1.034 GB, free: 3.574 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches