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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.008966/0.008967, allocations: 98.91 kB / 15.73 MB, free: 5.988 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.001907/0.001907, allocations: 193.9 kB / 16.67 MB, free: 5.918 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.564/2.564, allocations: 482.6 MB / 0.7551 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 66.69 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2725, allocations: 162.3 MB / 1.242 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002214/0.2748, allocations: 1.098 MB / 1.243 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.2761, allocations: 0.9611 MB / 1.244 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.59e-05/0.2762, allocations: 4 kB / 1.244 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.282e-05/0.2762, allocations: 23.67 kB / 1.244 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.2764, allocations: 35.59 kB / 1.244 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.2766, allocations: 71.83 kB / 1.244 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.2769, allocations: 223.4 kB / 1.244 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.277, allocations: 72.83 kB / 1.244 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.2772, allocations: 95.69 kB / 1.244 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.2773, allocations: 111.5 kB / 1.245 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.868e-05/0.2774, allocations: 23.94 kB / 1.245 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.397e-05/0.2774, allocations: 20 kB / 1.245 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.2775, allocations: 39.89 kB / 1.245 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.067e-05/0.2776, allocations: 95.45 kB / 1.245 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.2778, allocations: 223.2 kB / 1.245 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2779, allocations: 0 / 1.245 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2779, allocations: 4 kB / 1.245 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2779, allocations: 0 / 1.245 GB, free: 5.754 MB / 0.9669 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.001103/0.279, allocations: 0.5686 MB / 1.245 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.279, allocations: 8.031 kB / 1.245 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.969e-05/0.2791, allocations: 46.73 kB / 1.246 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.2791, allocations: 24.8 kB / 1.246 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.2794, allocations: 224 kB / 1.246 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.2794, allocations: 8.375 kB / 1.246 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.2794, allocations: 20.38 kB / 1.246 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007499/0.2802, allocations: 234.5 kB / 1.246 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2802, allocations: 3.938 kB / 1.246 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.2802, allocations: 7.984 kB / 1.246 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2802, allocations: 4 kB / 1.246 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.2814, allocations: 295.7 kB / 1.246 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006559/0.282, allocations: 0.4924 MB / 1.247 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007433/0.2828, allocations: 252.2 kB / 1.247 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006208/0.2834, allocations: 188.7 kB / 1.247 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.2834, allocations: 4 kB / 1.247 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.2835, allocations: 38.55 kB / 1.247 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.2835, allocations: 0 / 1.247 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17): time 0.001867/0.2853, allocations: 0.5012 MB / 1.248 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.2854, allocations: 55.41 kB / 1.248 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.2855, allocations: 173.7 kB / 1.248 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.2856, allocations: 29.7 kB / 1.248 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.626e-05/0.2857, allocations: 124.4 kB / 1.248 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/0.2857, allocations: 59.48 kB / 1.248 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.807e-05/0.2858, allocations: 29.7 kB / 1.248 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2859, allocations: 326.8 kB / 1.249 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005865/0.2865, allocations: 151.8 kB / 1.249 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/0.2871, allocations: 172 kB / 1.249 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.2883, allocations: 314.6 kB / 1.249 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2883, allocations: 3.938 kB / 1.249 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001219/0.2895, allocations: 361.2 kB / 1.249 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2895, allocations: 4 kB / 1.249 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2896, allocations: 3.938 kB / 1.249 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2896, allocations: 8 kB / 1.249 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.29, allocations: 75.91 kB / 1.25 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.29, allocations: 0 / 1.25 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.2903, allocations: 59.92 kB / 1.25 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.2903, allocations: 4 kB / 1.25 GB, free: 0.707 MB / 0.9669 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.0001044/0.2904, allocations: 121.8 kB / 1.25 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.2904, allocations: 19.86 kB / 1.25 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.2905, allocations: 29.8 kB / 1.25 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2905, allocations: 4 kB / 1.25 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2905, allocations: 0 / 1.25 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2905, allocations: 0 / 1.25 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.2908, allocations: 269.5 kB / 1.25 GB, free: 220 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2908, allocations: 8 kB / 1.25 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003836/0.2912, allocations: 75.84 kB / 1.25 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2912, allocations: 0 / 1.25 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.2912, allocations: 7.938 kB / 1.25 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2912, allocations: 4 kB / 1.25 GB, free: 124 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2912, allocations: 0 / 1.25 GB, free: 124 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.2932, allocations: 0.6299 MB / 1.251 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.2932, allocations: 96.98 kB / 1.251 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.2933, allocations: 7.938 kB / 1.251 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.2936, allocations: 47.92 kB / 1.251 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.963e-05/0.2937, allocations: 28.03 kB / 1.251 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.2937, allocations: 12 kB / 1.251 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.918e-05/0.2938, allocations: 135.2 kB / 1.251 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2938, allocations: 0 / 1.251 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002448/0.2941, allocations: 39.95 kB / 1.251 GB, free: 15.1 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.002219/0.2963, allocations: 1.175 MB / 1.252 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00123/0.2975, allocations: 331.6 kB / 1.253 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2975, allocations: 0 / 1.253 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006058/0.2981, allocations: 171.8 kB / 1.253 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.2985, allocations: 41.33 kB / 1.253 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00461/0.3031, allocations: 2.527 MB / 1.255 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.3035, allocations: 0.7279 MB / 1.256 GB, free: 10 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.851e-05/0.3036, allocations: 13.08 kB / 1.256 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.3037, allocations: 55.42 kB / 1.256 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3037, allocations: 4 kB / 1.256 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.611/1.914, allocations: 4.714 MB / 1.261 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/12.86, allocations: 11.44 kB / 1.261 GB, free: 5.352 MB / 0.9825 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=400 --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