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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008456/0.0008457, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.004732/0.004732, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.284/1.284, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.515/2.515, allocations: 462.6 MB / 0.7364 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003279, allocations: 10.97 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2693, allocations: 159.6 MB / 1.059 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001112/0.2704, allocations: 0.788 MB / 1.06 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009077/0.2713, allocations: 0.9714 MB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.695e-05/0.2714, allocations: 4 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.2715, allocations: 15.86 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.2716, allocations: 27.72 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.2718, allocations: 63.86 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.272, allocations: 207.5 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.2721, allocations: 68.83 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.79e-05/0.2722, allocations: 75.62 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.2723, allocations: 95.52 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.2724, allocations: 8 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.103e-05/0.2724, allocations: 12 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.256e-05/0.2724, allocations: 31.84 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.299e-05/0.2725, allocations: 105.2 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.2727, allocations: 187.5 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2727, allocations: 4 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2727, allocations: 4 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.2727, allocations: 0 / 1.061 GB, free: 2.137 MB / 0.8106 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.001011/0.2737, allocations: 0.5729 MB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2738, allocations: 15.97 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.2738, allocations: 50.67 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.2739, allocations: 20.66 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.2741, allocations: 231.8 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.2741, allocations: 16.38 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.2741, allocations: 16.31 kB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007596/0.2749, allocations: 286 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2749, allocations: 3.938 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.2749, allocations: 8 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2749, allocations: 0 / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.2761, allocations: 383.7 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.2767, allocations: 0.4885 MB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007595/0.2775, allocations: 303.7 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006404/0.2782, allocations: 241 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.2782, allocations: 11.89 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.2782, allocations: 34.56 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.122e-06/0.2782, allocations: 0 / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.001914/0.2801, allocations: 0.6391 MB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.2802, allocations: 51.41 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.2803, allocations: 176.5 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.2804, allocations: 33.7 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.2804, allocations: 120.4 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.2805, allocations: 59.09 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.2805, allocations: 17.72 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.032e-05/0.2806, allocations: 334.8 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006074/0.2812, allocations: 191.8 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006216/0.2819, allocations: 226.4 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.283, allocations: 394.4 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2831, allocations: 4 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001271/0.2843, allocations: 463.1 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2844, allocations: 4 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2844, allocations: 3.938 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.2844, allocations: 4 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.2848, allocations: 103.9 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2848, allocations: 3.984 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.2851, allocations: 79.86 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.2852, allocations: 8 kB / 1.067 GB, free: 12.38 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.396e-05/0.2853, allocations: 126.3 kB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.2853, allocations: 15.81 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.771e-05/0.2854, allocations: 33.73 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.2854, allocations: 4 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.2854, allocations: 0 / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2854, allocations: 3.984 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.2856, allocations: 273.4 kB / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2856, allocations: 4 kB / 1.067 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/0.286, allocations: 95.92 kB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.286, allocations: 4 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.2861, allocations: 11.94 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2861, allocations: 0 / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2861, allocations: 3.984 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.288, allocations: 0.7657 MB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.2881, allocations: 92.89 kB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.2881, allocations: 12 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.2885, allocations: 75.92 kB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/0.2885, allocations: 35.8 kB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.2886, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.147e-05/0.2886, allocations: 135.3 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2887, allocations: 4 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002419/0.2889, allocations: 32 kB / 1.068 GB, free: 10.58 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.002201/0.2911, allocations: 1.319 MB / 1.07 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.2924, allocations: 427.6 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2924, allocations: 0 / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006381/0.2931, allocations: 223.8 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.2934, allocations: 29.86 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004563/0.298, allocations: 2.822 MB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.2982, allocations: 0.7282 MB / 1.074 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.636e-05/0.2983, allocations: 9.078 kB / 1.074 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.2984, allocations: 59.41 kB / 1.074 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.2985, allocations: 0 / 1.074 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/0.3129, allocations: 3.914 MB / 1.078 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/0.3131, allocations: 212.2 kB / 1.078 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/1.914, allocations: 0 / 1.078 GB, free: 0.8398 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --timeout=50 --tolerance=1e-06 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.mat","/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