Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.397/2.397, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001509/0.001509, allocations: 177.8 kB / 498.1 MB, free: 5.75 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.565/1.565, allocations: 223.2 MB / 0.7949 GB, free: 17.95 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.0009257/0.0009256, allocations: 90.64 kB / 0.9346 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004153, allocations: 14.08 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3118, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1903/0.5022, allocations: 149.2 MB / 1.369 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.5025, allocations: 71.95 kB / 1.369 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008398/0.5109, allocations: 2.813 MB / 1.371 GB, free: 9.996 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.511, allocations: 0 / 1.371 GB, free: 9.996 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.511, allocations: 4 kB / 1.371 GB, free: 9.992 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.001103/0.5121, allocations: 0.5804 MB / 1.372 GB, free: 9.363 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.5121, allocations: 12.03 kB / 1.372 GB, free: 9.352 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/0.5122, allocations: 23.72 kB / 1.372 GB, free: 9.328 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.5125, allocations: 218.6 kB / 1.372 GB, free: 9.074 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.5126, allocations: 8 kB / 1.372 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.5126, allocations: 16 kB / 1.372 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000782/0.5134, allocations: 281.5 kB / 1.373 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.5134, allocations: 0 / 1.373 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.5134, allocations: 4 kB / 1.373 GB, free: 8.766 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.5134, allocations: 4 kB / 1.373 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.5146, allocations: 387.7 kB / 1.373 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.5159, allocations: 0.6289 MB / 1.374 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007876/0.5167, allocations: 306.3 kB / 1.374 GB, free: 7.395 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.5168, allocations: 0 / 1.374 GB, free: 7.395 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.5168, allocations: 38.56 kB / 1.374 GB, free: 7.348 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=17): time 1.012e-06/0.5168, allocations: 0 / 1.374 GB, free: 7.348 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17): time 0.001972/0.5188, allocations: 0.631 MB / 1.375 GB, free: 6.711 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.5188, allocations: 59.34 kB / 1.375 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.519, allocations: 153.5 kB / 1.375 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.5191, allocations: 33.64 kB / 1.375 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.5192, allocations: 128.2 kB / 1.375 GB, free: 6.312 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.719e-05/0.5193, allocations: 59.19 kB / 1.375 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.5193, allocations: 0 / 1.375 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.5195, allocations: 330.8 kB / 1.375 GB, free: 5.922 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006022/0.5201, allocations: 195.8 kB / 1.375 GB, free: 5.73 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/0.5207, allocations: 204.7 kB / 1.376 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/0.5213, allocations: 185.7 kB / 1.376 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5213, allocations: 4 kB / 1.376 GB, free: 5.348 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001257/0.5225, allocations: 461 kB / 1.376 GB, free: 4.891 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.5226, allocations: 8 kB / 1.376 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.5226, allocations: 0 / 1.376 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.918e-05/0.5226, allocations: 0 / 1.376 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/0.5231, allocations: 107.8 kB / 1.376 GB, free: 4.777 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.5231, allocations: 4 kB / 1.376 GB, free: 4.773 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.5234, allocations: 75.92 kB / 1.376 GB, free: 4.699 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.5235, allocations: 8 kB / 1.376 GB, free: 4.691 MB / 0.8698 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.0001515/0.5236, allocations: 121.8 kB / 1.377 GB, free: 4.562 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.5237, allocations: 23.77 kB / 1.377 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.673e-05/0.5238, allocations: 29.8 kB / 1.377 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.5238, allocations: 0 / 1.377 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5238, allocations: 0 / 1.377 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.5238, allocations: 0 / 1.377 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.5241, allocations: 277.4 kB / 1.377 GB, free: 4.191 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.5241, allocations: 0 / 1.377 GB, free: 4.191 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/0.5246, allocations: 99.91 kB / 1.377 GB, free: 4.094 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5246, allocations: 3.953 kB / 1.377 GB, free: 4.09 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.5246, allocations: 4 kB / 1.377 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5246, allocations: 0 / 1.377 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.5246, allocations: 11.98 kB / 1.377 GB, free: 4.074 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.5266, allocations: 0.7629 MB / 1.378 GB, free: 3.297 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.968e-05/0.5266, allocations: 96.89 kB / 1.378 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.5267, allocations: 7.953 kB / 1.378 GB, free: 3.176 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003278/0.527, allocations: 75.98 kB / 1.378 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.5271, allocations: 31.86 kB / 1.378 GB, free: 3.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.5272, allocations: 8 kB / 1.378 GB, free: 3.062 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001113/0.5273, allocations: 128.3 kB / 1.378 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.41e-07/0.5273, allocations: 3.938 kB / 1.378 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002675/0.5275, allocations: 35.98 kB / 1.378 GB, free: 2.898 MB / 0.8698 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.0002518/0.5278, allocations: 111 kB / 1.378 GB, free: 2.777 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.5291, allocations: 427.5 kB / 1.379 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5291, allocations: 0 / 1.379 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006038/0.5297, allocations: 224.6 kB / 1.379 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.53, allocations: 32.16 kB / 1.379 GB, free: 2.105 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007633/0.5308, allocations: 418.6 kB / 1.379 GB, free: 1.672 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.5312, allocations: 0.736 MB / 1.38 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.627e-05/0.5313, allocations: 9.078 kB / 1.38 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.088e-05/0.5314, allocations: 15.44 kB / 1.38 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of SimCode: time 1.974e-06/0.5314, allocations: 4 kB / 1.38 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of Templates: time 0.00506/0.5364, allocations: 2.022 MB / 1.382 GB, free: 14.89 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches