Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001298/0.001298, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001559/0.001559, allocations: 212 kB / 22.24 MB, free: 5.262 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.433/3.433, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_latest_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.00293/0.00293, allocations: 78 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.407, allocations: 181.8 MB / 1.363 GB, free: 13.99 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002351/0.4094, allocations: 1.028 MB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.4107, allocations: 0.9949 MB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.636e-05/0.4107, allocations: 4 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.298e-05/0.4108, allocations: 23.73 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.4109, allocations: 39.59 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.4111, allocations: 67.91 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000263/0.4114, allocations: 227.4 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.4115, allocations: 49.44 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.4117, allocations: 95.67 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.4118, allocations: 95.53 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.4118, allocations: 24 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.124e-05/0.4119, allocations: 16 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.4119, allocations: 51.83 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.868e-05/0.412, allocations: 71.59 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.4123, allocations: 227 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4123, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4123, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.4123, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.061 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.001174/0.4135, allocations: 497.2 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.4136, allocations: 8.031 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.008e-05/0.4136, allocations: 46.73 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.4137, allocations: 28.8 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.4139, allocations: 170.1 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.414, allocations: 12.38 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.414, allocations: 16.38 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007611/0.4147, allocations: 241.9 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4148, allocations: 3.938 kB / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.4148, allocations: 12 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.4148, allocations: 4 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.4159, allocations: 283.7 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007064/0.4166, allocations: 423.5 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007668/0.4174, allocations: 234.3 kB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006393/0.418, allocations: 189 kB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.418, allocations: 3.938 kB / 1.368 GB, free: 8.727 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.4181, allocations: 38.47 kB / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.4181, allocations: 0 / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.001885/0.42, allocations: 0.4994 MB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.42, allocations: 51.41 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.4202, allocations: 174.9 kB / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.4202, allocations: 33.7 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.755e-05/0.4203, allocations: 124.4 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.826e-05/0.4204, allocations: 71.41 kB / 1.369 GB, free: 7.699 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-05/0.4205, allocations: 29.66 kB / 1.369 GB, free: 7.664 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4206, allocations: 330.8 kB / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006632/0.4213, allocations: 151.8 kB / 1.37 GB, free: 7.184 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006417/0.4219, allocations: 229.8 kB / 1.37 GB, free: 6.938 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.4231, allocations: 294.3 kB / 1.37 GB, free: 6.648 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4231, allocations: 0 / 1.37 GB, free: 6.648 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001246/0.4243, allocations: 362.1 kB / 1.371 GB, free: 6.289 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.4243, allocations: 4 kB / 1.371 GB, free: 6.285 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.4243, allocations: 7.938 kB / 1.371 GB, free: 6.277 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.4243, allocations: 0 / 1.371 GB, free: 6.277 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.4248, allocations: 83.78 kB / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.4248, allocations: 4 kB / 1.371 GB, free: 6.191 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.4251, allocations: 59.81 kB / 1.371 GB, free: 6.133 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.4251, allocations: 8 kB / 1.371 GB, free: 6.125 MB / 1.061 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.0001419/0.4253, allocations: 125.8 kB / 1.371 GB, free: 5.992 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.4253, allocations: 15.91 kB / 1.371 GB, free: 5.977 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.821e-05/0.4254, allocations: 29.73 kB / 1.371 GB, free: 5.945 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4254, allocations: 4 kB / 1.371 GB, free: 5.941 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4254, allocations: 0 / 1.371 GB, free: 5.941 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.4254, allocations: 0 / 1.371 GB, free: 5.941 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003323/0.4257, allocations: 220.6 kB / 1.371 GB, free: 5.684 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4257, allocations: 0 / 1.371 GB, free: 5.684 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003981/0.4261, allocations: 71.91 kB / 1.371 GB, free: 5.613 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.4261, allocations: 4 kB / 1.371 GB, free: 5.609 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.4262, allocations: 11.94 kB / 1.371 GB, free: 5.598 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.4262, allocations: 0 / 1.371 GB, free: 5.598 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4262, allocations: 0 / 1.371 GB, free: 5.598 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.4281, allocations: 0.6299 MB / 1.372 GB, free: 4.953 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.4282, allocations: 15.88 kB / 1.372 GB, free: 4.938 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.4282, allocations: 11.94 kB / 1.372 GB, free: 4.926 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.4285, allocations: 59.97 kB / 1.372 GB, free: 4.867 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.052e-05/0.4286, allocations: 23.97 kB / 1.372 GB, free: 4.844 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.4286, allocations: 3.984 kB / 1.372 GB, free: 4.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001108/0.4287, allocations: 132.2 kB / 1.372 GB, free: 4.711 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4287, allocations: 0 / 1.372 GB, free: 4.711 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002897/0.429, allocations: 43.95 kB / 1.372 GB, free: 4.668 MB / 1.061 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.4313, allocations: 1.17 MB / 1.373 GB, free: 3.469 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.4325, allocations: 325.6 kB / 1.374 GB, free: 3.152 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4325, allocations: 0 / 1.374 GB, free: 3.152 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006183/0.4331, allocations: 171.8 kB / 1.374 GB, free: 2.984 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.4336, allocations: 27.98 kB / 1.374 GB, free: 2.957 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004933/0.4385, allocations: 2.521 MB / 1.376 GB, free: 364 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.4386, allocations: 120 kB / 1.376 GB, free: 228 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.4387, allocations: 9.078 kB / 1.376 GB, free: 216 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.4388, allocations: 63.41 kB / 1.377 GB, free: 152 kB / 1.061 GB Notification: Performance of SimCode: time 7.31e-07/0.4388, allocations: 4 kB / 1.377 GB, free: 148 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03761/0.4764, allocations: 5.52 MB / 1.382 GB, free: 10.8 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.17, allocations: 1.891 kB / 1.382 GB, free: 10.8 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv --start-time 0 --stop-time 480 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.192 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv. Warning: Get data of variable sleRatLim.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.370328180957586]