Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.418/2.418, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 183.9 kB / 0.4902 GB, free: 2.246 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 223.2 MB / 0.7992 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000966/0.0009659, allocations: 98.73 kB / 0.9396 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003841, allocations: 10.38 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2932, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2068/0.5, allocations: 150.1 MB / 1.376 GB, free: 3.449 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.5003, allocations: 75.95 kB / 1.376 GB, free: 3.375 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008858/0.5092, allocations: 2.798 MB / 1.379 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.129e-06/0.5092, allocations: 0 / 1.379 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.5093, allocations: 7.938 kB / 1.379 GB, free: 0.5625 MB / 0.8698 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.001165/0.5104, allocations: 0.5882 MB / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.5105, allocations: 8.562 kB / 1.379 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.283e-05/0.5106, allocations: 19.81 kB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.5109, allocations: 226.5 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.5109, allocations: 8 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.511, allocations: 12 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008694/0.5118, allocations: 290.2 kB / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.5119, allocations: 0 / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.5119, allocations: 4 kB / 1.38 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.5119, allocations: 4 kB / 1.38 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.5131, allocations: 387.6 kB / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.5144, allocations: 0.6251 MB / 1.381 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007713/0.5152, allocations: 302.4 kB / 1.381 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.5152, allocations: 320 / 1.381 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.5153, allocations: 34.56 kB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.5153, allocations: 0 / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17): time 0.001909/0.5172, allocations: 0.6356 MB / 1.382 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.5172, allocations: 59.31 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.5174, allocations: 157.5 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.5174, allocations: 29.7 kB / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.021e-05/0.5175, allocations: 128.3 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.038e-05/0.5176, allocations: 55.17 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.5176, allocations: 0 / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5177, allocations: 330.8 kB / 1.382 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005801/0.5183, allocations: 191.8 kB / 1.383 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000554/0.5189, allocations: 199.8 kB / 1.383 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005646/0.5195, allocations: 192.9 kB / 1.383 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5195, allocations: 3.938 kB / 1.383 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001203/0.5207, allocations: 465.8 kB / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.5207, allocations: 4 kB / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5207, allocations: 0 / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.5207, allocations: 0 / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004489/0.5212, allocations: 103.9 kB / 1.383 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.5212, allocations: 0 / 1.383 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.5216, allocations: 95.7 kB / 1.384 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.5216, allocations: 4 kB / 1.384 GB, free: 11.25 MB / 0.8855 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.0001275/0.5217, allocations: 125.8 kB / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.5218, allocations: 23.75 kB / 1.384 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.976e-05/0.5218, allocations: 21.88 kB / 1.384 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.5218, allocations: 0 / 1.384 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.5218, allocations: 3.984 kB / 1.384 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5219, allocations: 0 / 1.384 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.5222, allocations: 289.3 kB / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5222, allocations: 0 / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004537/0.5226, allocations: 99.91 kB / 1.384 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.5226, allocations: 7.891 kB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.5227, allocations: 4 kB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5227, allocations: 0 / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5227, allocations: 0 / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.5247, allocations: 0.7705 MB / 1.385 GB, free: 9.852 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.5247, allocations: 88.95 kB / 1.385 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.5248, allocations: 15.95 kB / 1.385 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.5252, allocations: 75.98 kB / 1.385 GB, free: 9.656 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.166e-05/0.5253, allocations: 19.97 kB / 1.385 GB, free: 9.637 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.5253, allocations: 8 kB / 1.385 GB, free: 9.629 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.615e-05/0.5254, allocations: 132.3 kB / 1.385 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5254, allocations: 0 / 1.385 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002671/0.5257, allocations: 39.84 kB / 1.385 GB, free: 9.461 MB / 0.8855 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.000199/0.5259, allocations: 115.2 kB / 1.385 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001217/0.5271, allocations: 416.8 kB / 1.386 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5271, allocations: 3.938 kB / 1.386 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006412/0.5277, allocations: 219.7 kB / 1.386 GB, free: 8.711 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.5281, allocations: 41.61 kB / 1.386 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007519/0.5288, allocations: 427.9 kB / 1.386 GB, free: 8.223 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.5291, allocations: 0.7282 MB / 1.387 GB, free: 7.469 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.781e-05/0.5293, allocations: 13.09 kB / 1.387 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.958e-05/0.5293, allocations: 19.42 kB / 1.387 GB, free: 7.438 MB / 0.8855 GB Notification: Performance of SimCode: time 6.01e-07/0.5293, allocations: 0 / 1.387 GB, free: 7.438 MB / 0.8855 GB Notification: Performance of Templates: time 0.004606/0.5339, allocations: 2.018 MB / 1.389 GB, free: 5.449 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches