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.001766/0.001766, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002073/0.002073, allocations: 213.8 kB / 22.25 MB, free: 4.855 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.556/1.556, 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.394/3.394, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 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.002424/0.002424, allocations: 71.48 kB / 1.153 GB, free: 25.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3812, allocations: 176.1 MB / 1.325 GB, free: 2.152 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002518/0.3837, allocations: 1.017 MB / 1.326 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.385, allocations: 0.9873 MB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.442e-05/0.385, allocations: 0 / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5e-05/0.3851, allocations: 23.73 kB / 1.327 GB, free: 116 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.3852, allocations: 39.59 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.3855, allocations: 79.92 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.3858, allocations: 223.4 kB / 1.327 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.3859, allocations: 53.34 kB / 1.327 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.3861, allocations: 91.69 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.3863, allocations: 103.5 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.044e-05/0.3863, allocations: 16 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.761e-05/0.3863, allocations: 20 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.054e-05/0.3864, allocations: 43.89 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.438e-05/0.3865, allocations: 75.58 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.3868, allocations: 230.9 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3868, allocations: 0 / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.476e-06/0.3868, allocations: 4 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.3868, allocations: 0 / 1.328 GB, free: 15.15 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.001197/0.388, allocations: 0.4895 MB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3881, allocations: 12.02 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.327e-05/0.3881, allocations: 46.73 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.573e-05/0.3882, allocations: 24.8 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.3884, allocations: 170.1 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.3885, allocations: 12.38 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.3885, allocations: 16.38 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007601/0.3893, allocations: 242.5 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3893, allocations: 3.938 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.3893, allocations: 4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3893, allocations: 4 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.3904, allocations: 295.7 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007243/0.3912, allocations: 423.5 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008304/0.392, allocations: 242.3 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006123/0.3926, allocations: 182.9 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.3926, allocations: 8 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.3927, allocations: 30.56 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.3927, allocations: 0 / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.001877/0.3945, allocations: 0.5012 MB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.3946, allocations: 51.41 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.3948, allocations: 174.3 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.3948, allocations: 29.7 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.778e-05/0.3949, allocations: 136.3 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.01e-05/0.395, allocations: 63.45 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.065e-05/0.395, allocations: 29.72 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.3952, allocations: 330.8 kB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005779/0.3958, allocations: 143.8 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007559/0.3965, allocations: 227.5 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.3977, allocations: 306.3 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3977, allocations: 3.938 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001278/0.399, allocations: 353.2 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.399, allocations: 4 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.399, allocations: 11.94 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.399, allocations: 0 / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/0.3994, allocations: 79.91 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3994, allocations: 0 / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.3997, allocations: 67.81 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.3997, allocations: 7.938 kB / 1.333 GB, free: 10.29 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.0001164/0.3998, allocations: 121.8 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.3999, allocations: 19.86 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.813e-05/0.3999, allocations: 29.73 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.4, allocations: 4 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4, allocations: 0 / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4, allocations: 0 / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.4003, allocations: 212.7 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.4003, allocations: 4 kB / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.4007, allocations: 79.84 kB / 1.333 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4007, allocations: 0 / 1.333 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.4007, allocations: 7.938 kB / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4007, allocations: 0 / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4007, allocations: 0 / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.4026, allocations: 0.6369 MB / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.4027, allocations: 15.88 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.4027, allocations: 7.938 kB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003123/0.403, allocations: 51.92 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.533e-05/0.4031, allocations: 23.95 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.4031, allocations: 4 kB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001306/0.4033, allocations: 131.1 kB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4033, allocations: 4 kB / 1.334 GB, free: 8.871 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000267/0.4035, allocations: 43.95 kB / 1.334 GB, free: 8.828 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.002263/0.4058, allocations: 1.17 MB / 1.335 GB, free: 7.629 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001292/0.4071, allocations: 321.4 kB / 1.335 GB, free: 7.316 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4071, allocations: 0 / 1.335 GB, free: 7.316 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006101/0.4077, allocations: 171.8 kB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.4081, allocations: 37.36 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005025/0.4132, allocations: 2.526 MB / 1.338 GB, free: 4.512 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.4133, allocations: 120 kB / 1.338 GB, free: 4.379 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000105/0.4134, allocations: 9.094 kB / 1.338 GB, free: 4.367 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.4135, allocations: 67.41 kB / 1.338 GB, free: 4.301 MB / 1.029 GB Notification: Performance of SimCode: time 7.32e-07/0.4135, allocations: 0 / 1.338 GB, free: 4.301 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03683/0.4504, allocations: 5.513 MB / 1.344 GB, free: 14.97 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.99, allocations: 9.875 kB / 1.344 GB, free: 14.96 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 & python3 -m fmpy simulate --output-file Buildings_12_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_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.csv","/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] "Error: Could not read variable sleRatLim.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv. Warning: Get data of variable sleRatLim.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.172433578874916]