Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.913/1.913, allocations: 289.7 MB / 302.2 MB, free: 2.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 178.8 kB / 371.6 MB, free: 3.328 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009486/0.0009486, allocations: 85.64 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.075e-05/5.077e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2782, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8565/1.135, allocations: 138.7 MB / 1.115 GB, free: 44.88 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001601/1.135, allocations: 69.86 kB / 1.115 GB, free: 44.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002341/1.137, allocations: 0.9419 MB / 1.116 GB, free: 44.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.002e-06/1.137, allocations: 4.469 kB / 1.116 GB, free: 44.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.49e-06/1.137, allocations: 0.8438 kB / 1.116 GB, free: 44.2 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003335/1.138, allocations: 360.7 kB / 1.117 GB, free: 43.83 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/1.138, allocations: 8.031 kB / 1.117 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.083e-05/1.138, allocations: 31.12 kB / 1.117 GB, free: 43.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.523e-05/1.138, allocations: 8.062 kB / 1.117 GB, free: 43.78 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.006e-05/1.138, allocations: 163.1 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/1.138, allocations: 7.203 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/1.138, allocations: 6 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/1.138, allocations: 56.34 kB / 1.117 GB, free: 43.53 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/1.138, allocations: 1 kB / 1.117 GB, free: 43.53 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/1.138, allocations: 0.7969 kB / 1.117 GB, free: 43.53 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.138, allocations: 0 / 1.117 GB, free: 43.53 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.445e-05/1.138, allocations: 34.47 kB / 1.117 GB, free: 43.51 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/1.138, allocations: 288.6 kB / 1.117 GB, free: 43.22 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.71e-05/1.139, allocations: 53.28 kB / 1.117 GB, free: 43.17 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/1.139, allocations: 19.7 kB / 1.117 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/1.139, allocations: 0 / 1.117 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.342e-05/1.139, allocations: 33.62 kB / 1.117 GB, free: 43.12 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/1.139, allocations: 4 kB / 1.117 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001543/1.139, allocations: 60.86 kB / 1.117 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/1.139, allocations: 51.41 kB / 1.117 GB, free: 43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.441e-05/1.139, allocations: 100.2 kB / 1.118 GB, free: 42.9 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/1.139, allocations: 25.7 kB / 1.118 GB, free: 42.87 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.982e-05/1.139, allocations: 97.11 kB / 1.118 GB, free: 42.78 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/1.139, allocations: 3.906 kB / 1.118 GB, free: 42.78 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/1.139, allocations: 0 / 1.118 GB, free: 42.78 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.404e-05/1.139, allocations: 326.7 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.604e-05/1.139, allocations: 14.23 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.22e-05/1.139, allocations: 11.88 kB / 1.118 GB, free: 42.44 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.877e-05/1.139, allocations: 7.734 kB / 1.118 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/1.139, allocations: 4 kB / 1.118 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.576e-05/1.139, allocations: 59.83 kB / 1.118 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/1.139, allocations: 8 kB / 1.118 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/1.139, allocations: 0 / 1.118 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/1.139, allocations: 0 / 1.118 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/1.139, allocations: 16.25 kB / 1.118 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/1.139, allocations: 0 / 1.118 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.562e-05/1.14, allocations: 16.12 kB / 1.118 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/1.14, allocations: 4.938 kB / 1.118 GB, free: 42.35 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesThr.u,intLesThr.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.47e-05/1.14, allocations: 117.4 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/1.14, allocations: 4 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/1.14, allocations: 11.48 kB / 1.118 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/1.14, allocations: 0 / 1.118 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.14, allocations: 4.75 kB / 1.118 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/1.14, allocations: 0 / 1.118 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/1.14, allocations: 182.9 kB / 1.118 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.14, allocations: 0 / 1.118 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.77e-05/1.14, allocations: 12.59 kB / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/1.14, allocations: 4 kB / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/1.14, allocations: 3.328 kB / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.14, allocations: 0 / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.14, allocations: 1.469 kB / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/1.14, allocations: 162.1 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.06e-05/1.14, allocations: 80.48 kB / 1.119 GB, free: 41.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/1.14, allocations: 4 kB / 1.119 GB, free: 41.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/1.14, allocations: 7.469 kB / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/1.14, allocations: 14.64 kB / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/1.14, allocations: 4 kB / 1.119 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.853e-05/1.14, allocations: 92.59 kB / 1.119 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.14, allocations: 0 / 1.119 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002083/1.141, allocations: 12 kB / 1.119 GB, free: 41.63 MB / 0.7448 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 (intLesThr.u,intLesThr.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002871/1.141, allocations: 0.7029 MB / 1.119 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.272e-05/1.141, allocations: 34.41 kB / 1.12 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.141, allocations: 4 kB / 1.12 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.734e-05/1.141, allocations: 19.14 kB / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/1.141, allocations: 2.141 kB / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/1.141, allocations: 116.7 kB / 1.12 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/1.142, allocations: 0.6836 MB / 1.12 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.315e-05/1.142, allocations: 8 kB / 1.12 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/1.142, allocations: 17.31 kB / 1.12 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/1.142, allocations: 0.75 kB / 1.12 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01293/1.155, allocations: 1.515 MB / 1.122 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/1.155, allocations: 165 kB / 1.122 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/2.741, allocations: 0 / 1.122 GB, free: 39.01 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)