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.00183/0.00183, 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.002665/0.002665, allocations: 213.6 kB / 22.25 MB, free: 5.129 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.549/1.549, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.239/3.239, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.002688/0.002688, allocations: 67.97 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.455/0.4577, allocations: 180.2 MB / 1.353 GB, free: 8.391 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002402/0.4601, allocations: 1.099 MB / 1.354 GB, free: 7.293 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.4615, allocations: 1.003 MB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.034e-05/0.4616, allocations: 0 / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.987e-05/0.4616, allocations: 23.67 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.4618, allocations: 39.66 kB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.462, allocations: 63.86 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.4622, allocations: 235.4 kB / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.4624, allocations: 53.44 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.4625, allocations: 95.69 kB / 1.355 GB, free: 5.773 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.4627, allocations: 111.5 kB / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.4627, allocations: 20 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.941e-05/0.4628, allocations: 16 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.4628, allocations: 51.83 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.656e-05/0.4629, allocations: 91.45 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.4632, allocations: 215 kB / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4632, allocations: 0 / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4632, allocations: 4 kB / 1.356 GB, free: 5.273 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.4632, allocations: 0 / 1.356 GB, free: 5.273 MB / 1.045 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.001128/0.4643, allocations: 0.4894 MB / 1.356 GB, free: 4.75 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4644, allocations: 12.03 kB / 1.356 GB, free: 4.738 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.95e-05/0.4644, allocations: 46.73 kB / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.4645, allocations: 24.73 kB / 1.357 GB, free: 4.66 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.4647, allocations: 174.1 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.4647, allocations: 12.38 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.4648, allocations: 12.38 kB / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007266/0.4655, allocations: 242 kB / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.4655, allocations: 7.922 kB / 1.357 GB, free: 4.191 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.4655, allocations: 4 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.4655, allocations: 4 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.4666, allocations: 291.7 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007506/0.4673, allocations: 463.3 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007878/0.4681, allocations: 234.4 kB / 1.358 GB, free: 3.164 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006617/0.4688, allocations: 192.9 kB / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.4688, allocations: 0 / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.4689, allocations: 38.47 kB / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 9.61e-07/0.4689, allocations: 4 kB / 1.358 GB, free: 2.922 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.001746/0.4706, allocations: 0.4989 MB / 1.359 GB, free: 2.418 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.4707, allocations: 51.41 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.4708, allocations: 174.9 kB / 1.359 GB, free: 2.176 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.4709, allocations: 29.7 kB / 1.359 GB, free: 2.141 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.72e-05/0.4709, allocations: 128.4 kB / 1.359 GB, free: 2.008 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.929e-05/0.471, allocations: 59.48 kB / 1.359 GB, free: 1.949 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.175e-05/0.4711, allocations: 33.7 kB / 1.359 GB, free: 1.91 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4712, allocations: 326.8 kB / 1.359 GB, free: 1.582 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005399/0.4718, allocations: 151.7 kB / 1.36 GB, free: 1.434 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.4723, allocations: 176.1 kB / 1.36 GB, free: 1.254 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.4735, allocations: 302.2 kB / 1.36 GB, free: 0.957 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4735, allocations: 0 / 1.36 GB, free: 0.957 MB / 1.045 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001212/0.4747, allocations: 369.1 kB / 1.36 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4747, allocations: 8 kB / 1.36 GB, free: 0.582 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.4747, allocations: 3.938 kB / 1.36 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.4748, allocations: 4 kB / 1.36 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.4752, allocations: 79.91 kB / 1.36 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.4752, allocations: 3.984 kB / 1.36 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.4755, allocations: 59.8 kB / 1.36 GB, free: 444 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.4755, allocations: 8 kB / 1.36 GB, free: 436 kB / 1.045 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.0001228/0.4756, allocations: 125.8 kB / 1.361 GB, free: 300 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.4757, allocations: 23.8 kB / 1.361 GB, free: 276 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.752e-05/0.4757, allocations: 29.73 kB / 1.361 GB, free: 244 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4757, allocations: 0 / 1.361 GB, free: 244 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4757, allocations: 0 / 1.361 GB, free: 244 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4757, allocations: 4 kB / 1.361 GB, free: 240 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.4761, allocations: 236.6 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4761, allocations: 4 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/0.4765, allocations: 75.84 kB / 1.361 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4765, allocations: 4 kB / 1.361 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.4765, allocations: 7.938 kB / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4765, allocations: 0 / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4765, allocations: 0 / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.4783, allocations: 0.6342 MB / 1.362 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.4783, allocations: 15.88 kB / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.4784, allocations: 11.94 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003068/0.4787, allocations: 47.92 kB / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-05/0.4788, allocations: 24.02 kB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.4788, allocations: 15.94 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001159/0.4789, allocations: 127.1 kB / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4789, allocations: 0 / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002687/0.4792, allocations: 39.95 kB / 1.362 GB, free: 14.95 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.002207/0.4814, allocations: 1.171 MB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.4826, allocations: 327.6 kB / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4826, allocations: 0 / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005734/0.4831, allocations: 167.8 kB / 1.363 GB, free: 13.26 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.4836, allocations: 35.98 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005483/0.4891, allocations: 2.52 MB / 1.366 GB, free: 10.63 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.4896, allocations: 0.7279 MB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.4897, allocations: 13.09 kB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.4898, allocations: 63.39 kB / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of SimCode: time 1.332e-06/0.4898, allocations: 0 / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03821/0.528, allocations: 4.893 MB / 1.372 GB, free: 5.066 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.82, allocations: 6.781 kB / 1.372 GB, free: 5.062 MB / 1.061 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: 18.834491522000008]