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.004711/0.004711, allocations: 101.9 kB / 15.73 MB, free: 6.449 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.001272/0.001272, allocations: 199.5 kB / 16.68 MB, free: 6.352 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.942/2.942, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 68.12 kB / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2966, allocations: 162.2 MB / 1.242 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002225/0.2989, allocations: 1.099 MB / 1.243 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.3001, allocations: 0.9596 MB / 1.244 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.974e-05/0.3001, allocations: 4 kB / 1.244 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.713e-05/0.3002, allocations: 19.69 kB / 1.244 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.3003, allocations: 47.52 kB / 1.244 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.3006, allocations: 63.86 kB / 1.244 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000258/0.3008, allocations: 223.4 kB / 1.244 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.301, allocations: 64.84 kB / 1.244 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.3011, allocations: 103.7 kB / 1.244 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.3013, allocations: 107.5 kB / 1.244 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.256e-05/0.3013, allocations: 20 kB / 1.244 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.558e-05/0.3014, allocations: 23.94 kB / 1.244 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.3014, allocations: 47.83 kB / 1.244 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.107e-05/0.3015, allocations: 91.47 kB / 1.244 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.3018, allocations: 215.1 kB / 1.245 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3018, allocations: 0 / 1.245 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3018, allocations: 3.938 kB / 1.245 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.3018, allocations: 0 / 1.245 GB, free: 7.059 MB / 0.9981 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.001183/0.303, allocations: 0.5725 MB / 1.245 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.303, allocations: 8.031 kB / 1.245 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.465e-05/0.3031, allocations: 46.73 kB / 1.245 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.3031, allocations: 24.8 kB / 1.245 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.3034, allocations: 228 kB / 1.245 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.3034, allocations: 8.375 kB / 1.245 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.3035, allocations: 16.38 kB / 1.245 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008116/0.3043, allocations: 238.5 kB / 1.246 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3043, allocations: 7.875 kB / 1.246 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.3043, allocations: 4 kB / 1.246 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3043, allocations: 7.984 kB / 1.246 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.3056, allocations: 287.7 kB / 1.246 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007402/0.3063, allocations: 0.4925 MB / 1.246 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008024/0.3072, allocations: 246.3 kB / 1.247 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006799/0.3078, allocations: 192.7 kB / 1.247 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.3079, allocations: 0 / 1.247 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.3079, allocations: 38.56 kB / 1.247 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.042e-06/0.3079, allocations: 0 / 1.247 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.002021/0.3099, allocations: 0.4994 MB / 1.247 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.31, allocations: 51.41 kB / 1.247 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.3102, allocations: 175.5 kB / 1.248 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.3102, allocations: 37.7 kB / 1.248 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/0.3103, allocations: 132.3 kB / 1.248 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.747e-05/0.3104, allocations: 51.55 kB / 1.248 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.31e-05/0.3104, allocations: 33.7 kB / 1.248 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3106, allocations: 326.8 kB / 1.248 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006357/0.3112, allocations: 147.8 kB / 1.248 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006566/0.3119, allocations: 178.3 kB / 1.248 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.3131, allocations: 298.8 kB / 1.249 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3132, allocations: 4 kB / 1.249 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001323/0.3145, allocations: 372 kB / 1.249 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3145, allocations: 4 kB / 1.249 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3145, allocations: 3.938 kB / 1.249 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3145, allocations: 0 / 1.249 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004328/0.315, allocations: 83.91 kB / 1.249 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.315, allocations: 0 / 1.249 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/0.3153, allocations: 59.81 kB / 1.249 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.3153, allocations: 8 kB / 1.249 GB, free: 2 MB / 0.9981 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.0001214/0.3155, allocations: 125.8 kB / 1.249 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.3155, allocations: 15.91 kB / 1.249 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.673e-05/0.3156, allocations: 25.81 kB / 1.249 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.3156, allocations: 7.984 kB / 1.249 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3156, allocations: 0 / 1.249 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.3156, allocations: 0 / 1.249 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.3159, allocations: 277.3 kB / 1.25 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.316, allocations: 0 / 1.25 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/0.3164, allocations: 79.91 kB / 1.25 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3164, allocations: 0 / 1.25 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.3164, allocations: 11.94 kB / 1.25 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3164, allocations: 0 / 1.25 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/0.3164, allocations: 7.938 kB / 1.25 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.3185, allocations: 0.62 MB / 1.25 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.3186, allocations: 89.05 kB / 1.25 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.3186, allocations: 12 kB / 1.25 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/0.319, allocations: 51.92 kB / 1.251 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.521e-05/0.319, allocations: 23.97 kB / 1.251 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.3191, allocations: 8 kB / 1.251 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001061/0.3192, allocations: 131.1 kB / 1.251 GB, free: 444 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3192, allocations: 0 / 1.251 GB, free: 444 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000276/0.3195, allocations: 47.89 kB / 1.251 GB, free: 396 kB / 0.9981 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.4988/0.8183, allocations: 1.166 MB / 1.252 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.8197, allocations: 329.5 kB / 1.252 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8197, allocations: 0.875 kB / 1.252 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006565/0.8203, allocations: 173.5 kB / 1.252 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.8208, allocations: 37.52 kB / 1.252 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004596/0.8254, allocations: 2.525 MB / 1.255 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.8256, allocations: 0.7243 MB / 1.256 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000102/0.8257, allocations: 15.78 kB / 1.256 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.8258, allocations: 61.8 kB / 1.256 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.8258, allocations: 0.75 kB / 1.256 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/0.8537, allocations: 4.706 MB / 1.26 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.746, allocations: 10.28 kB / 1.26 GB, free: 12.39 MB / 0.9981 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 400 --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