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.001508/0.001508, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002406/0.002406, allocations: 218.4 kB / 23.03 MB, free: 4.922 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.847/2.847, allocations: 476.8 MB / 0.7715 GB, free: 4.055 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",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.002056/0.002056, allocations: 63.92 kB / 1.118 GB, free: 39.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3815, allocations: 170 MB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002844/0.3843, allocations: 0.7926 MB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.3859, allocations: 0.9017 MB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.3861, allocations: 7.938 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.3863, allocations: 15.86 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.654e-05/0.3863, allocations: 11.88 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.3866, allocations: 31.95 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.3868, allocations: 79.72 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.387, allocations: 23.5 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.3872, allocations: 39.84 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.3874, allocations: 35.78 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.3874, allocations: 4 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.614e-05/0.3875, allocations: 12 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.3875, allocations: 15.88 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.3875, allocations: 23.86 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.3878, allocations: 85.08 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3878, allocations: 0 / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3878, allocations: 0 / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.3878, allocations: 0 / 1.286 GB, free: 8.531 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.0008296/0.3886, allocations: 318 kB / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.3887, allocations: 8.031 kB / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.275e-05/0.3887, allocations: 4.188 kB / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.381e-05/0.3887, allocations: 34.75 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.3889, allocations: 20.81 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.3893, allocations: 146.3 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.3893, allocations: 4.375 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.3893, allocations: 4.375 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.3895, allocations: 69.98 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3895, allocations: 0 / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3895, allocations: 0 / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3896, allocations: 0 / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.3897, allocations: 35.92 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006198/0.3903, allocations: 279.8 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.3905, allocations: 54.66 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.323e-05/0.3906, allocations: 16.94 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.3906, allocations: 4 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.3906, allocations: 30.56 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.3906, allocations: 0 / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003172/0.391, allocations: 73.56 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.391, allocations: 51.41 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.3911, allocations: 135.9 kB / 1.287 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.3912, allocations: 25.7 kB / 1.287 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/0.3913, allocations: 100.1 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.3913, allocations: 15.95 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.448e-05/0.3913, allocations: 17.7 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3915, allocations: 318.8 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.545e-05/0.3916, allocations: 15.98 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.82e-05/0.3916, allocations: 17.73 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.646e-05/0.3917, allocations: 32.84 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3917, allocations: 3.938 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001578/0.3919, allocations: 69.89 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3919, allocations: 15.98 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3919, allocations: 0 / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3919, allocations: 0 / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.63e-05/0.392, allocations: 4 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.392, allocations: 0 / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.079e-05/0.3921, allocations: 15.92 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.3921, allocations: 0 / 1.288 GB, free: 6.434 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.0001142/0.3922, allocations: 113.8 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.3922, allocations: 11.89 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/0.3923, allocations: 16.33 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3923, allocations: 0 / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.3923, allocations: 4 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3923, allocations: 7.938 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.3925, allocations: 144.7 kB / 1.288 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3925, allocations: 0 / 1.288 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-05/0.3926, allocations: 8 kB / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3926, allocations: 0 / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.3926, allocations: 0 / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.3926, allocations: 3.984 kB / 1.288 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3926, allocations: 0 / 1.288 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.3928, allocations: 171.4 kB / 1.288 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.827e-05/0.3928, allocations: 7.891 kB / 1.288 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.3928, allocations: 4 kB / 1.288 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-05/0.3929, allocations: 7.984 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/0.393, allocations: 11.98 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.393, allocations: 3.938 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.878e-05/0.3931, allocations: 109 kB / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3931, allocations: 0 / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002255/0.3933, allocations: 8 kB / 1.289 GB, free: 5.742 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.0007008/0.394, allocations: 0.6929 MB / 1.289 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001572/0.3942, allocations: 31.98 kB / 1.289 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3942, allocations: 0 / 1.289 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.109e-05/0.3942, allocations: 19.98 kB / 1.289 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.3945, allocations: 15.92 kB / 1.289 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.3963, allocations: 1.385 MB / 1.291 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.165e-05/0.3963, allocations: 79.56 kB / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.05e-05/0.3964, allocations: 11.97 kB / 1.291 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.757e-05/0.3965, allocations: 23.44 kB / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.3965, allocations: 0 / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03316/0.4296, allocations: 2.212 MB / 1.293 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.93, allocations: 9.938 kB / 1.293 GB, free: 1.305 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] [Calling os._exit(0), Time elapsed: 18.891272068955004] Failed to read output from testmodel.py, exit status != 0: 12.691772126010619 12.130709191 11.736856042 Calling exit ...