Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_11_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.001542/0.001542, allocations: 108 kB / 15.6 MB, free: 132 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.001425/0.001425, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.411/1.411, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.653/2.653, allocations: 469.8 MB / 0.7424 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 70.34 kB / 0.9087 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.259, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002359/0.2614, allocations: 1.103 MB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.2625, allocations: 0.9675 MB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.2626, allocations: 7.875 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.95e-05/0.2627, allocations: 15.75 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.2628, allocations: 39.64 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.263, allocations: 67.84 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.2633, allocations: 223.4 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.2635, allocations: 65.41 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.2636, allocations: 95.72 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.2637, allocations: 115.5 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.2638, allocations: 20 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.414e-05/0.2638, allocations: 20 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.2639, allocations: 47.83 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.765e-05/0.2639, allocations: 91.47 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.2642, allocations: 211.5 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2642, allocations: 0 / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2642, allocations: 0 / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2642, allocations: 0 / 1.067 GB, free: 11.08 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.0011/0.2653, allocations: 0.5648 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.2653, allocations: 11.97 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.361e-05/0.2654, allocations: 50.73 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.2654, allocations: 16.75 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.2657, allocations: 227.8 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.2657, allocations: 12.38 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.2657, allocations: 12.38 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007309/0.2665, allocations: 238.5 kB / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.2665, allocations: 3.938 kB / 1.068 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.2665, allocations: 8 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2665, allocations: 4 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.2676, allocations: 295.6 kB / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006414/0.2683, allocations: 0.4962 MB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000727/0.269, allocations: 242.4 kB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000618/0.2697, allocations: 194.4 kB / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.2697, allocations: 0 / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.2697, allocations: 42.56 kB / 1.069 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.012e-06/0.2697, allocations: 3.938 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.001831/0.2716, allocations: 0.4952 MB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.2716, allocations: 51.41 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.2718, allocations: 175.2 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.2718, allocations: 33.7 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.545e-05/0.2719, allocations: 128.3 kB / 1.07 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.272, allocations: 59.11 kB / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/0.272, allocations: 33.7 kB / 1.07 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2722, allocations: 326.8 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005766/0.2727, allocations: 147.8 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005903/0.2733, allocations: 175.8 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.2745, allocations: 298.2 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2745, allocations: 0 / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001233/0.2757, allocations: 369.1 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.2757, allocations: 4 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2757, allocations: 3.938 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.2758, allocations: 0 / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.2761, allocations: 75.86 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.2762, allocations: 0 / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.2765, allocations: 67.77 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.2765, allocations: 11.92 kB / 1.072 GB, free: 6.031 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 0.0001158/0.2766, allocations: 121.8 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.2767, allocations: 15.81 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.2767, allocations: 25.81 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2767, allocations: 8 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.2767, allocations: 3.938 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2767, allocations: 3.984 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.277, allocations: 269.4 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.277, allocations: 0 / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/0.2774, allocations: 79.84 kB / 1.072 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2774, allocations: 0 / 1.072 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.2775, allocations: 15.94 kB / 1.072 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2775, allocations: 0 / 1.072 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2775, allocations: 0 / 1.072 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.2793, allocations: 0.6252 MB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.2794, allocations: 92.89 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.2794, allocations: 7.938 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.2797, allocations: 55.98 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.2798, allocations: 27.91 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.2798, allocations: 4 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001005/0.2799, allocations: 136.3 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.28, allocations: 0 / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002482/0.2802, allocations: 35.91 kB / 1.073 GB, free: 4.43 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.002186/0.2824, allocations: 1.178 MB / 1.074 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0012/0.2836, allocations: 337.1 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2836, allocations: 4 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005835/0.2842, allocations: 163.8 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.2846, allocations: 35.97 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/0.2891, allocations: 2.514 MB / 1.077 GB, free: 104 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.2894, allocations: 0.7279 MB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.256e-05/0.2895, allocations: 17.03 kB / 1.078 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.2896, allocations: 59.41 kB / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.2896, allocations: 0 / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8752/1.165, allocations: 4.64 MB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/13.37, allocations: 14.55 kB / 1.083 GB, free: 10.72 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches