Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.Less,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.659/1.659, allocations: 292.6 MB / 307.5 MB, free: 5.176 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.00113/0.00113, allocations: 177.1 kB / 377.1 MB, free: 1.512 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.575/1.575, allocations: 205.4 MB / 0.6366 GB, free: 8.613 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.0009387/0.0009388, allocations: 96.12 kB / 0.7509 GB, free: 63.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004073, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2787, allocations: 116.3 MB / 0.9884 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8198/1.099, allocations: 142.6 MB / 1.128 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/1.099, allocations: 82.27 kB / 1.128 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03084/1.13, allocations: 10.87 MB / 1.138 GB, free: 25.36 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.596e-06/1.13, allocations: 4 kB / 1.138 GB, free: 25.36 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.718e-05/1.13, allocations: 11.94 kB / 1.138 GB, free: 25.35 MB / 0.7292 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.0009842/1.131, allocations: 0.6067 MB / 1.139 GB, free: 24.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/1.131, allocations: 16.58 kB / 1.139 GB, free: 24.72 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.489e-05/1.131, allocations: 37.09 kB / 1.139 GB, free: 24.68 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.369e-05/1.131, allocations: 39.39 kB / 1.139 GB, free: 24.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007316/1.132, allocations: 409.8 kB / 1.14 GB, free: 24.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/1.132, allocations: 11.44 kB / 1.14 GB, free: 24.24 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/1.132, allocations: 8.703 kB / 1.14 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/1.132, allocations: 106.8 kB / 1.14 GB, free: 24.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/1.132, allocations: 0 / 1.14 GB, free: 24.14 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/1.132, allocations: 5.688 kB / 1.14 GB, free: 24.14 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/1.132, allocations: 4 kB / 1.14 GB, free: 24.14 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/1.132, allocations: 68.84 kB / 1.14 GB, free: 24.08 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009049/1.133, allocations: 0.5082 MB / 1.14 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/1.134, allocations: 152.7 kB / 1.14 GB, free: 23.47 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/1.134, allocations: 3.984 kB / 1.14 GB, free: 23.47 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/1.134, allocations: 113.6 kB / 1.14 GB, free: 23.37 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.522e-06/1.134, allocations: 0 / 1.14 GB, free: 23.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0005587/1.135, allocations: 230.8 kB / 1.141 GB, free: 23.16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/1.135, allocations: 59.62 kB / 1.141 GB, free: 23.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006023/1.135, allocations: 479.5 kB / 1.141 GB, free: 22.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/1.135, allocations: 34.3 kB / 1.141 GB, free: 22.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/1.135, allocations: 166.6 kB / 1.141 GB, free: 22.48 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/1.136, allocations: 31.05 kB / 1.141 GB, free: 22.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/1.136, allocations: 8 kB / 1.141 GB, free: 22.45 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.136, allocations: 346 kB / 1.142 GB, free: 22.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/1.136, allocations: 118.6 kB / 1.142 GB, free: 22.01 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/1.136, allocations: 160.8 kB / 1.142 GB, free: 21.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/1.136, allocations: 127.2 kB / 1.142 GB, free: 21.75 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.136, allocations: 0 / 1.142 GB, free: 21.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000617/1.137, allocations: 366.8 kB / 1.142 GB, free: 21.43 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.137, allocations: 8 kB / 1.142 GB, free: 21.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.137, allocations: 5.188 kB / 1.143 GB, free: 21.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/1.137, allocations: 4.609 kB / 1.143 GB, free: 21.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/1.137, allocations: 51.3 kB / 1.143 GB, free: 21.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/1.137, allocations: 8.75 kB / 1.143 GB, free: 21.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/1.138, allocations: 19.55 kB / 1.143 GB, free: 21.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.833e-05/1.138, allocations: 18.72 kB / 1.143 GB, free: 21.33 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 () * 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.0001904/1.138, allocations: 174.1 kB / 1.143 GB, free: 21.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/1.138, allocations: 40.33 kB / 1.143 GB, free: 21.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004318/1.138, allocations: 210 kB / 1.143 GB, free: 20.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.138, allocations: 4 kB / 1.143 GB, free: 20.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.138, allocations: 0 / 1.143 GB, free: 20.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/1.138, allocations: 4.75 kB / 1.143 GB, free: 20.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/1.139, allocations: 305.8 kB / 1.143 GB, free: 20.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.139, allocations: 3.938 kB / 1.143 GB, free: 20.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/1.139, allocations: 14.95 kB / 1.143 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/1.139, allocations: 4 kB / 1.143 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/1.139, allocations: 5.734 kB / 1.143 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/1.139, allocations: 0.5625 kB / 1.143 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.139, allocations: 4.812 kB / 1.143 GB, free: 20.6 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/1.139, allocations: 227.5 kB / 1.144 GB, free: 20.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/1.139, allocations: 117 kB / 1.144 GB, free: 20.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.577e-05/1.139, allocations: 9.641 kB / 1.144 GB, free: 20.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/1.139, allocations: 11.05 kB / 1.144 GB, free: 20.24 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/1.14, allocations: 22.89 kB / 1.144 GB, free: 20.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/1.14, allocations: 5.781 kB / 1.144 GB, free: 20.22 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003742/1.14, allocations: 320.5 kB / 1.144 GB, free: 19.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.41e-07/1.14, allocations: 4 kB / 1.144 GB, free: 19.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003413/1.14, allocations: 69.72 kB / 1.144 GB, free: 19.88 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) * 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.001629/1.142, allocations: 1.103 MB / 1.145 GB, free: 18.95 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004197/1.142, allocations: 202.3 kB / 1.145 GB, free: 18.78 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.142, allocations: 1.406 kB / 1.145 GB, free: 18.78 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/1.143, allocations: 68.8 kB / 1.145 GB, free: 18.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/1.143, allocations: 76.55 kB / 1.146 GB, free: 18.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/1.144, allocations: 1.211 MB / 1.147 GB, free: 17.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/1.145, allocations: 0.7981 MB / 1.147 GB, free: 16.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001898/1.145, allocations: 52.59 kB / 1.148 GB, free: 16.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/1.145, allocations: 116.1 kB / 1.148 GB, free: 16.56 MB / 0.7292 GB Notification: Performance of SimCode: time 3.31e-07/1.145, allocations: 3.938 kB / 1.148 GB, free: 16.56 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/1.17, allocations: 7.009 MB / 1.154 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/1.17, allocations: 216.7 kB / 1.155 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.277/3.447, allocations: 3.938 kB / 1.155 GB, free: 12.19 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)