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.001248/0.001248, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.001405/0.001405, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.784/2.784, allocations: 476.7 MB / 0.7714 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="cs",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.002063/0.002063, allocations: 63.2 kB / 1.118 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4086, allocations: 169.9 MB / 1.284 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002249/0.4109, allocations: 0.8777 MB / 1.285 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.4122, allocations: 0.9327 MB / 1.286 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.859e-05/0.4122, allocations: 0 / 1.286 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.4124, allocations: 19.8 kB / 1.286 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.572e-05/0.4124, allocations: 15.86 kB / 1.286 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.4126, allocations: 47.89 kB / 1.286 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.4128, allocations: 99.7 kB / 1.286 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.4129, allocations: 35.97 kB / 1.286 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.4131, allocations: 43.84 kB / 1.286 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.624e-05/0.4132, allocations: 35.84 kB / 1.286 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.4132, allocations: 8 kB / 1.286 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.647e-05/0.4132, allocations: 12 kB / 1.286 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.4133, allocations: 23.91 kB / 1.286 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.4133, allocations: 43.69 kB / 1.286 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.4135, allocations: 107.8 kB / 1.286 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.4135, allocations: 3.938 kB / 1.286 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4135, allocations: 0 / 1.286 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.4135, allocations: 4 kB / 1.286 GB, free: 1.52 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.0006218/0.4141, allocations: 332 kB / 1.287 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.4142, allocations: 8.031 kB / 1.287 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.416e-05/0.4142, allocations: 12.19 kB / 1.287 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.4142, allocations: 34.75 kB / 1.287 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.4144, allocations: 24.83 kB / 1.287 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.4146, allocations: 142.3 kB / 1.287 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.4147, allocations: 8.375 kB / 1.287 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.4147, allocations: 4.375 kB / 1.287 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.4149, allocations: 95.19 kB / 1.287 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4149, allocations: 0 / 1.287 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.4149, allocations: 0 / 1.287 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.415, allocations: 7.984 kB / 1.287 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.4152, allocations: 63.95 kB / 1.287 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.4157, allocations: 335.6 kB / 1.287 GB, free: 376 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.416, allocations: 70.47 kB / 1.288 GB, free: 296 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.4161, allocations: 32.94 kB / 1.288 GB, free: 260 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.4161, allocations: 0 / 1.288 GB, free: 260 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.4162, allocations: 34.56 kB / 1.288 GB, free: 216 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.4162, allocations: 0 / 1.288 GB, free: 216 kB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004673/0.4166, allocations: 117.6 kB / 1.288 GB, free: 92 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.4167, allocations: 59.28 kB / 1.288 GB, free: 20 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.4168, allocations: 135.9 kB / 1.288 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.4168, allocations: 33.7 kB / 1.288 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.4169, allocations: 104.1 kB / 1.288 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.4169, allocations: 15.83 kB / 1.288 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.417, allocations: 17.72 kB / 1.288 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4171, allocations: 326.8 kB / 1.288 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.4172, allocations: 23.98 kB / 1.288 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.4173, allocations: 31.97 kB / 1.288 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.4175, allocations: 60.8 kB / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4175, allocations: 0 / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002767/0.4178, allocations: 93.61 kB / 1.289 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.4178, allocations: 4 kB / 1.289 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.4178, allocations: 4 kB / 1.289 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.4179, allocations: 7.922 kB / 1.289 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.418, allocations: 19.92 kB / 1.289 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.418, allocations: 0 / 1.289 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.4181, allocations: 11.98 kB / 1.289 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.4181, allocations: 4.188 kB / 1.289 GB, free: 15.1 MB / 0.9981 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.0001001/0.4182, allocations: 121.8 kB / 1.289 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.4182, allocations: 7.953 kB / 1.289 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.4182, allocations: 20.52 kB / 1.289 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4183, allocations: 3.938 kB / 1.289 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4183, allocations: 3.984 kB / 1.289 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4183, allocations: 0 / 1.289 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.4185, allocations: 156.7 kB / 1.289 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4185, allocations: 0 / 1.289 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-05/0.4186, allocations: 11.98 kB / 1.289 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4186, allocations: 0 / 1.289 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.4186, allocations: 8 kB / 1.289 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.4186, allocations: 7.922 kB / 1.289 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.4186, allocations: 0 / 1.289 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.4189, allocations: 187.4 kB / 1.289 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.4189, allocations: 15.94 kB / 1.289 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.4189, allocations: 0 / 1.289 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.4191, allocations: 15.92 kB / 1.289 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.4191, allocations: 23.91 kB / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.4191, allocations: 4 kB / 1.289 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.693e-05/0.4192, allocations: 98.23 kB / 1.289 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4192, allocations: 0 / 1.289 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002266/0.4194, allocations: 19.94 kB / 1.289 GB, free: 14.34 MB / 0.9981 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.000652/0.4201, allocations: 0.7202 MB / 1.29 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002875/0.4204, allocations: 63.94 kB / 1.29 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4204, allocations: 0 / 1.29 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.4205, allocations: 31.97 kB / 1.29 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.4208, allocations: 15.94 kB / 1.29 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.4226, allocations: 1.474 MB / 1.292 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.423, allocations: 0.7039 MB / 1.292 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.068e-05/0.423, allocations: 0 / 1.292 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.4231, allocations: 27.42 kB / 1.292 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.4231, allocations: 0 / 1.292 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.4458, allocations: 2.351 MB / 1.295 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.85, allocations: 17.17 kB / 1.295 GB, free: 8.957 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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] [Calling os._exit(0), Time elapsed: 18.49900578003144] Failed to read output from testmodel.py, exit status != 0: 12.014046401018277 12.037294535 11.6193797 Calling exit ...