Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter") [: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 7.0.3-maint.7.0.x/package.mo): time 1.28/1.28, allocations: 249.4 MB / 256.7 MB, free: 15.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 187.2 kB / 316 MB, free: 7.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.1 MB / 0.5667 GB, free: 23.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009285/0.0009283, allocations: 80.89 kB / 0.671 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.1e-05/1.102e-05, allocations: 4 kB / 0.7807 GB, free: 388 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3752, allocations: 106.3 MB / 0.8846 GB, free: 76.26 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.5117, allocations: 131.1 MB / 1.013 GB, free: 8.953 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.5119, allocations: 71.95 kB / 1.013 GB, free: 8.883 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.009451/0.5214, allocations: 2.9 MB / 1.016 GB, free: 5.98 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.5214, allocations: 4 kB / 1.016 GB, free: 5.977 MB / 0.6667 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.001051/0.5225, allocations: 0.611 MB / 1.016 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.5225, allocations: 8.031 kB / 1.016 GB, free: 5.312 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.36e-05/0.5226, allocations: 31.56 kB / 1.016 GB, free: 5.281 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.5228, allocations: 229.6 kB / 1.016 GB, free: 5.012 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.5229, allocations: 4 kB / 1.016 GB, free: 5.008 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.5229, allocations: 12 kB / 1.016 GB, free: 4.996 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002519/0.5232, allocations: 100 kB / 1.017 GB, free: 4.898 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.5234, allocations: 118.2 kB / 1.017 GB, free: 4.777 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.5234, allocations: 3.984 kB / 1.017 GB, free: 4.773 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.5235, allocations: 3.906 kB / 1.017 GB, free: 4.77 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.5235, allocations: 7.938 kB / 1.017 GB, free: 4.762 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.5248, allocations: 0.6256 MB / 1.017 GB, free: 4.098 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.5251, allocations: 138.5 kB / 1.017 GB, free: 3.953 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.5252, allocations: 57.17 kB / 1.017 GB, free: 3.895 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.5253, allocations: 3.906 kB / 1.017 GB, free: 3.891 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.5253, allocations: 38.56 kB / 1.017 GB, free: 3.844 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.5253, allocations: 0 / 1.017 GB, free: 3.844 MB / 0.6667 GB Notification: Performance of matching and sorting (n=17): time 0.0003666/0.5257, allocations: 149.4 kB / 1.018 GB, free: 3.691 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.5257, allocations: 59.41 kB / 1.018 GB, free: 3.621 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.5259, allocations: 172.2 kB / 1.018 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.5259, allocations: 25.7 kB / 1.018 GB, free: 3.418 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.526, allocations: 116.3 kB / 1.018 GB, free: 3.301 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.526, allocations: 59.11 kB / 1.018 GB, free: 3.242 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.526, allocations: 0 / 1.018 GB, free: 3.242 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5262, allocations: 330.8 kB / 1.018 GB, free: 2.91 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.5263, allocations: 48 kB / 1.018 GB, free: 2.863 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.948e-05/0.5264, allocations: 54.44 kB / 1.018 GB, free: 2.812 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.895e-05/0.5265, allocations: 47.98 kB / 1.018 GB, free: 2.766 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5265, allocations: 0 / 1.018 GB, free: 2.766 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002923/0.5268, allocations: 161.3 kB / 1.019 GB, free: 2.602 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.5268, allocations: 4 kB / 1.019 GB, free: 2.598 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.5268, allocations: 0 / 1.019 GB, free: 2.598 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.5269, allocations: 0 / 1.019 GB, free: 2.598 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005167/0.5274, allocations: 115.9 kB / 1.019 GB, free: 2.484 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5274, allocations: 7.938 kB / 1.019 GB, free: 2.477 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.5278, allocations: 91.77 kB / 1.019 GB, free: 2.387 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.5278, allocations: 4 kB / 1.019 GB, free: 2.383 MB / 0.6667 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.43e-05/0.5279, allocations: 103.1 kB / 1.019 GB, free: 2.277 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-05/0.5279, allocations: 23.72 kB / 1.019 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.31e-05/0.528, allocations: 29.88 kB / 1.019 GB, free: 2.227 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.528, allocations: 4 kB / 1.019 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.528, allocations: 4 kB / 1.019 GB, free: 2.219 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.528, allocations: 3.906 kB / 1.019 GB, free: 2.215 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.5283, allocations: 258 kB / 1.019 GB, free: 1.926 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5283, allocations: 3.938 kB / 1.019 GB, free: 1.922 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005089/0.5288, allocations: 111.8 kB / 1.019 GB, free: 1.812 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.5288, allocations: 7.938 kB / 1.019 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.5289, allocations: 0 / 1.019 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5289, allocations: 4 kB / 1.019 GB, free: 1.801 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5289, allocations: 0 / 1.019 GB, free: 1.801 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005252/0.5294, allocations: 352.7 kB / 1.02 GB, free: 1.441 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.5295, allocations: 96.92 kB / 1.02 GB, free: 1.328 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.5295, allocations: 4 kB / 1.02 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.5299, allocations: 83.98 kB / 1.02 GB, free: 1.242 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.619e-05/0.53, allocations: 23.97 kB / 1.02 GB, free: 1.219 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.5301, allocations: 7.984 kB / 1.02 GB, free: 1.211 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.431e-05/0.5302, allocations: 136.5 kB / 1.02 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002758/0.5304, allocations: 43.84 kB / 1.02 GB, free: 1.039 MB / 0.6667 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.00016/0.5306, allocations: 107.2 kB / 1.02 GB, free: 0.9258 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002755/0.5309, allocations: 126.8 kB / 1.02 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5309, allocations: 0 / 1.02 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.5311, allocations: 79.89 kB / 1.02 GB, free: 0.7266 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.5314, allocations: 32.56 kB / 1.02 GB, free: 0.6914 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006447/0.532, allocations: 276.6 kB / 1.021 GB, free: 400 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/0.5325, allocations: 0.7703 MB / 1.021 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of SimCode: time 2.61e-07/0.5325, allocations: 0 / 1.021 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of Templates: time 0.005346/0.5378, allocations: 2.589 MB / 1.024 GB, free: 13.04 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_SlewRateLimiter.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches