Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008061/0.008061, allocations: 99.81 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002148/0.002148, allocations: 192.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.44/2.44, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.89 kB / 1.018 GB, free: 9.816 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7338/0.7351, allocations: 151.6 MB / 1.166 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002274/0.7374, allocations: 1.098 MB / 1.167 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.7387, allocations: 0.9675 MB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.7388, allocations: 4 kB / 1.168 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.967e-05/0.7389, allocations: 19.73 kB / 1.168 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.7391, allocations: 43.59 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.7393, allocations: 59.91 kB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.7396, allocations: 239.3 kB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.7397, allocations: 64.84 kB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.7399, allocations: 95.66 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.74, allocations: 111.5 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.7401, allocations: 16 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.309e-05/0.7401, allocations: 20 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/0.7402, allocations: 47.78 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.7e-05/0.7403, allocations: 95.45 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.7405, allocations: 214.8 kB / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7405, allocations: 0 / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7406, allocations: 0 / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.7406, allocations: 0 / 1.169 GB, free: 0.6367 MB / 0.8887 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.001159/0.7417, allocations: 0.5725 MB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.7418, allocations: 12.86 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.389e-05/0.7418, allocations: 42.75 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.7419, allocations: 28.78 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.7421, allocations: 216.7 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.7422, allocations: 12.31 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.7422, allocations: 16.38 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007537/0.743, allocations: 242 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.743, allocations: 3.938 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.743, allocations: 8 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.743, allocations: 4 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.7441, allocations: 295.6 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006559/0.7448, allocations: 0.4886 MB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007353/0.7455, allocations: 250.3 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007541/0.7463, allocations: 192.6 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.7464, allocations: 4 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.7464, allocations: 34.56 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=17): time 1.793e-06/0.7464, allocations: 3.938 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17): time 0.002087/0.7485, allocations: 0.4959 MB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.7485, allocations: 59.34 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.7487, allocations: 183.3 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.7487, allocations: 29.7 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/0.7488, allocations: 128.4 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.7489, allocations: 55.55 kB / 1.172 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/0.7489, allocations: 37.7 kB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.7491, allocations: 326.8 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005802/0.7497, allocations: 147.8 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006729/0.7503, allocations: 174.4 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.7515, allocations: 303.1 kB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7515, allocations: 0 / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001228/0.7527, allocations: 365.1 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.7528, allocations: 7.984 kB / 1.174 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.7528, allocations: 3.938 kB / 1.174 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.7528, allocations: 4 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.7532, allocations: 71.92 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.7532, allocations: 0 / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.7535, allocations: 67.81 kB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.7536, allocations: 4 kB / 1.174 GB, free: 11.57 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.7537, allocations: 129.8 kB / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.7537, allocations: 11.91 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.734e-05/0.7538, allocations: 25.81 kB / 1.174 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.7538, allocations: 8 kB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7538, allocations: 0 / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.7538, allocations: 7.969 kB / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.7541, allocations: 277.4 kB / 1.174 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7541, allocations: 0 / 1.174 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.7545, allocations: 71.91 kB / 1.174 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.7545, allocations: 3.938 kB / 1.174 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.7545, allocations: 15.94 kB / 1.174 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.7546, allocations: 0 / 1.174 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7546, allocations: 0 / 1.174 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.7564, allocations: 0.6299 MB / 1.175 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.7565, allocations: 89.05 kB / 1.175 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.7565, allocations: 7.938 kB / 1.175 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.7569, allocations: 55.98 kB / 1.175 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.757, allocations: 23.97 kB / 1.175 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.757, allocations: 8 kB / 1.175 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.608e-05/0.7571, allocations: 128.4 kB / 1.175 GB, free: 10 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7571, allocations: 0 / 1.175 GB, free: 10 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002717/0.7574, allocations: 51.83 kB / 1.175 GB, free: 9.953 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002198/0.7596, allocations: 1.179 MB / 1.177 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001222/0.7608, allocations: 319.7 kB / 1.177 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7608, allocations: 4 kB / 1.177 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006504/0.7615, allocations: 171.8 kB / 1.177 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.7619, allocations: 34.47 kB / 1.177 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.7665, allocations: 2.526 MB / 1.18 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.7667, allocations: 0.724 MB / 1.18 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.698e-05/0.7669, allocations: 17.08 kB / 1.18 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.767, allocations: 55.42 kB / 1.18 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of SimCode: time 4.2e-07/0.767, allocations: 0 / 1.18 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.7897, allocations: 4.719 MB / 1.185 GB, free: 212 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/8.432, allocations: 10.97 kB / 1.185 GB, free: 204 kB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv --start-time 0 --stop-time 480 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.192 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches