Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001693/0.001693, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002371/0.002371, allocations: 215.7 kB / 22.26 MB, free: 5.125 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.825/2.825, allocations: 476.7 MB / 0.7707 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_11_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.002124/0.002124, allocations: 69.36 kB / 1.117 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4098, allocations: 169.9 MB / 1.283 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.003746/0.4135, allocations: 1.117 MB / 1.285 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002273/0.4158, allocations: 0.9925 MB / 1.285 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.4159, allocations: 7.938 kB / 1.286 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.85e-05/0.416, allocations: 15.75 kB / 1.286 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.4162, allocations: 47.58 kB / 1.286 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.4165, allocations: 59.92 kB / 1.286 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004195/0.4169, allocations: 231.3 kB / 1.286 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000256/0.4172, allocations: 61.42 kB / 1.286 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.4174, allocations: 91.75 kB / 1.286 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.4176, allocations: 111.5 kB / 1.286 GB, free: 1 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.991e-05/0.4177, allocations: 23.94 kB / 1.286 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.889e-05/0.4178, allocations: 20 kB / 1.286 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.379e-05/0.4178, allocations: 47.83 kB / 1.286 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.4179, allocations: 99.45 kB / 1.286 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.4182, allocations: 203.1 kB / 1.286 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4182, allocations: 7.938 kB / 1.286 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4182, allocations: 0 / 1.286 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.4182, allocations: 0 / 1.286 GB, free: 0.6055 MB / 0.9825 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.001413/0.4196, allocations: 0.4933 MB / 1.287 GB, free: 80 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.4197, allocations: 8.031 kB / 1.287 GB, free: 72 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.795e-05/0.4197, allocations: 46.73 kB / 1.287 GB, free: 16 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.938e-05/0.4198, allocations: 21.08 kB / 1.287 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.4202, allocations: 174 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.4202, allocations: 12.31 kB / 1.287 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.893e-05/0.4203, allocations: 16.38 kB / 1.287 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.4215, allocations: 246.3 kB / 1.287 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.4216, allocations: 0 / 1.287 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.4216, allocations: 4 kB / 1.287 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.4216, allocations: 4 kB / 1.287 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.4234, allocations: 295.7 kB / 1.288 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.4245, allocations: 455.5 kB / 1.288 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.4258, allocations: 246.2 kB / 1.288 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.4268, allocations: 184.7 kB / 1.289 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.484e-05/0.4269, allocations: 4 kB / 1.289 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.4269, allocations: 34.88 kB / 1.289 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 2.014e-06/0.4269, allocations: 0 / 1.289 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.003339/0.4303, allocations: 0.5031 MB / 1.289 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.4303, allocations: 51.41 kB / 1.289 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.4306, allocations: 180.8 kB / 1.289 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.4306, allocations: 29.7 kB / 1.289 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.4308, allocations: 128.4 kB / 1.289 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.4309, allocations: 63.47 kB / 1.29 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.431, allocations: 37.7 kB / 1.29 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002166/0.4312, allocations: 326.8 kB / 1.29 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.4323, allocations: 151.8 kB / 1.29 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.4335, allocations: 170.3 kB / 1.29 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.4355, allocations: 303.7 kB / 1.29 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4355, allocations: 0 / 1.29 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002234/0.4378, allocations: 369.1 kB / 1.291 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.4378, allocations: 7.938 kB / 1.291 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.4378, allocations: 0 / 1.291 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.4378, allocations: 0 / 1.291 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/0.4386, allocations: 71.92 kB / 1.291 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.4386, allocations: 0 / 1.291 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005719/0.4391, allocations: 71.81 kB / 1.291 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.4392, allocations: 7.984 kB / 1.291 GB, free: 11.77 MB / 0.9981 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.0002313/0.4394, allocations: 125.8 kB / 1.291 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.169e-05/0.4395, allocations: 19.84 kB / 1.291 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.163e-05/0.4396, allocations: 21.81 kB / 1.291 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.4396, allocations: 7.938 kB / 1.291 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4396, allocations: 4 kB / 1.291 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.4396, allocations: 3.984 kB / 1.291 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005276/0.4401, allocations: 236.5 kB / 1.291 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4401, allocations: 4 kB / 1.291 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007251/0.4409, allocations: 75.91 kB / 1.291 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.4409, allocations: 3.938 kB / 1.291 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.4409, allocations: 0 / 1.291 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/0.4409, allocations: 11.94 kB / 1.291 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4409, allocations: 0 / 1.291 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/0.4433, allocations: 0.6218 MB / 1.292 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.4433, allocations: 27.83 kB / 1.292 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.4433, allocations: 3.938 kB / 1.292 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.4437, allocations: 55.98 kB / 1.292 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.088e-05/0.4438, allocations: 27.91 kB / 1.292 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.4438, allocations: 7.984 kB / 1.292 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001267/0.4439, allocations: 132.3 kB / 1.292 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4439, allocations: 0 / 1.292 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002822/0.4442, allocations: 36 kB / 1.292 GB, free: 10.29 MB / 0.9981 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.002336/0.4465, allocations: 1.175 MB / 1.294 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001259/0.4478, allocations: 315.7 kB / 1.294 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4478, allocations: 0 / 1.294 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000659/0.4484, allocations: 175.7 kB / 1.294 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.4489, allocations: 37.84 kB / 1.294 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005413/0.4543, allocations: 2.521 MB / 1.296 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.4548, allocations: 0.724 MB / 1.297 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.4549, allocations: 13.08 kB / 1.297 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.455, allocations: 67.41 kB / 1.297 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/0.455, allocations: 0 / 1.297 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03467/0.4897, allocations: 4.897 MB / 1.302 GB, free: 424 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.66, allocations: 1.875 kB / 1.302 GB, free: 424 kB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv. Warning: Get data of variable sleRatLim.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.661189450000165]