Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.001605/0.001605, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001739/0.001739, allocations: 215 kB / 22.25 MB, free: 5.117 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 8 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.339/3.339, allocations: 0.505 GB / 0.8101 GB, free: 21.99 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.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less",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.001971/0.001971, allocations: 70.95 kB / 1.177 GB, free: 16.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4017, allocations: 180.2 MB / 1.353 GB, free: 8.387 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002496/0.4042, allocations: 0.872 MB / 1.354 GB, free: 7.52 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.4055, allocations: 0.9367 MB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.4057, allocations: 7.938 kB / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.4058, allocations: 7.875 kB / 1.355 GB, free: 6.555 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.072e-05/0.4059, allocations: 15.8 kB / 1.355 GB, free: 6.539 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.4061, allocations: 43.89 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.4063, allocations: 103.7 kB / 1.355 GB, free: 6.395 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.4065, allocations: 31.98 kB / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.4066, allocations: 47.78 kB / 1.355 GB, free: 6.316 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.827e-05/0.4067, allocations: 39.84 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.4068, allocations: 8 kB / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.444e-05/0.4068, allocations: 15.98 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.4068, allocations: 11.94 kB / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.47e-05/0.4069, allocations: 43.73 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.4071, allocations: 111.8 kB / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4071, allocations: 4 kB / 1.355 GB, free: 6.086 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.414e-06/0.4071, allocations: 0 / 1.355 GB, free: 6.086 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.4071, allocations: 3.938 kB / 1.355 GB, free: 6.082 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006502/0.4078, allocations: 341.9 kB / 1.355 GB, free: 5.715 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.4078, allocations: 8.031 kB / 1.355 GB, free: 5.707 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.4079, allocations: 38.75 kB / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.408, allocations: 16.88 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.4083, allocations: 147.8 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.4083, allocations: 384 / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.4083, allocations: 8.375 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.4086, allocations: 94.7 kB / 1.356 GB, free: 5.371 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.4086, allocations: 7.875 kB / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.4086, allocations: 0 / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4086, allocations: 3.938 kB / 1.356 GB, free: 5.359 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.4088, allocations: 71.94 kB / 1.356 GB, free: 5.289 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.4094, allocations: 323.7 kB / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.4097, allocations: 62.53 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.4098, allocations: 44.91 kB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.4098, allocations: 8 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.4098, allocations: 30.56 kB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.4098, allocations: 0 / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004524/0.4103, allocations: 117.5 kB / 1.356 GB, free: 4.645 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.4103, allocations: 55.41 kB / 1.356 GB, free: 4.578 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.4105, allocations: 147.5 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.4105, allocations: 25.7 kB / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.418e-05/0.4106, allocations: 112 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.4106, allocations: 7.953 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.4106, allocations: 21.7 kB / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4108, allocations: 314.8 kB / 1.357 GB, free: 3.93 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.4109, allocations: 31.97 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.411, allocations: 35.97 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.4112, allocations: 52.81 kB / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.4112, allocations: 0 / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000264/0.4115, allocations: 101.5 kB / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.4115, allocations: 4 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4115, allocations: 4 kB / 1.357 GB, free: 3.695 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.4115, allocations: 0 / 1.357 GB, free: 3.695 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.4116, allocations: 11.98 kB / 1.357 GB, free: 3.684 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.4116, allocations: 3.938 kB / 1.357 GB, free: 3.68 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.4117, allocations: 19.97 kB / 1.357 GB, free: 3.66 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.4117, allocations: 0 / 1.357 GB, free: 3.66 MB / 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: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001042/0.4118, allocations: 121.8 kB / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.4119, allocations: 11.95 kB / 1.357 GB, free: 3.52 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.4119, allocations: 8.344 kB / 1.357 GB, free: 3.508 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.4119, allocations: 7.984 kB / 1.357 GB, free: 3.5 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4119, allocations: 3.938 kB / 1.357 GB, free: 3.496 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4119, allocations: 0 / 1.357 GB, free: 3.496 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.4121, allocations: 156.7 kB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4121, allocations: 0 / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.378e-05/0.4122, allocations: 16.11 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.4122, allocations: 7.984 kB / 1.358 GB, free: 3.277 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4122, allocations: 0 / 1.358 GB, free: 3.277 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4122, allocations: 4 kB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4122, allocations: 7.938 kB / 1.358 GB, free: 3.266 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.4125, allocations: 179.5 kB / 1.358 GB, free: 3.074 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.394e-05/0.4126, allocations: 7.891 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.4126, allocations: 8 kB / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.4127, allocations: 19.97 kB / 1.358 GB, free: 3.039 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.4128, allocations: 15.92 kB / 1.358 GB, free: 3.023 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.4128, allocations: 3.938 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.423e-05/0.4129, allocations: 105 kB / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4129, allocations: 0 / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002617/0.4131, allocations: 19.89 kB / 1.358 GB, free: 2.898 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006784/0.4138, allocations: 0.7163 MB / 1.359 GB, free: 2.156 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000284/0.4141, allocations: 64.22 kB / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4141, allocations: 4 kB / 1.359 GB, free: 2.09 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.4142, allocations: 35.91 kB / 1.359 GB, free: 2.055 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.4145, allocations: 19.92 kB / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.4165, allocations: 1.479 MB / 1.36 GB, free: 480 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.4169, allocations: 0.6979 MB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.33e-05/0.4169, allocations: 0 / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.442e-05/0.417, allocations: 27.42 kB / 1.361 GB, free: 15.72 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.417, allocations: 0 / 1.361 GB, free: 15.72 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.4466, allocations: 2.328 MB / 1.363 GB, free: 13.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.29, allocations: 5.547 kB / 1.363 GB, free: 13.52 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable les.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable les.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! Error: Could not read variable les.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable les.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! Error: Could not read variable les.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable les.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! Error: Could not read variable lesHys.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable lesHys.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.427704766999796]