Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.002195/0.002195, allocations: 110.4 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.003087/0.003087, allocations: 215.2 kB / 22.26 MB, free: 5.133 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 8.004 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.961/2.961, allocations: 476.8 MB / 0.7707 GB, free: 4.301 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.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",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.002128/0.002128, allocations: 65.06 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3891, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002262/0.3914, allocations: 0.8309 MB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.3926, allocations: 0.9134 MB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.469e-05/0.3927, allocations: 7.938 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.3929, allocations: 15.88 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.156e-05/0.3929, allocations: 11.86 kB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.3931, allocations: 39.83 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.3933, allocations: 75.78 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3934, allocations: 19.98 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.3935, allocations: 39.84 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.742e-05/0.3936, allocations: 27.8 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.3936, allocations: 8 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.048e-05/0.3937, allocations: 12 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.3937, allocations: 11.98 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.72e-05/0.3937, allocations: 31.81 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.3939, allocations: 87.83 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3939, allocations: 0 / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3939, allocations: 0 / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.3939, allocations: 0 / 1.286 GB, free: 9.609 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005896/0.3945, allocations: 314 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.3945, allocations: 8.031 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.66e-05/0.3946, allocations: 38.75 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.3948, allocations: 20.88 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.395, allocations: 142.3 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.395, allocations: 8.375 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.395, allocations: 384 / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.3952, allocations: 58.23 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3952, allocations: 3.938 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.3952, allocations: 12 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3952, allocations: 0 / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.3954, allocations: 35.91 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.396, allocations: 287.8 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.3961, allocations: 54.58 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.612e-05/0.3962, allocations: 16.92 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.3962, allocations: 3.984 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.3962, allocations: 30.56 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.3962, allocations: 0 / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002762/0.3965, allocations: 85.58 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.3965, allocations: 51.41 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.3967, allocations: 140 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.3967, allocations: 33.7 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.3968, allocations: 96.09 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.3968, allocations: 11.92 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.3968, allocations: 17.72 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.397, allocations: 322.8 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.023e-05/0.397, allocations: 12 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.467e-05/0.3971, allocations: 23.98 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.156e-05/0.3972, allocations: 24.84 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3972, allocations: 0 / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001399/0.3973, allocations: 73.56 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3973, allocations: 4 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3973, allocations: 0 / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3973, allocations: 0 / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.507e-05/0.3974, allocations: 4 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3974, allocations: 0 / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.988e-05/0.3975, allocations: 15.98 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.3975, allocations: 3.938 kB / 1.287 GB, free: 7.5 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 (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 prepare postOptimizeDAE: time 0.0001041/0.3976, allocations: 117.8 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.3976, allocations: 7.953 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/0.3976, allocations: 8.344 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3976, allocations: 0 / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.3977, allocations: 0 / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3977, allocations: 4 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.3979, allocations: 156.7 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3979, allocations: 4 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.398, allocations: 7.984 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.398, allocations: 0 / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.398, allocations: 0 / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.398, allocations: 0 / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.398, allocations: 0 / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.3982, allocations: 169.1 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.3982, allocations: 15.89 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.3982, allocations: 0 / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.691e-05/0.3983, allocations: 15.92 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.3984, allocations: 7.984 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.3984, allocations: 384 / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.962e-05/0.3985, allocations: 114.2 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3985, allocations: 0 / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002228/0.3987, allocations: 12 kB / 1.288 GB, free: 6.805 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 (3): * Single equations (assignments): 3 * 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.0006028/0.3993, allocations: 0.7006 MB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001553/0.3994, allocations: 35.97 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3994, allocations: 0 / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.697e-05/0.3995, allocations: 16 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.3998, allocations: 17.88 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.4015, allocations: 1.374 MB / 1.29 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.4019, allocations: 0.6924 MB / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.383e-05/0.4019, allocations: 8 kB / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.644e-05/0.402, allocations: 19.42 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.402, allocations: 0 / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02982/0.4318, allocations: 2.109 MB / 1.293 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.67, allocations: 10.3 kB / 1.293 GB, free: 1.836 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.72792478115298]