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.22/2.22, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.0009878/0.0009878, allocations: 184.9 kB / 487.4 MB, free: 5.035 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.639/1.639, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 105.5 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.91e-05, allocations: 12 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3137, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9442/1.258, allocations: 148.5 MB / 1.351 GB, free: 18.55 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/1.258, allocations: 72.5 kB / 1.351 GB, free: 18.54 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008817/1.267, allocations: 2.79 MB / 1.354 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.914e-06/1.267, allocations: 0 / 1.354 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.052e-05/1.267, allocations: 3.875 kB / 1.354 GB, free: 34.08 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.0009919/1.268, allocations: 0.558 MB / 1.354 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.268, allocations: 7.531 kB / 1.354 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.827e-05/1.268, allocations: 27.34 kB / 1.354 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/1.269, allocations: 216.9 kB / 1.355 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/1.269, allocations: 5.141 kB / 1.355 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/1.269, allocations: 11.19 kB / 1.355 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001909/1.269, allocations: 91.92 kB / 1.355 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/1.269, allocations: 112.9 kB / 1.355 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.269, allocations: 3.875 kB / 1.355 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/1.269, allocations: 0.6562 kB / 1.355 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/1.269, allocations: 3.875 kB / 1.355 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/1.27, allocations: 0.5915 MB / 1.355 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/1.271, allocations: 145.2 kB / 1.356 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/1.271, allocations: 84.56 kB / 1.356 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/1.271, allocations: 0.7031 kB / 1.356 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/1.271, allocations: 37.12 kB / 1.356 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/1.271, allocations: 3.969 kB / 1.356 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.000335/1.271, allocations: 139.5 kB / 1.356 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/1.271, allocations: 55.38 kB / 1.356 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/1.271, allocations: 152.6 kB / 1.356 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/1.271, allocations: 30.39 kB / 1.356 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/1.271, allocations: 122.1 kB / 1.356 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/1.271, allocations: 60.34 kB / 1.356 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/1.271, allocations: 0 / 1.356 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.272, allocations: 327.3 kB / 1.357 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.591e-05/1.272, allocations: 43.66 kB / 1.357 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.175e-05/1.272, allocations: 45.55 kB / 1.357 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.11e-05/1.272, allocations: 45.09 kB / 1.357 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.272, allocations: 5.078 kB / 1.357 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002033/1.272, allocations: 142.4 kB / 1.357 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/1.272, allocations: 12.45 kB / 1.357 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.272, allocations: 0 / 1.357 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/1.272, allocations: 0 / 1.357 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/1.273, allocations: 108.2 kB / 1.357 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/1.273, allocations: 3.984 kB / 1.357 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/1.273, allocations: 82.12 kB / 1.357 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/1.273, allocations: 5.391 kB / 1.357 GB, free: 32.31 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 9.247e-05/1.273, allocations: 107 kB / 1.357 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/1.273, allocations: 18.56 kB / 1.357 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.957e-05/1.273, allocations: 23.14 kB / 1.357 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/1.273, allocations: 0 / 1.357 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.273, allocations: 4.875 kB / 1.357 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/1.273, allocations: 0.8438 kB / 1.357 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/1.273, allocations: 234.7 kB / 1.357 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.273, allocations: 0.6094 kB / 1.357 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/1.274, allocations: 104.5 kB / 1.357 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/1.274, allocations: 7.844 kB / 1.357 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/1.274, allocations: 0.75 kB / 1.357 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.274, allocations: 0 / 1.357 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.274, allocations: 7.891 kB / 1.357 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/1.274, allocations: 325.1 kB / 1.358 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/1.274, allocations: 93.5 kB / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/1.274, allocations: 4.609 kB / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/1.275, allocations: 72.31 kB / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.768e-05/1.275, allocations: 43.66 kB / 1.358 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/1.275, allocations: 7.953 kB / 1.358 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.233e-05/1.275, allocations: 124.1 kB / 1.358 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.275, allocations: 0 / 1.358 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002592/1.275, allocations: 38.22 kB / 1.358 GB, free: 31.64 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.0001434/1.275, allocations: 100.2 kB / 1.358 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002151/1.276, allocations: 117.3 kB / 1.358 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.276, allocations: 4 kB / 1.358 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/1.276, allocations: 78.09 kB / 1.358 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/1.276, allocations: 20.77 kB / 1.358 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/1.276, allocations: 245.5 kB / 1.359 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/1.277, allocations: 0.7267 MB / 1.359 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001039/1.277, allocations: 16.38 kB / 1.359 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/1.277, allocations: 15.03 kB / 1.359 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of SimCode: time 6.12e-07/1.277, allocations: 0 / 1.359 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of Templates: time 0.003818/1.281, allocations: 1.858 MB / 1.361 GB, free: 30.6 MB / 0.8386 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