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.001591/0.001591, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002068/0.002068, allocations: 220.8 kB / 22.25 MB, free: 5.258 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.805 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.296/3.296, allocations: 0.49 GB / 0.7951 GB, free: 35.54 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_12_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.001965/0.001965, allocations: 76.08 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3938, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002661/0.3965, allocations: 1.029 MB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.3979, allocations: 0.9911 MB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.551e-05/0.398, allocations: 4 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.058e-05/0.398, allocations: 19.73 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.3982, allocations: 39.66 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.3985, allocations: 71.84 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003193/0.3988, allocations: 223.4 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.3989, allocations: 53.44 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.3991, allocations: 107.6 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.3993, allocations: 107.5 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/0.3993, allocations: 20 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.943e-05/0.3993, allocations: 16 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.3994, allocations: 47.89 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.632e-05/0.3995, allocations: 75.59 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.3998, allocations: 223 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3998, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3998, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.3998, allocations: 0 / 1.329 GB, free: 14.47 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.001156/0.4009, allocations: 0.4933 MB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.401, allocations: 8.031 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.37e-05/0.401, allocations: 46.73 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.579e-05/0.4011, allocations: 24.8 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.4013, allocations: 174.1 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.4014, allocations: 12.38 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.4014, allocations: 16.36 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008323/0.4022, allocations: 242.5 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4022, allocations: 3.938 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.4023, allocations: 8 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.4023, allocations: 7.984 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.4034, allocations: 291.6 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007205/0.4041, allocations: 415.6 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007616/0.4048, allocations: 238.3 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006215/0.4055, allocations: 188.6 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.4055, allocations: 3.984 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.4055, allocations: 38.5 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.4055, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.001887/0.4074, allocations: 0.4987 MB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.4075, allocations: 51.41 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.4077, allocations: 178.3 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.4077, allocations: 33.7 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.4078, allocations: 128.3 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.711e-05/0.4079, allocations: 59.48 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.021e-05/0.408, allocations: 33.7 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.4081, allocations: 330.8 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000551/0.4087, allocations: 147.8 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005955/0.4093, allocations: 229.8 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.4104, allocations: 298.5 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4104, allocations: 0 / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001181/0.4115, allocations: 362.6 kB / 1.333 GB, free: 9.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.4116, allocations: 4 kB / 1.333 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.4116, allocations: 7.938 kB / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4116, allocations: 0 / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.412, allocations: 79.84 kB / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.412, allocations: 4 kB / 1.333 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.4123, allocations: 63.81 kB / 1.333 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.4123, allocations: 4 kB / 1.333 GB, free: 9.609 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.000157/0.4125, allocations: 125.8 kB / 1.333 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.4125, allocations: 15.91 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.035e-05/0.4126, allocations: 29.73 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.4126, allocations: 0 / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.4126, allocations: 0 / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4126, allocations: 4 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.4129, allocations: 216.6 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4129, allocations: 0 / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/0.4133, allocations: 75.84 kB / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.4133, allocations: 4 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.4134, allocations: 7.938 kB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4134, allocations: 0 / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4134, allocations: 4 kB / 1.334 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.4153, allocations: 0.6249 MB / 1.334 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.4153, allocations: 23.86 kB / 1.334 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.4154, allocations: 3.938 kB / 1.334 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.4157, allocations: 55.86 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/0.4158, allocations: 23.97 kB / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.4158, allocations: 7.938 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001228/0.4159, allocations: 135.2 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4159, allocations: 3.938 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002799/0.4162, allocations: 39.95 kB / 1.335 GB, free: 8.148 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.002258/0.4185, allocations: 1.171 MB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001156/0.4196, allocations: 329.8 kB / 1.336 GB, free: 6.629 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4196, allocations: 0 / 1.336 GB, free: 6.629 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000568/0.4202, allocations: 159.8 kB / 1.336 GB, free: 6.473 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.4207, allocations: 39.92 kB / 1.336 GB, free: 6.434 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005057/0.4257, allocations: 2.523 MB / 1.339 GB, free: 3.832 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.4259, allocations: 112 kB / 1.339 GB, free: 3.707 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001297/0.426, allocations: 21.06 kB / 1.339 GB, free: 3.684 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.4261, allocations: 59.42 kB / 1.339 GB, free: 3.625 MB / 1.029 GB Notification: Performance of SimCode: time 1.683e-06/0.4261, allocations: 0 / 1.339 GB, free: 3.625 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03592/0.462, allocations: 5.571 MB / 1.344 GB, free: 14.23 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.82, allocations: 12.05 kB / 1.344 GB, free: 14.22 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.80376850499306]