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.298/2.298, allocations: 390.5 MB / 398 MB, free: 10.92 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.00102/0.001021, allocations: 192.7 kB / 491.2 MB, free: 1.57 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.534/1.534, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.001109/0.001109, allocations: 87.84 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.764e-05/1.766e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.307, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.129/1.436, allocations: 149.3 MB / 1.358 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/1.437, allocations: 69.5 kB / 1.358 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01213/1.449, allocations: 2.8 MB / 1.361 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.024e-06/1.449, allocations: 0 / 1.361 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.701e-05/1.449, allocations: 7.844 kB / 1.361 GB, free: 33.01 MB / 0.8386 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.001441/1.45, allocations: 0.5559 MB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/1.45, allocations: 11.69 kB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/1.451, allocations: 15.47 kB / 1.362 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/1.451, allocations: 228.7 kB / 1.362 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/1.451, allocations: 5.188 kB / 1.362 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/1.451, allocations: 7.719 kB / 1.362 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003223/1.451, allocations: 92.75 kB / 1.362 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/1.452, allocations: 119.9 kB / 1.362 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/1.452, allocations: 0 / 1.362 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/1.452, allocations: 0 / 1.362 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/1.452, allocations: 5.766 kB / 1.362 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/1.453, allocations: 0.5894 MB / 1.363 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/1.454, allocations: 128.4 kB / 1.363 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/1.454, allocations: 84.25 kB / 1.363 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-05/1.454, allocations: 4.688 kB / 1.363 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/1.454, allocations: 36.2 kB / 1.363 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 2.154e-06/1.454, allocations: 0 / 1.363 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0004317/1.454, allocations: 143.4 kB / 1.363 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/1.455, allocations: 55.28 kB / 1.363 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/1.455, allocations: 153.6 kB / 1.363 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/1.455, allocations: 25.7 kB / 1.363 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/1.455, allocations: 121.4 kB / 1.363 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.268e-05/1.455, allocations: 59.05 kB / 1.363 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/1.455, allocations: 4 kB / 1.363 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001778/1.455, allocations: 334.5 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/1.455, allocations: 47.62 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/1.455, allocations: 42.81 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/1.456, allocations: 45.98 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.456, allocations: 0 / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003635/1.456, allocations: 152.2 kB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.456, allocations: 3.844 kB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.456, allocations: 0 / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/1.456, allocations: 3.719 kB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/1.457, allocations: 107.1 kB / 1.364 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/1.457, allocations: 0 / 1.364 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/1.457, allocations: 86.16 kB / 1.364 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/1.457, allocations: 3.844 kB / 1.364 GB, free: 31.23 MB / 0.8386 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 0.0001153/1.457, allocations: 101 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/1.457, allocations: 19.39 kB / 1.364 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.728e-05/1.457, allocations: 23.34 kB / 1.364 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/1.457, allocations: 7.812 kB / 1.364 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.016e-06/1.457, allocations: 5.312 kB / 1.364 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.458, allocations: 2.953 kB / 1.364 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/1.458, allocations: 234.1 kB / 1.364 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.458, allocations: 0 / 1.364 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005791/1.458, allocations: 103.6 kB / 1.365 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/1.458, allocations: 0 / 1.365 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/1.459, allocations: 0 / 1.365 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/1.459, allocations: 7.828 kB / 1.365 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.459, allocations: 1.406 kB / 1.365 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000597/1.459, allocations: 331 kB / 1.365 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/1.459, allocations: 93.2 kB / 1.365 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/1.459, allocations: 1.875 kB / 1.365 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004886/1.46, allocations: 73.84 kB / 1.365 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/1.46, allocations: 27.27 kB / 1.365 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/1.46, allocations: 9.906 kB / 1.365 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001515/1.46, allocations: 118.4 kB / 1.365 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.21e-07/1.46, allocations: 3.938 kB / 1.365 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004163/1.461, allocations: 42.66 kB / 1.365 GB, free: 30.57 MB / 0.8386 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.0002068/1.461, allocations: 100.7 kB / 1.365 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003511/1.461, allocations: 122.3 kB / 1.365 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.461, allocations: 0 / 1.365 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/1.461, allocations: 67.66 kB / 1.366 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/1.462, allocations: 32.95 kB / 1.366 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007154/1.462, allocations: 242.3 kB / 1.366 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/1.463, allocations: 0.7313 MB / 1.367 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001501/1.463, allocations: 16.25 kB / 1.367 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.117e-05/1.463, allocations: 19.06 kB / 1.367 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/1.463, allocations: 4 kB / 1.367 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of Templates: time 0.007198/1.47, allocations: 1.859 MB / 1.368 GB, free: 29.53 MB / 0.8386 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