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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002075/0.002075, allocations: 107 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002628/0.002628, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.539/1.539, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.435/3.435, allocations: 0.505 GB / 0.8066 GB, free: 23.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 74.58 kB / 1.172 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3821, allocations: 180.2 MB / 1.348 GB, free: 9.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002502/0.3846, allocations: 1.105 MB / 1.349 GB, free: 8.812 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.386, allocations: 0.995 MB / 1.35 GB, free: 7.805 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.312e-05/0.3861, allocations: 4 kB / 1.35 GB, free: 7.801 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.555e-05/0.3861, allocations: 15.75 kB / 1.35 GB, free: 7.785 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.3863, allocations: 39.66 kB / 1.35 GB, free: 7.746 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.3865, allocations: 67.84 kB / 1.35 GB, free: 7.68 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.3868, allocations: 231.4 kB / 1.35 GB, free: 7.453 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.3869, allocations: 49.06 kB / 1.35 GB, free: 7.402 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.3871, allocations: 103.6 kB / 1.35 GB, free: 7.301 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.3873, allocations: 115.5 kB / 1.35 GB, free: 7.188 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.248e-05/0.3873, allocations: 20 kB / 1.35 GB, free: 7.168 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.208e-05/0.3873, allocations: 16 kB / 1.351 GB, free: 7.152 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.438e-05/0.3874, allocations: 51.81 kB / 1.351 GB, free: 7.102 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.564e-05/0.3875, allocations: 87.47 kB / 1.351 GB, free: 7.016 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.3878, allocations: 215 kB / 1.351 GB, free: 6.805 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3878, allocations: 0 / 1.351 GB, free: 6.805 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3878, allocations: 0 / 1.351 GB, free: 6.805 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.3878, allocations: 0 / 1.351 GB, free: 6.805 MB / 1.045 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.001283/0.3891, allocations: 0.5686 MB / 1.351 GB, free: 6.184 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.3892, allocations: 11.98 kB / 1.351 GB, free: 6.172 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.715e-05/0.3892, allocations: 46.73 kB / 1.351 GB, free: 6.117 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.3893, allocations: 24.8 kB / 1.351 GB, free: 6.094 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.3895, allocations: 228 kB / 1.352 GB, free: 5.832 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.3896, allocations: 16.36 kB / 1.352 GB, free: 5.816 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/0.3896, allocations: 20.36 kB / 1.352 GB, free: 5.797 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000808/0.3904, allocations: 234 kB / 1.352 GB, free: 5.562 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3904, allocations: 3.938 kB / 1.352 GB, free: 5.559 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.3904, allocations: 11.94 kB / 1.352 GB, free: 5.547 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3905, allocations: 4 kB / 1.352 GB, free: 5.543 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.3917, allocations: 295.6 kB / 1.352 GB, free: 5.254 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000797/0.3925, allocations: 492.3 kB / 1.353 GB, free: 4.723 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008256/0.3933, allocations: 238.4 kB / 1.353 GB, free: 4.48 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006911/0.394, allocations: 186.7 kB / 1.353 GB, free: 4.297 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.394, allocations: 0 / 1.353 GB, free: 4.297 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.3941, allocations: 38.47 kB / 1.353 GB, free: 4.25 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 1.032e-06/0.3941, allocations: 0 / 1.353 GB, free: 4.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.002057/0.3961, allocations: 0.4931 MB / 1.354 GB, free: 3.75 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.3962, allocations: 55.34 kB / 1.354 GB, free: 3.684 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.3963, allocations: 175.5 kB / 1.354 GB, free: 3.504 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.3964, allocations: 33.7 kB / 1.354 GB, free: 3.465 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3965, allocations: 132.4 kB / 1.354 GB, free: 3.328 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.398e-05/0.3965, allocations: 59.47 kB / 1.354 GB, free: 3.27 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-05/0.3966, allocations: 37.7 kB / 1.354 GB, free: 3.227 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3968, allocations: 322.8 kB / 1.354 GB, free: 2.902 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/0.3974, allocations: 155.7 kB / 1.355 GB, free: 2.75 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006475/0.3981, allocations: 172.1 kB / 1.355 GB, free: 2.574 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.3993, allocations: 302.2 kB / 1.355 GB, free: 2.277 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3993, allocations: 0 / 1.355 GB, free: 2.277 MB / 1.045 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001341/0.4006, allocations: 365.1 kB / 1.355 GB, free: 1.914 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4006, allocations: 10.34 kB / 1.355 GB, free: 1.906 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.4007, allocations: 3.938 kB / 1.355 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.4007, allocations: 0 / 1.355 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004505/0.4011, allocations: 83.86 kB / 1.355 GB, free: 1.82 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.4011, allocations: 0 / 1.355 GB, free: 1.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/0.4015, allocations: 51.92 kB / 1.356 GB, free: 1.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.4015, allocations: 7.984 kB / 1.356 GB, free: 1.762 MB / 1.045 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.000125/0.4016, allocations: 125.8 kB / 1.356 GB, free: 1.629 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.4017, allocations: 27.86 kB / 1.356 GB, free: 1.602 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.931e-05/0.4017, allocations: 25.81 kB / 1.356 GB, free: 1.574 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.4017, allocations: 0 / 1.356 GB, free: 1.574 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.4017, allocations: 4 kB / 1.356 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4017, allocations: 7.984 kB / 1.356 GB, free: 1.562 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.4021, allocations: 265.5 kB / 1.356 GB, free: 1.254 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4021, allocations: 3.938 kB / 1.356 GB, free: 1.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/0.4025, allocations: 83.84 kB / 1.356 GB, free: 1.168 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.4025, allocations: 4 kB / 1.356 GB, free: 1.164 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.4025, allocations: 3.938 kB / 1.356 GB, free: 1.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4025, allocations: 0 / 1.356 GB, free: 1.16 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4025, allocations: 0 / 1.356 GB, free: 1.16 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/0.4046, allocations: 0.6277 MB / 1.357 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.357e-05/0.4047, allocations: 92.98 kB / 1.357 GB, free: 416 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.4047, allocations: 16 kB / 1.357 GB, free: 400 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/0.4051, allocations: 51.92 kB / 1.357 GB, free: 348 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.438e-05/0.4052, allocations: 27.91 kB / 1.357 GB, free: 320 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.4052, allocations: 0 / 1.357 GB, free: 320 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001231/0.4053, allocations: 135.1 kB / 1.357 GB, free: 184 kB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4053, allocations: 0 / 1.357 GB, free: 184 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002739/0.4056, allocations: 43.95 kB / 1.357 GB, free: 140 kB / 1.045 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.002569/0.4081, allocations: 1.181 MB / 1.358 GB, free: 14.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001376/0.4095, allocations: 317 kB / 1.358 GB, free: 14.62 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.4095, allocations: 0 / 1.358 GB, free: 14.62 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006817/0.4102, allocations: 171.8 kB / 1.359 GB, free: 14.45 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.4107, allocations: 35.95 kB / 1.359 GB, free: 14.42 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005432/0.4161, allocations: 2.524 MB / 1.361 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.4165, allocations: 0.7279 MB / 1.362 GB, free: 11.06 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001102/0.4166, allocations: 17.06 kB / 1.362 GB, free: 11.04 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.4167, allocations: 55.42 kB / 1.362 GB, free: 10.99 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/0.4167, allocations: 0 / 1.362 GB, free: 10.99 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/0.4504, allocations: 4.744 MB / 1.367 GB, free: 6.387 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.358/8.809, allocations: 6.688 kB / 1.367 GB, free: 6.383 MB / 1.061 GB " [Timeout remaining time 291] (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 800 --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) [Timeout 840.0] 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) [Timeout 300] "Error: Could not read variable sleRatLim.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv. Warning: Get data of variable sleRatLim.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.007793111959472]