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.004733/0.004733, allocations: 95.38 kB / 15.73 MB, free: 6.051 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.001379/0.001379, allocations: 204.8 kB / 16.68 MB, free: 5.973 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.629/2.629, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 71.88 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2604, allocations: 159.1 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001962/0.2624, allocations: 1.099 MB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.2634, allocations: 0.9557 MB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.198e-05/0.2635, allocations: 0 / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.552e-05/0.2636, allocations: 23.73 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.2637, allocations: 39.59 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.2639, allocations: 63.91 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.2641, allocations: 227.4 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.2643, allocations: 76.83 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.2644, allocations: 91.62 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.2645, allocations: 115.5 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.2646, allocations: 16 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.273e-05/0.2646, allocations: 20 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.2646, allocations: 47.83 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.074e-05/0.2647, allocations: 91.45 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.265, allocations: 219 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.265, allocations: 0 / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.265, allocations: 0 / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.265, allocations: 4 kB / 1.223 GB, free: 11.16 MB / 0.9825 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.001046/0.266, allocations: 0.5647 MB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.2661, allocations: 12.02 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/0.2661, allocations: 42.75 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.2662, allocations: 24.8 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.2664, allocations: 228 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.2664, allocations: 8.375 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.2664, allocations: 16.38 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007235/0.2672, allocations: 246.5 kB / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2672, allocations: 3.938 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.2672, allocations: 8 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.2672, allocations: 3.938 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.2683, allocations: 303.6 kB / 1.225 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006119/0.2689, allocations: 492.3 kB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007232/0.2697, allocations: 246.3 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006095/0.2703, allocations: 194.7 kB / 1.226 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.2703, allocations: 7.906 kB / 1.226 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.2704, allocations: 30.56 kB / 1.226 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.2704, allocations: 0 / 1.226 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.001792/0.2722, allocations: 0.4932 MB / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.2722, allocations: 55.41 kB / 1.226 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.2724, allocations: 179.2 kB / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.2724, allocations: 25.7 kB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.791e-05/0.2725, allocations: 132.3 kB / 1.226 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.2725, allocations: 63.48 kB / 1.226 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/0.2726, allocations: 41.55 kB / 1.227 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.2727, allocations: 326.8 kB / 1.227 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005654/0.2733, allocations: 151.8 kB / 1.227 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000576/0.2739, allocations: 176.4 kB / 1.227 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.275, allocations: 302.9 kB / 1.227 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.275, allocations: 0 / 1.227 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001191/0.2762, allocations: 357.2 kB / 1.228 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.2762, allocations: 4 kB / 1.228 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2762, allocations: 3.938 kB / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2762, allocations: 11.98 kB / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/0.2766, allocations: 71.86 kB / 1.228 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.2766, allocations: 0 / 1.228 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.2769, allocations: 67.81 kB / 1.228 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.2769, allocations: 4 kB / 1.228 GB, free: 6.098 MB / 0.9825 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.0001034/0.277, allocations: 129.8 kB / 1.228 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.2771, allocations: 15.91 kB / 1.228 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.2771, allocations: 25.81 kB / 1.228 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2771, allocations: 4 kB / 1.228 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2771, allocations: 0 / 1.228 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2772, allocations: 7.969 kB / 1.228 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.2774, allocations: 273.4 kB / 1.228 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2774, allocations: 4 kB / 1.228 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/0.2778, allocations: 75.91 kB / 1.228 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2778, allocations: 3.938 kB / 1.228 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.2778, allocations: 3.938 kB / 1.228 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.2778, allocations: 4 kB / 1.228 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2779, allocations: 0 / 1.228 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.2797, allocations: 0.6376 MB / 1.229 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.2798, allocations: 92.95 kB / 1.229 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.2798, allocations: 3.938 kB / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.2801, allocations: 51.92 kB / 1.229 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.283e-05/0.2802, allocations: 23.97 kB / 1.229 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.2802, allocations: 8.062 kB / 1.229 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.705e-05/0.2803, allocations: 132.3 kB / 1.229 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2803, allocations: 0 / 1.229 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002385/0.2806, allocations: 43.89 kB / 1.229 GB, free: 4.484 MB / 0.9825 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.002148/0.2827, allocations: 1.175 MB / 1.231 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.2839, allocations: 335.6 kB / 1.231 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2839, allocations: 0 / 1.231 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000605/0.2845, allocations: 171.8 kB / 1.231 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.2849, allocations: 42.3 kB / 1.231 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/0.2893, allocations: 2.53 MB / 1.234 GB, free: 140 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.2896, allocations: 0.7279 MB / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.142e-05/0.2897, allocations: 13.08 kB / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.2898, allocations: 63.42 kB / 1.234 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.2899, allocations: 0 / 1.234 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1257/0.4155, allocations: 4.69 MB / 1.239 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/13.86, allocations: 6.953 kB / 1.239 GB, free: 10.75 MB / 0.9981 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