Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00226/0.00226, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002446/0.002446, allocations: 210.5 kB / 23.04 MB, free: 5.074 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.219/3.219, allocations: 0.49 GB / 0.7959 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="cs",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.002051/0.002051, allocations: 66.81 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3635, allocations: 176.1 MB / 1.327 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002588/0.3661, allocations: 1.106 MB / 1.328 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.3675, allocations: 1.011 MB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.858e-05/0.3676, allocations: 0 / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.063e-05/0.3677, allocations: 19.73 kB / 1.329 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.3678, allocations: 47.59 kB / 1.329 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.368, allocations: 63.91 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.3684, allocations: 223.4 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.3686, allocations: 57.42 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.3687, allocations: 95.62 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.3689, allocations: 111.6 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.3689, allocations: 20 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.916e-05/0.369, allocations: 16 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.369, allocations: 51.84 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.3691, allocations: 95.44 kB / 1.33 GB, free: 15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.3694, allocations: 211 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.3694, allocations: 0 / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3694, allocations: 0 / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3694, allocations: 3.938 kB / 1.33 GB, free: 14.79 MB / 1.029 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.001405/0.3708, allocations: 0.4933 MB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.3709, allocations: 12.03 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.352e-05/0.3709, allocations: 192 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.281e-05/0.3709, allocations: 50.73 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.371, allocations: 20.8 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.3712, allocations: 174.1 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3712, allocations: 16.38 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.3713, allocations: 12.38 kB / 1.331 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007849/0.3721, allocations: 250.2 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.3721, allocations: 4 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.3721, allocations: 7.938 kB / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.3721, allocations: 4 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.3732, allocations: 287.7 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007531/0.374, allocations: 459.5 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007854/0.3748, allocations: 238.3 kB / 1.332 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006521/0.3754, allocations: 180.7 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.3755, allocations: 4 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.3755, allocations: 38.55 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.3755, allocations: 0 / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.001957/0.3775, allocations: 0.4991 MB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.3775, allocations: 55.41 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.3777, allocations: 174.3 kB / 1.333 GB, free: 11.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.3777, allocations: 29.7 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.3778, allocations: 128.4 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.483e-05/0.3779, allocations: 67.41 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.993e-05/0.3779, allocations: 33.7 kB / 1.333 GB, free: 11.42 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002181/0.3782, allocations: 330.8 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007021/0.3789, allocations: 143.8 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006254/0.3795, allocations: 180.5 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.3806, allocations: 300.6 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3806, allocations: 0 / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001242/0.3819, allocations: 362.9 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3819, allocations: 11.94 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3819, allocations: 0 / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3819, allocations: 0 / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/0.3823, allocations: 87.78 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3823, allocations: 0 / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.3826, allocations: 59.81 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.3827, allocations: 8 kB / 1.334 GB, free: 9.941 MB / 1.029 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.0001336/0.3828, allocations: 125.8 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.3828, allocations: 19.84 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.471e-05/0.3829, allocations: 29.8 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3829, allocations: 0 / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3829, allocations: 0 / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3829, allocations: 0 / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.3832, allocations: 244.5 kB / 1.335 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3832, allocations: 0 / 1.335 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.3837, allocations: 71.91 kB / 1.335 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.3837, allocations: 11.94 kB / 1.335 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.3837, allocations: 4 kB / 1.335 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3837, allocations: 0 / 1.335 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3837, allocations: 0 / 1.335 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.3859, allocations: 0.6368 MB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.3859, allocations: 19.86 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.3859, allocations: 7.938 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.3862, allocations: 55.98 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/0.3863, allocations: 23.95 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.3863, allocations: 8 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001191/0.3865, allocations: 127.1 kB / 1.336 GB, free: 8.496 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3865, allocations: 0 / 1.336 GB, free: 8.496 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002752/0.3867, allocations: 43.94 kB / 1.336 GB, free: 8.453 MB / 1.029 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.00258/0.3893, allocations: 1.171 MB / 1.337 GB, free: 7.254 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001358/0.3907, allocations: 323.7 kB / 1.337 GB, free: 6.938 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3907, allocations: 0 / 1.337 GB, free: 6.938 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006176/0.3913, allocations: 173.2 kB / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.3918, allocations: 35.97 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005683/0.3974, allocations: 2.52 MB / 1.34 GB, free: 4.137 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/0.398, allocations: 0.7279 MB / 1.34 GB, free: 3.383 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.698e-05/0.3981, allocations: 9.078 kB / 1.34 GB, free: 3.375 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.3983, allocations: 63.42 kB / 1.341 GB, free: 3.312 MB / 1.029 GB Notification: Performance of SimCode: time 7.92e-07/0.3983, allocations: 0 / 1.341 GB, free: 3.312 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03184/0.4302, allocations: 4.922 MB / 1.345 GB, free: 14.57 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.97, allocations: 6.406 kB / 1.345 GB, free: 14.57 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --stepSize=0.192 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.81057931203395]