Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.429/1.429, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 179.6 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 83.77 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004393, allocations: 11.56 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2655, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/0.4428, allocations: 135.3 MB / 1.032 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.4431, allocations: 79.95 kB / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02958/0.4727, allocations: 10.64 MB / 1.043 GB, free: 13.56 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4728, allocations: 0 / 1.043 GB, free: 13.56 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.304e-05/0.4728, allocations: 8 kB / 1.043 GB, free: 13.55 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001059/0.4739, allocations: 0.5915 MB / 1.043 GB, free: 12.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4739, allocations: 12.03 kB / 1.043 GB, free: 12.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.643e-05/0.474, allocations: 38.56 kB / 1.043 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.4741, allocations: 35.53 kB / 1.043 GB, free: 12.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007029/0.4748, allocations: 373.2 kB / 1.044 GB, free: 12.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.4749, allocations: 8 kB / 1.044 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.4749, allocations: 15.98 kB / 1.044 GB, free: 12.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.4752, allocations: 101.5 kB / 1.044 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.4752, allocations: 4 kB / 1.044 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.4752, allocations: 11.98 kB / 1.044 GB, free: 12.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4752, allocations: 3.938 kB / 1.044 GB, free: 12.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.4754, allocations: 67.95 kB / 1.044 GB, free: 12.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007956/0.4762, allocations: 0.4887 MB / 1.045 GB, free: 11.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.4766, allocations: 150.6 kB / 1.045 GB, free: 11.51 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.4766, allocations: 4 kB / 1.045 GB, free: 11.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.4768, allocations: 112 kB / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.824e-06/0.4768, allocations: 3.938 kB / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0005236/0.4774, allocations: 233.2 kB / 1.045 GB, free: 11.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.4774, allocations: 51.41 kB / 1.045 GB, free: 11.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000549/0.478, allocations: 464.8 kB / 1.045 GB, free: 10.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.478, allocations: 33.7 kB / 1.046 GB, free: 10.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.4781, allocations: 168.3 kB / 1.046 GB, free: 10.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.4782, allocations: 31.61 kB / 1.046 GB, free: 10.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/0.4782, allocations: 8 kB / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4783, allocations: 346.8 kB / 1.046 GB, free: 10.03 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.4786, allocations: 120.5 kB / 1.046 GB, free: 9.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.4788, allocations: 147.6 kB / 1.046 GB, free: 9.758 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.479, allocations: 127.9 kB / 1.046 GB, free: 9.633 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.479, allocations: 0 / 1.046 GB, free: 9.633 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005814/0.4796, allocations: 361.6 kB / 1.047 GB, free: 9.273 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.4797, allocations: 8 kB / 1.047 GB, free: 9.266 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4797, allocations: 0 / 1.047 GB, free: 9.266 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4797, allocations: 3.984 kB / 1.047 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.4799, allocations: 59.81 kB / 1.047 GB, free: 9.203 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.4799, allocations: 7.969 kB / 1.047 GB, free: 9.195 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.4801, allocations: 20.06 kB / 1.047 GB, free: 9.176 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.4802, allocations: 15.98 kB / 1.047 GB, free: 9.16 MB / 0.698 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 () * Number of clocked 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.0001784/0.4804, allocations: 185.8 kB / 1.047 GB, free: 8.969 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.4804, allocations: 31.62 kB / 1.047 GB, free: 8.938 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004112/0.4808, allocations: 204.6 kB / 1.047 GB, free: 8.727 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4808, allocations: 0 / 1.047 GB, free: 8.727 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.4809, allocations: 7.953 kB / 1.047 GB, free: 8.719 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4809, allocations: 0 / 1.047 GB, free: 8.719 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.4811, allocations: 305.4 kB / 1.048 GB, free: 8.371 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.4812, allocations: 3.984 kB / 1.048 GB, free: 8.367 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.818e-05/0.4812, allocations: 19.94 kB / 1.048 GB, free: 8.348 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4813, allocations: 4 kB / 1.048 GB, free: 8.344 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.4813, allocations: 7.984 kB / 1.048 GB, free: 8.336 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4813, allocations: 0 / 1.048 GB, free: 8.336 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.4813, allocations: 7.984 kB / 1.048 GB, free: 8.328 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.4817, allocations: 217.8 kB / 1.048 GB, free: 8.098 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.4818, allocations: 116.7 kB / 1.048 GB, free: 7.965 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.4818, allocations: 0 / 1.048 GB, free: 7.965 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.482, allocations: 19.98 kB / 1.048 GB, free: 7.945 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.4821, allocations: 15.98 kB / 1.048 GB, free: 7.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.4821, allocations: 7.984 kB / 1.048 GB, free: 7.922 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003513/0.4824, allocations: 307.1 kB / 1.048 GB, free: 7.621 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.1e-07/0.4824, allocations: 0 / 1.048 GB, free: 7.621 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003182/0.4828, allocations: 71.89 kB / 1.048 GB, free: 7.551 MB / 0.698 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) * Number of clocked states: 0 () * 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.001507/0.4843, allocations: 1.103 MB / 1.049 GB, free: 6.582 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000396/0.4847, allocations: 203.8 kB / 1.05 GB, free: 6.383 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4847, allocations: 0 / 1.05 GB, free: 6.383 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.4849, allocations: 70.86 kB / 1.05 GB, free: 6.316 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.4853, allocations: 77.47 kB / 1.05 GB, free: 6.246 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.4866, allocations: 1.189 MB / 1.051 GB, free: 5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.487, allocations: 0.7988 MB / 1.052 GB, free: 4.172 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001653/0.4872, allocations: 58.92 kB / 1.052 GB, free: 4.113 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.4874, allocations: 103.4 kB / 1.052 GB, free: 4.012 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/0.4874, allocations: 0 / 1.052 GB, free: 4.012 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4535/0.9409, allocations: 6.737 MB / 1.058 GB, free: 148.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/0.9411, allocations: 224.4 kB / 1.059 GB, free: 148.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/2.938, allocations: 4 kB / 1.059 GB, free: 148.5 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)