Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001356/0.001356, allocations: 100.5 kB / 16.45 MB, free: 6.449 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.001538/0.001538, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.506/1.506, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.824/2.824, allocations: 476.7 MB / 0.7672 GB, free: 5.215 MB / 0.6231 GB " [Timeout remaining time 176] 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.Less,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_11_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.002016/0.002016, allocations: 71.91 kB / 1.112 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.078, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002524/1.08, allocations: 0.8713 MB / 1.279 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001319/1.081, allocations: 0.9328 MB / 1.28 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/1.082, allocations: 3.938 kB / 1.28 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/1.082, allocations: 15.86 kB / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.707e-05/1.082, allocations: 19.8 kB / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000215/1.082, allocations: 35.95 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/1.082, allocations: 103.7 kB / 1.28 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/1.082, allocations: 27.98 kB / 1.28 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/1.082, allocations: 63.7 kB / 1.28 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.001e-05/1.083, allocations: 31.84 kB / 1.28 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/1.083, allocations: 11.94 kB / 1.28 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.916e-05/1.083, allocations: 16 kB / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/1.083, allocations: 11.98 kB / 1.28 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/1.083, allocations: 43.72 kB / 1.28 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/1.083, allocations: 109.3 kB / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/1.083, allocations: 0 / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.813e-06/1.083, allocations: 0 / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.372e-06/1.083, allocations: 0 / 1.281 GB, free: 11.09 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006941/1.084, allocations: 415 kB / 1.281 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/1.084, allocations: 12.03 kB / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.772e-05/1.084, allocations: 34.75 kB / 1.281 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/1.084, allocations: 28.83 kB / 1.281 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/1.084, allocations: 204.2 kB / 1.281 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/1.084, allocations: 4.375 kB / 1.281 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/1.084, allocations: 8.375 kB / 1.281 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/1.084, allocations: 94.14 kB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/1.084, allocations: 3.938 kB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/1.084, allocations: 8 kB / 1.281 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/1.084, allocations: 0 / 1.281 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/1.085, allocations: 67.94 kB / 1.281 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005985/1.085, allocations: 348.6 kB / 1.282 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/1.086, allocations: 62.55 kB / 1.282 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/1.086, allocations: 36.92 kB / 1.282 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/1.086, allocations: 0 / 1.282 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/1.086, allocations: 38.5 kB / 1.282 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/1.086, allocations: 0 / 1.282 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004766/1.086, allocations: 125.5 kB / 1.282 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/1.086, allocations: 51.41 kB / 1.282 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/1.086, allocations: 144.3 kB / 1.282 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/1.086, allocations: 25.7 kB / 1.282 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/1.087, allocations: 104 kB / 1.282 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/1.087, allocations: 17.58 kB / 1.282 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/1.087, allocations: 25.7 kB / 1.282 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.087, allocations: 314.8 kB / 1.283 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/1.087, allocations: 27.97 kB / 1.283 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/1.087, allocations: 31.97 kB / 1.283 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/1.087, allocations: 60.81 kB / 1.283 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.087, allocations: 3.938 kB / 1.283 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002765/1.087, allocations: 93.59 kB / 1.283 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.087, allocations: 8 kB / 1.283 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/1.087, allocations: 3.938 kB / 1.283 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/1.087, allocations: 0 / 1.283 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/1.088, allocations: 11.98 kB / 1.283 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/1.088, allocations: 3.938 kB / 1.283 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/1.088, allocations: 23.91 kB / 1.283 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/1.088, allocations: 4 kB / 1.283 GB, free: 8.461 MB / 0.9825 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.0001106/1.088, allocations: 117.8 kB / 1.283 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/1.088, allocations: 7.953 kB / 1.283 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.777e-05/1.088, allocations: 12.23 kB / 1.283 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/1.088, allocations: 0 / 1.283 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.088, allocations: 4.125 kB / 1.283 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/1.088, allocations: 8 kB / 1.283 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/1.088, allocations: 193.6 kB / 1.283 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/1.088, allocations: 0 / 1.283 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-05/1.088, allocations: 11.98 kB / 1.283 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/1.088, allocations: 0 / 1.283 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/1.088, allocations: 0 / 1.283 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.088, allocations: 0 / 1.283 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.088, allocations: 3.938 kB / 1.283 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/1.089, allocations: 187.5 kB / 1.283 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/1.089, allocations: 89 kB / 1.284 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/1.089, allocations: 7.984 kB / 1.284 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/1.089, allocations: 15.98 kB / 1.284 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/1.089, allocations: 11.92 kB / 1.284 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/1.089, allocations: 0 / 1.284 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.013e-05/1.089, allocations: 108.7 kB / 1.284 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.089, allocations: 0 / 1.284 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002361/1.089, allocations: 15.94 kB / 1.284 GB, free: 7.582 MB / 0.9825 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.0006827/1.09, allocations: 0.7208 MB / 1.284 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002927/1.09, allocations: 67.94 kB / 1.284 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.09, allocations: 3.938 kB / 1.284 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/1.09, allocations: 27.97 kB / 1.284 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/1.091, allocations: 19.92 kB / 1.284 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/1.092, allocations: 1.474 MB / 1.286 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/1.093, allocations: 0.7 MB / 1.287 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.888e-05/1.093, allocations: 19.91 kB / 1.287 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.649e-05/1.093, allocations: 27.36 kB / 1.287 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/1.093, allocations: 0 / 1.287 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/1.118, allocations: 2.201 MB / 1.289 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/9.224, allocations: 22.67 kB / 1.289 GB, free: 2.262 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable les.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! Error: Could not read variable les.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable les.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! Error: Could not read variable les.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable les.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! Error: Could not read variable lesHys.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable lesHys.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.552121745189652]