Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_latest_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.001673/0.001673, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.623/2.623, allocations: 469.4 MB / 0.742 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.39 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2457, allocations: 159.1 MB / 1.064 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002205/0.2479, allocations: 1.106 MB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.249, allocations: 0.9651 MB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.472e-05/0.2491, allocations: 4 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.597e-05/0.2492, allocations: 19.73 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.2494, allocations: 35.66 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.2496, allocations: 71.78 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.2498, allocations: 219.5 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.25, allocations: 76.81 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.2501, allocations: 99.62 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.2503, allocations: 103.5 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.807e-05/0.2503, allocations: 20 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.254e-05/0.2503, allocations: 20 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.626e-05/0.2504, allocations: 47.83 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.059e-05/0.2505, allocations: 91.45 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.2507, allocations: 211.5 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2507, allocations: 0 / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.582e-06/0.2507, allocations: 0 / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2507, allocations: 0 / 1.067 GB, free: 11.34 MB / 0.8262 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.001122/0.2519, allocations: 0.561 MB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.2519, allocations: 8.031 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.271e-05/0.252, allocations: 50.73 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.252, allocations: 20.75 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.2522, allocations: 232.3 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.2522, allocations: 12.38 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.2523, allocations: 16.38 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000752/0.253, allocations: 242.5 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2531, allocations: 3.938 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.2531, allocations: 4 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.2531, allocations: 4 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.2543, allocations: 291.7 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006617/0.2549, allocations: 0.4924 MB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007514/0.2557, allocations: 246.4 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006361/0.2563, allocations: 192.6 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.2564, allocations: 4 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.2564, allocations: 34.56 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.2564, allocations: 0 / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.001942/0.2584, allocations: 0.4989 MB / 1.069 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.2584, allocations: 55.41 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.2586, allocations: 174.9 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.2586, allocations: 29.7 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.2587, allocations: 132.3 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.314e-05/0.2587, allocations: 63.09 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/0.2588, allocations: 33.7 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.2589, allocations: 326.8 kB / 1.07 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006102/0.2595, allocations: 151.8 kB / 1.07 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006161/0.2601, allocations: 176.4 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.2613, allocations: 292.6 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2613, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001268/0.2626, allocations: 367.1 kB / 1.071 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.2626, allocations: 8 kB / 1.071 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.2626, allocations: 3.938 kB / 1.071 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.2626, allocations: 0 / 1.071 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/0.263, allocations: 83.84 kB / 1.071 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.263, allocations: 4 kB / 1.071 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.2634, allocations: 55.77 kB / 1.071 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.2634, allocations: 8 kB / 1.071 GB, free: 6.293 MB / 0.8262 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 9.613e-05/0.2635, allocations: 121.8 kB / 1.071 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.2635, allocations: 19.81 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.2636, allocations: 33.73 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2636, allocations: 3.938 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.2636, allocations: 0 / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2636, allocations: 3.984 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.2639, allocations: 273.4 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2639, allocations: 0 / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/0.2643, allocations: 75.91 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2643, allocations: 0 / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.2643, allocations: 11.94 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.2643, allocations: 0 / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2643, allocations: 0 / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.2663, allocations: 0.629 MB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.463e-05/0.2663, allocations: 92.89 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.2664, allocations: 7.938 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.2667, allocations: 55.98 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.353e-05/0.2668, allocations: 23.97 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.2668, allocations: 8 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.963e-05/0.2669, allocations: 132.3 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2669, allocations: 0 / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002739/0.2672, allocations: 39.91 kB / 1.073 GB, free: 4.688 MB / 0.8262 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.002177/0.2694, allocations: 1.183 MB / 1.074 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001267/0.2707, allocations: 335.6 kB / 1.074 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2707, allocations: 0 / 1.074 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006218/0.2713, allocations: 175.8 kB / 1.074 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.2717, allocations: 30.17 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/0.2764, allocations: 2.516 MB / 1.077 GB, free: 360 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.2767, allocations: 0.7279 MB / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.37e-05/0.2768, allocations: 5.094 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.2769, allocations: 63.41 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.2769, allocations: 0 / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.2981, allocations: 4.651 MB / 1.082 GB, free: 11 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.247/7.545, allocations: 4.062 kB / 1.082 GB, free: 11 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches