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.001372/0.001372, allocations: 119.3 kB / 17.17 MB, free: 5.977 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.001455/0.001455, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.518/1.518, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 3.026/3.026, allocations: 476.7 MB / 0.7678 GB, free: 9.328 MB / 0.6075 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.00228/0.00228, allocations: 67.89 kB / 1.113 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102/1.104, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002272/1.107, allocations: 0.8232 MB / 1.28 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001359/1.108, allocations: 0.9194 MB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.682e-05/1.108, allocations: 6.125 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001393/1.108, allocations: 10.56 kB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.473e-05/1.108, allocations: 19.64 kB / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/1.109, allocations: 31.14 kB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000154/1.109, allocations: 73.45 kB / 1.281 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/1.109, allocations: 26.3 kB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/1.109, allocations: 42.81 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.697e-05/1.109, allocations: 28.64 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/1.109, allocations: 9.406 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.562e-05/1.109, allocations: 8.016 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/1.109, allocations: 12.86 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/1.109, allocations: 31.94 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/1.11, allocations: 85.94 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.11, allocations: 4.516 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/1.11, allocations: 0 / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.951e-06/1.11, allocations: 0 / 1.281 GB, free: 10.29 MB / 0.9981 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.0006238/1.11, allocations: 387.8 kB / 1.281 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/1.11, allocations: 11.22 kB / 1.281 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.764e-05/1.11, allocations: 1.344 kB / 1.281 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.676e-05/1.11, allocations: 37.09 kB / 1.281 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/1.11, allocations: 21.61 kB / 1.282 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/1.111, allocations: 208.6 kB / 1.282 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/1.111, allocations: 6.812 kB / 1.282 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/1.111, allocations: 3.625 kB / 1.282 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/1.111, allocations: 67.03 kB / 1.282 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/1.111, allocations: 0 / 1.282 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/1.111, allocations: 0 / 1.282 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.111, allocations: 1.312 kB / 1.282 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/1.111, allocations: 39.86 kB / 1.282 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005499/1.112, allocations: 313.3 kB / 1.282 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/1.112, allocations: 50.02 kB / 1.282 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.323e-05/1.112, allocations: 22.98 kB / 1.282 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/1.112, allocations: 0.5312 kB / 1.282 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/1.112, allocations: 31.62 kB / 1.282 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/1.112, allocations: 3.938 kB / 1.282 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0003122/1.112, allocations: 79.73 kB / 1.282 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/1.112, allocations: 53.17 kB / 1.282 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/1.112, allocations: 131.7 kB / 1.282 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/1.112, allocations: 30.86 kB / 1.283 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.877e-05/1.112, allocations: 102.8 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/1.113, allocations: 10.47 kB / 1.283 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/1.113, allocations: 22.84 kB / 1.283 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000177/1.113, allocations: 323.3 kB / 1.283 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.738e-05/1.113, allocations: 14.58 kB / 1.283 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.89e-05/1.113, allocations: 15.27 kB / 1.283 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/1.113, allocations: 30.16 kB / 1.283 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.113, allocations: 0.5 kB / 1.283 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001714/1.113, allocations: 70.7 kB / 1.283 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/1.113, allocations: 6.109 kB / 1.283 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/1.113, allocations: 3.984 kB / 1.283 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/1.113, allocations: 1 kB / 1.283 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.008e-05/1.113, allocations: 5.172 kB / 1.283 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/1.113, allocations: 4.516 kB / 1.283 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.94e-05/1.113, allocations: 17.39 kB / 1.283 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/1.113, allocations: 6.281 kB / 1.283 GB, free: 8.383 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 (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.0001044/1.114, allocations: 115.8 kB / 1.283 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/1.114, allocations: 7.109 kB / 1.283 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/1.114, allocations: 7.547 kB / 1.283 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/1.114, allocations: 1.781 kB / 1.283 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/1.114, allocations: 0 / 1.283 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.114, allocations: 4.469 kB / 1.283 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/1.114, allocations: 179.5 kB / 1.283 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.114, allocations: 4 kB / 1.283 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/1.114, allocations: 5.656 kB / 1.283 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/1.114, allocations: 0.5312 kB / 1.283 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/1.114, allocations: 5.047 kB / 1.283 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.114, allocations: 0.5312 kB / 1.283 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.79e-06/1.114, allocations: 5.156 kB / 1.283 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/1.114, allocations: 162.9 kB / 1.284 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/1.114, allocations: 87.83 kB / 1.284 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/1.114, allocations: 1.375 kB / 1.284 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/1.114, allocations: 10.45 kB / 1.284 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/1.114, allocations: 7.578 kB / 1.284 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/1.114, allocations: 8.453 kB / 1.284 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.918e-05/1.114, allocations: 105.3 kB / 1.284 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.114, allocations: 0 / 1.284 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002225/1.115, allocations: 16.09 kB / 1.284 GB, free: 7.688 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 (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.0006784/1.115, allocations: 0.7031 MB / 1.285 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001905/1.116, allocations: 32.89 kB / 1.285 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.116, allocations: 0 / 1.285 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.508e-05/1.116, allocations: 16.17 kB / 1.285 GB, free: 7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/1.116, allocations: 21.16 kB / 1.285 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/1.118, allocations: 1.377 MB / 1.286 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/1.118, allocations: 0.6898 MB / 1.287 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.845e-05/1.118, allocations: 8.859 kB / 1.287 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.404e-05/1.118, allocations: 24.95 kB / 1.287 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/1.118, allocations: 0 / 1.287 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/1.139, allocations: 2.045 MB / 1.289 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.341/9.48, allocations: 21.98 kB / 1.289 GB, free: 4.586 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.026503216999117] Failed to read output from testmodel.py, exit status != 0: 9.608559103973676 9.63464029 8.520382593999999 Calling exit ...