Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 2.89/2.89, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.002485/0.002485, allocations: 184.9 kB / 361.4 MB, free: 6.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.175/3.175, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.001289/0.001289, allocations: 99.17 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.404e-05/3.432e-05, allocations: 8 kB / 0.8519 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.21/1.21, allocations: 115.3 MB / 0.9645 GB, free: 78.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3292/1.539, allocations: 137 MB / 1.098 GB, free: 2.758 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/1.539, allocations: 67.95 kB / 1.098 GB, free: 2.691 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004817/1.544, allocations: 0.9485 MB / 1.099 GB, free: 1.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.566e-06/1.544, allocations: 0 / 1.099 GB, free: 1.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.07e-05/1.544, allocations: 0.6562 kB / 1.099 GB, free: 1.77 MB / 0.698 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.0007073/1.545, allocations: 352.3 kB / 1.1 GB, free: 1.383 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.154e-05/1.545, allocations: 8.031 kB / 1.1 GB, free: 1.375 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.516e-05/1.545, allocations: 9.594 kB / 1.1 GB, free: 1.367 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/1.546, allocations: 172.9 kB / 1.1 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/1.546, allocations: 0 / 1.1 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/1.546, allocations: 2.172 kB / 1.1 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001484/1.546, allocations: 27.98 kB / 1.1 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/1.546, allocations: 61.23 kB / 1.1 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/1.546, allocations: 0 / 1.1 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/1.546, allocations: 0.5 kB / 1.1 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/1.546, allocations: 0.625 kB / 1.1 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007447/1.547, allocations: 262.6 kB / 1.1 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/1.547, allocations: 47.56 kB / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.728e-05/1.547, allocations: 21.55 kB / 1.1 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/1.547, allocations: 0.6875 kB / 1.1 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/1.547, allocations: 32.94 kB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 5.74e-06/1.547, allocations: 2.203 kB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002983/1.548, allocations: 57.83 kB / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/1.548, allocations: 52.34 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/1.548, allocations: 101 kB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/1.548, allocations: 28.89 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.702e-05/1.548, allocations: 88.05 kB / 1.101 GB, free: 320 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/1.548, allocations: 11.89 kB / 1.101 GB, free: 308 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/1.548, allocations: 0 / 1.101 GB, free: 308 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002095/1.548, allocations: 318.8 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.453e-05/1.548, allocations: 8 kB / 1.101 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.315e-05/1.548, allocations: 12 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.358e-05/1.548, allocations: 17.27 kB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/1.548, allocations: 3 kB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001872/1.549, allocations: 65.53 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/1.549, allocations: 6.281 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.549, allocations: 0 / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/1.549, allocations: 0 / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/1.549, allocations: 16.55 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/1.549, allocations: 0 / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/1.549, allocations: 15.48 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/1.549, allocations: 0 / 1.101 GB, free: 15.84 MB / 0.7136 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 0.0001488/1.549, allocations: 108.9 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001935/1.55, allocations: 61.62 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/1.55, allocations: 3.906 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.232e-05/1.55, allocations: 16.17 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/1.55, allocations: 4 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.55, allocations: 0 / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.55, allocations: 0 / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/1.55, allocations: 150.2 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.55, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/1.55, allocations: 15.98 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/1.55, allocations: 0 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/1.55, allocations: 7.672 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.55, allocations: 0 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.778e-06/1.55, allocations: 0 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/1.551, allocations: 162.2 kB / 1.102 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-05/1.551, allocations: 81.02 kB / 1.102 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/1.551, allocations: 0 / 1.102 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/1.551, allocations: 15.92 kB / 1.102 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/1.551, allocations: 11.98 kB / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/1.551, allocations: 7.984 kB / 1.102 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.53e-05/1.551, allocations: 86.25 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.21e-07/1.551, allocations: 0 / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004648/1.552, allocations: 12 kB / 1.102 GB, free: 15.04 MB / 0.7136 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.000802/1.553, allocations: 0.6978 MB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002164/1.553, allocations: 27.94 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/1.553, allocations: 4 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.572e-05/1.553, allocations: 23.98 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/1.553, allocations: 11.08 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006426/1.554, allocations: 115.9 kB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/1.554, allocations: 0.6846 MB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.845e-05/1.554, allocations: 8 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.305e-05/1.554, allocations: 15.44 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of SimCode: time 8.32e-07/1.554, allocations: 0 / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09419/1.649, allocations: 1.187 MB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003999/1.649, allocations: 162 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.899/4.549, allocations: 0 / 1.105 GB, free: 12.05 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)