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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.737/1.737, allocations: 387.2 MB / 394.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009804/0.0009804, allocations: 192.4 kB / 487 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.093/1.093, allocations: 221.4 MB / 0.7819 GB, free: 6.766 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007949/0.0007949, allocations: 97.94 kB / 0.9213 GB, free: 43.68 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 8.837e-06/8.857e-06, allocations: 4 kB / 1.066 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5238/0.5238, allocations: 142.3 MB / 1.205 GB, free: 72.69 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/0.682, allocations: 148.5 MB / 1.35 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.6822, allocations: 68.86 kB / 1.35 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.007732/0.69, allocations: 2.587 MB / 1.353 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.69, allocations: 4 kB / 1.353 GB, free: 12.18 MB / 0.8542 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.0009549/0.691, allocations: 0.5824 MB / 1.353 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.691, allocations: 8.031 kB / 1.353 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.6911, allocations: 23.72 kB / 1.353 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.6913, allocations: 222.6 kB / 1.354 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.6913, allocations: 4 kB / 1.354 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.6914, allocations: 8 kB / 1.354 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002114/0.6916, allocations: 88 kB / 1.354 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.6918, allocations: 122.2 kB / 1.354 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.6918, allocations: 0 / 1.354 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.6918, allocations: 0 / 1.354 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.6919, allocations: 4 kB / 1.354 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.693, allocations: 0.6146 MB / 1.354 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.6932, allocations: 118.5 kB / 1.355 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.6934, allocations: 84.84 kB / 1.355 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.6934, allocations: 4 kB / 1.355 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.6935, allocations: 38.56 kB / 1.355 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=17): time 1.163e-06/0.6935, allocations: 0 / 1.355 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17): time 0.0003109/0.6938, allocations: 145.7 kB / 1.355 GB, free: 9.973 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.6938, allocations: 51.41 kB / 1.355 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.6939, allocations: 149.5 kB / 1.355 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.694, allocations: 25.7 kB / 1.355 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.694, allocations: 112.3 kB / 1.355 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.962e-05/0.6941, allocations: 55.09 kB / 1.355 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/0.6941, allocations: 0 / 1.355 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.6942, allocations: 330.8 kB / 1.355 GB, free: 9.227 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.592e-05/0.6943, allocations: 51.94 kB / 1.356 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.675e-05/0.6944, allocations: 46.03 kB / 1.356 GB, free: 9.133 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.791e-05/0.6945, allocations: 39.98 kB / 1.356 GB, free: 9.094 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.6945, allocations: 0 / 1.356 GB, free: 9.094 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002435/0.6947, allocations: 150.5 kB / 1.356 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.6948, allocations: 4 kB / 1.356 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6948, allocations: 3.75 kB / 1.356 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.6948, allocations: 0 / 1.356 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004749/0.6953, allocations: 127.8 kB / 1.356 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.6953, allocations: 0 / 1.356 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.6956, allocations: 88.36 kB / 1.356 GB, free: 8.727 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.6956, allocations: 8 kB / 1.356 GB, free: 8.719 MB / 0.8542 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 () * 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 7.5e-05/0.6957, allocations: 108.9 kB / 1.356 GB, free: 8.605 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.6958, allocations: 15.81 kB / 1.356 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.6958, allocations: 21.58 kB / 1.356 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.6958, allocations: 0 / 1.356 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6958, allocations: 4.5 kB / 1.356 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.6958, allocations: 0 / 1.356 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.6961, allocations: 238 kB / 1.356 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.6961, allocations: 0.75 kB / 1.356 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/0.6965, allocations: 111.9 kB / 1.356 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.6965, allocations: 3.906 kB / 1.356 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.6966, allocations: 7.922 kB / 1.356 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6966, allocations: 0 / 1.356 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6966, allocations: 5.062 kB / 1.356 GB, free: 8.172 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004231/0.697, allocations: 330 kB / 1.357 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.6971, allocations: 96.92 kB / 1.357 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.6971, allocations: 4 kB / 1.357 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003728/0.6975, allocations: 87.98 kB / 1.357 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.23e-05/0.6976, allocations: 23.95 kB / 1.357 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.6976, allocations: 4 kB / 1.357 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.313e-05/0.6977, allocations: 123.1 kB / 1.357 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002383/0.6979, allocations: 39.84 kB / 1.357 GB, free: 7.449 MB / 0.8542 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 () * 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.0001336/0.698, allocations: 111.2 kB / 1.357 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002486/0.6983, allocations: 115.9 kB / 1.357 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.6983, allocations: 0 / 1.357 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.6984, allocations: 71.94 kB / 1.357 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.6987, allocations: 33.66 kB / 1.357 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.6992, allocations: 255.2 kB / 1.358 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003639/0.6996, allocations: 0.7508 MB / 1.358 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of SimCode: time 2.2e-07/0.6996, allocations: 8 kB / 1.358 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of Templates: time 0.004499/0.7041, allocations: 2.413 MB / 1.361 GB, free: 3.715 MB / 0.8542 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