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.Less.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.Less,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Less",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.682/2.682, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.002526/0.002526, allocations: 187.8 kB / 361.4 MB, free: 6.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.637/2.637, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.001202/0.001202, allocations: 103.9 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.926e-05/6.93e-05, allocations: 4 kB / 0.8518 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167/1.167, allocations: 115.3 MB / 0.9645 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2925/1.46, allocations: 140.9 MB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000387/1.46, allocations: 75.95 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04936/1.51, allocations: 10.76 MB / 1.113 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.033e-06/1.51, allocations: 0 / 1.113 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.016e-05/1.51, allocations: 8 kB / 1.113 GB, free: 4.055 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001576/1.512, allocations: 0.5328 MB / 1.113 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.774e-05/1.512, allocations: 12.03 kB / 1.113 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/1.512, allocations: 32.66 kB / 1.113 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/1.513, allocations: 399.5 kB / 1.114 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/1.513, allocations: 7.984 kB / 1.114 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/1.513, allocations: 4 kB / 1.114 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002246/1.514, allocations: 60.73 kB / 1.114 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/1.514, allocations: 102.6 kB / 1.114 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/1.514, allocations: 4 kB / 1.114 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/1.514, allocations: 0 / 1.114 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/1.514, allocations: 4 kB / 1.114 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/1.515, allocations: 489 kB / 1.114 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/1.516, allocations: 126.7 kB / 1.114 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/1.516, allocations: 36.86 kB / 1.114 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/1.516, allocations: 4 kB / 1.114 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002898/1.516, allocations: 107.5 kB / 1.115 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 3.366e-06/1.516, allocations: 7.938 kB / 1.115 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0005685/1.517, allocations: 173.3 kB / 1.115 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/1.517, allocations: 55.36 kB / 1.115 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000965/1.518, allocations: 465.7 kB / 1.115 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/1.518, allocations: 25.7 kB / 1.115 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/1.518, allocations: 168.3 kB / 1.115 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.735e-05/1.518, allocations: 39.55 kB / 1.115 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/1.518, allocations: 0 / 1.115 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001988/1.518, allocations: 342.8 kB / 1.116 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/1.519, allocations: 112.5 kB / 1.116 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/1.519, allocations: 139.4 kB / 1.116 GB, free: 484 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006081/1.52, allocations: 140.9 kB / 1.116 GB, free: 344 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.52, allocations: 0 / 1.116 GB, free: 344 kB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001089/1.521, allocations: 345.2 kB / 1.116 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/1.521, allocations: 12.06 kB / 1.116 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.521, allocations: 0 / 1.116 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/1.521, allocations: 0 / 1.116 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/1.521, allocations: 55.86 kB / 1.117 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/1.521, allocations: 5.484 kB / 1.117 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/1.522, allocations: 19.78 kB / 1.117 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/1.522, allocations: 15.98 kB / 1.117 GB, free: 15.89 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001576/1.522, allocations: 120.7 kB / 1.117 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004144/1.522, allocations: 169.3 kB / 1.117 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.498e-05/1.522, allocations: 35.53 kB / 1.117 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005709/1.523, allocations: 189.9 kB / 1.117 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/1.523, allocations: 0 / 1.117 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/1.523, allocations: 7.891 kB / 1.117 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/1.523, allocations: 0 / 1.117 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004467/1.523, allocations: 278 kB / 1.117 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/1.523, allocations: 1.375 kB / 1.117 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/1.524, allocations: 15.98 kB / 1.117 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/1.524, allocations: 4 kB / 1.117 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/1.524, allocations: 4 kB / 1.117 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/1.524, allocations: 0 / 1.117 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.524, allocations: 0 / 1.117 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/1.524, allocations: 217.8 kB / 1.118 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/1.524, allocations: 116.7 kB / 1.118 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/1.524, allocations: 0 / 1.118 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/1.525, allocations: 11.98 kB / 1.118 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/1.525, allocations: 22.8 kB / 1.118 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/1.525, allocations: 11.98 kB / 1.118 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005956/1.525, allocations: 294.2 kB / 1.118 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.71e-07/1.525, allocations: 0 / 1.118 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005972/1.526, allocations: 67.92 kB / 1.118 GB, free: 14.27 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002174/1.528, allocations: 1.008 MB / 1.119 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005293/1.529, allocations: 182.3 kB / 1.119 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.529, allocations: 0 / 1.119 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/1.529, allocations: 59.92 kB / 1.119 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000757/1.53, allocations: 79.81 kB / 1.119 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/1.532, allocations: 0.5058 MB / 1.12 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006332/1.532, allocations: 0.7991 MB / 1.121 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002858/1.533, allocations: 58.77 kB / 1.121 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/1.533, allocations: 112.4 kB / 1.121 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of SimCode: time 1.002e-06/1.533, allocations: 0 / 1.121 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07794/1.611, allocations: 6.486 MB / 1.127 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003615/1.611, allocations: 188.8 kB / 1.127 GB, free: 4.988 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.821/5.433, allocations: 0 / 1.127 GB, free: 4.988 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)