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.001568/0.001568, allocations: 108.9 kB / 16.46 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.001895/0.001895, 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.558/1.558, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.226/3.226, allocations: 0.49 GB / 0.7916 GB, free: 33.21 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.00207/0.00207, allocations: 74.33 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.409, allocations: 176.1 MB / 1.321 GB, free: 3.227 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.00275/0.4118, allocations: 1.106 MB / 1.322 GB, free: 2.121 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.4132, allocations: 0.9988 MB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.769e-05/0.4133, allocations: 0 / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.073e-05/0.4134, allocations: 23.73 kB / 1.323 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.4135, allocations: 35.66 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.4138, allocations: 71.84 kB / 1.323 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000295/0.4141, allocations: 223.4 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.4142, allocations: 57.05 kB / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.4144, allocations: 99.62 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.4145, allocations: 103.6 kB / 1.324 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.196e-05/0.4146, allocations: 20 kB / 1.324 GB, free: 496 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.437e-05/0.4146, allocations: 20 kB / 1.324 GB, free: 476 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.4147, allocations: 47.83 kB / 1.324 GB, free: 428 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.4148, allocations: 91.44 kB / 1.324 GB, free: 336 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.415, allocations: 215 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4151, allocations: 4 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4151, allocations: 0 / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.4151, allocations: 4 kB / 1.324 GB, free: 112 kB / 1.014 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.001248/0.4163, allocations: 0.561 MB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.4164, allocations: 15.98 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.708e-05/0.4164, allocations: 50.67 kB / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.618e-05/0.4165, allocations: 24.8 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.4168, allocations: 227.9 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.4168, allocations: 12.38 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.4168, allocations: 12.38 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008399/0.4177, allocations: 249.8 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.4177, allocations: 4 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.4177, allocations: 4 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.4177, allocations: 4 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.4189, allocations: 291.6 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007975/0.4197, allocations: 496.3 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007968/0.4205, allocations: 234.4 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006579/0.4212, allocations: 185 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.4212, allocations: 0 / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.4212, allocations: 42.47 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.012e-06/0.4212, allocations: 4 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.002041/0.4233, allocations: 0.4951 MB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.4233, allocations: 51.41 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.4235, allocations: 174.9 kB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.4235, allocations: 37.64 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.4236, allocations: 124.4 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.657e-05/0.4237, allocations: 63.45 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-05/0.4238, allocations: 29.72 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.4239, allocations: 334.8 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006188/0.4246, allocations: 143.8 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000636/0.4252, allocations: 178.4 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.4264, allocations: 302.2 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4264, allocations: 4 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001303/0.4277, allocations: 359.1 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.4277, allocations: 11.94 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.4277, allocations: 0 / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4277, allocations: 0 / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/0.4282, allocations: 83.84 kB / 1.329 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4282, allocations: 0 / 1.329 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.4285, allocations: 59.88 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.4285, allocations: 8 kB / 1.329 GB, free: 11.07 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.0001219/0.4286, allocations: 121.8 kB / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.4287, allocations: 23.8 kB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.716e-05/0.4288, allocations: 25.86 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.4288, allocations: 4 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4288, allocations: 0 / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4288, allocations: 4 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.4291, allocations: 273.4 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4291, allocations: 0 / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/0.4295, allocations: 75.86 kB / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.4295, allocations: 3.938 kB / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.4295, allocations: 7.984 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4295, allocations: 0 / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4295, allocations: 8 kB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.4316, allocations: 0.6258 MB / 1.33 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.4316, allocations: 92.98 kB / 1.33 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.4317, allocations: 11.92 kB / 1.33 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.432, allocations: 56 kB / 1.33 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.512e-05/0.4321, allocations: 23.97 kB / 1.33 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.4321, allocations: 11.98 kB / 1.33 GB, free: 9.621 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001147/0.4322, allocations: 131 kB / 1.33 GB, free: 9.492 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4322, allocations: 0 / 1.33 GB, free: 9.492 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002757/0.4325, allocations: 39.95 kB / 1.33 GB, free: 9.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.002439/0.4349, allocations: 1.171 MB / 1.331 GB, free: 8.254 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001323/0.4363, allocations: 331.5 kB / 1.332 GB, free: 7.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4363, allocations: 0 / 1.332 GB, free: 7.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006579/0.4369, allocations: 163.8 kB / 1.332 GB, free: 7.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.4374, allocations: 37.69 kB / 1.332 GB, free: 7.734 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00516/0.4425, allocations: 2.527 MB / 1.334 GB, free: 5.125 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.4429, allocations: 0.724 MB / 1.335 GB, free: 4.375 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.328e-05/0.443, allocations: 17.08 kB / 1.335 GB, free: 4.359 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.4431, allocations: 63.41 kB / 1.335 GB, free: 4.297 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.4431, allocations: 0 / 1.335 GB, free: 4.297 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.4755, allocations: 4.733 MB / 1.34 GB, free: 15.7 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.302/8.777, allocations: 14.53 kB / 1.34 GB, free: 15.69 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.788290622876957]