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.707/1.707, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001158/0.001158, allocations: 178.1 kB / 371.6 MB, free: 3.395 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.8/1.8, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0009376/0.0009377, allocations: 90.08 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.584e-05/3.587e-05, allocations: 4 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2904, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8058/1.096, allocations: 142.6 MB / 1.119 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/1.097, allocations: 77.39 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0257/1.122, allocations: 10.83 MB / 1.13 GB, free: 36.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.663e-06/1.122, allocations: 0 / 1.13 GB, free: 36.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.648e-05/1.122, allocations: 8 kB / 1.13 GB, free: 36.19 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006172/1.123, allocations: 0.5438 MB / 1.13 GB, free: 35.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/1.123, allocations: 8.781 kB / 1.13 GB, free: 35.65 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/1.123, allocations: 41.61 kB / 1.13 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/1.123, allocations: 33.34 kB / 1.13 GB, free: 35.58 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005923/1.124, allocations: 403.5 kB / 1.131 GB, free: 35.24 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/1.124, allocations: 5.125 kB / 1.131 GB, free: 35.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/1.124, allocations: 11.88 kB / 1.131 GB, free: 35.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/1.124, allocations: 110.3 kB / 1.131 GB, free: 35.15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/1.124, allocations: 3.984 kB / 1.131 GB, free: 35.15 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/1.124, allocations: 0.8438 kB / 1.131 GB, free: 35.15 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/1.124, allocations: 4 kB / 1.131 GB, free: 35.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/1.124, allocations: 58.16 kB / 1.131 GB, free: 35.11 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007564/1.125, allocations: 0.5138 MB / 1.131 GB, free: 34.72 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/1.125, allocations: 127.4 kB / 1.132 GB, free: 34.63 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.793e-05/1.125, allocations: 47.7 kB / 1.132 GB, free: 34.6 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/1.125, allocations: 0.5625 kB / 1.132 GB, free: 34.6 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/1.125, allocations: 122.2 kB / 1.132 GB, free: 34.51 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/1.125, allocations: 3.938 kB / 1.132 GB, free: 34.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0003123/1.126, allocations: 181 kB / 1.132 GB, free: 34.37 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/1.126, allocations: 55.41 kB / 1.132 GB, free: 34.3 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004531/1.126, allocations: 471.9 kB / 1.132 GB, free: 33.97 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/1.126, allocations: 26.92 kB / 1.132 GB, free: 33.94 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/1.126, allocations: 172.2 kB / 1.133 GB, free: 33.83 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/1.126, allocations: 38.84 kB / 1.133 GB, free: 33.8 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/1.126, allocations: 7.938 kB / 1.133 GB, free: 33.8 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.531e-05/1.126, allocations: 348.2 kB / 1.133 GB, free: 33.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/1.127, allocations: 117.3 kB / 1.133 GB, free: 33.4 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/1.127, allocations: 147.4 kB / 1.133 GB, free: 33.3 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/1.127, allocations: 123.2 kB / 1.133 GB, free: 33.24 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.127, allocations: 4 kB / 1.133 GB, free: 33.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004347/1.127, allocations: 351.9 kB / 1.134 GB, free: 33 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.127, allocations: 8 kB / 1.134 GB, free: 32.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.127, allocations: 0 / 1.134 GB, free: 32.99 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/1.127, allocations: 0 / 1.134 GB, free: 32.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/1.128, allocations: 55.62 kB / 1.134 GB, free: 32.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/1.128, allocations: 4 kB / 1.134 GB, free: 32.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/1.128, allocations: 26.52 kB / 1.134 GB, free: 32.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/1.128, allocations: 15.62 kB / 1.134 GB, free: 32.91 MB / 0.7448 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 7.501e-05/1.128, allocations: 120.7 kB / 1.134 GB, free: 32.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/1.128, allocations: 31.62 kB / 1.134 GB, free: 32.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/1.128, allocations: 197.3 kB / 1.134 GB, free: 32.63 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/1.128, allocations: 4 kB / 1.134 GB, free: 32.63 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/1.128, allocations: 3.953 kB / 1.134 GB, free: 32.62 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/1.128, allocations: 8.062 kB / 1.134 GB, free: 32.62 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/1.129, allocations: 299.6 kB / 1.134 GB, free: 32.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/1.129, allocations: 4 kB / 1.134 GB, free: 32.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.427e-05/1.129, allocations: 20.11 kB / 1.134 GB, free: 32.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/1.129, allocations: 4 kB / 1.134 GB, free: 32.35 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/1.129, allocations: 7.234 kB / 1.134 GB, free: 32.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.129, allocations: 0 / 1.134 GB, free: 32.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.129, allocations: 1.125 kB / 1.134 GB, free: 32.35 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/1.129, allocations: 214.2 kB / 1.135 GB, free: 32.17 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.101e-05/1.129, allocations: 121 kB / 1.135 GB, free: 32.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/1.129, allocations: 7.5 kB / 1.135 GB, free: 32.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/1.129, allocations: 14.81 kB / 1.135 GB, free: 32.03 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/1.129, allocations: 18.7 kB / 1.135 GB, free: 32.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/1.129, allocations: 7.938 kB / 1.135 GB, free: 32.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002996/1.13, allocations: 319.6 kB / 1.135 GB, free: 31.8 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.61e-07/1.13, allocations: 0 / 1.135 GB, free: 31.8 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003166/1.13, allocations: 74.73 kB / 1.135 GB, free: 31.73 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: 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.001219/1.131, allocations: 1.036 MB / 1.136 GB, free: 30.87 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002867/1.132, allocations: 201.7 kB / 1.136 GB, free: 30.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.132, allocations: 0 / 1.136 GB, free: 30.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.698e-05/1.132, allocations: 65.22 kB / 1.136 GB, free: 30.7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/1.132, allocations: 82.95 kB / 1.137 GB, free: 30.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008016/1.133, allocations: 0.5242 MB / 1.137 GB, free: 30.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/1.133, allocations: 0.7943 MB / 1.138 GB, free: 29.48 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001462/1.133, allocations: 55.44 kB / 1.138 GB, free: 29.44 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/1.133, allocations: 110.5 kB / 1.138 GB, free: 29.42 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/1.133, allocations: 0 / 1.138 GB, free: 29.42 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/1.153, allocations: 7.078 MB / 1.145 GB, free: 25.22 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/1.153, allocations: 193.9 kB / 1.145 GB, free: 25 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.065/3.218, allocations: 7.234 kB / 1.145 GB, free: 24.99 MB / 0.7448 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)