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.533/1.533, allocations: 249.3 MB / 261.8 MB, free: 5.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 180.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.2 MB / 0.572 GB, free: 10.72 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.0009166/0.0009167, allocations: 84.33 kB / 0.6764 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.911e-05/3.913e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2357, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8499/1.086, allocations: 135.3 MB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/1.086, allocations: 78.58 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03004/1.116, allocations: 10.62 MB / 1.034 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.693e-06/1.116, allocations: 0 / 1.034 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.54e-05/1.116, allocations: 4 kB / 1.034 GB, free: 6.414 MB / 0.6511 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.0007793/1.117, allocations: 0.5225 MB / 1.035 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/1.117, allocations: 8.031 kB / 1.035 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.661e-05/1.117, allocations: 49.48 kB / 1.035 GB, free: 5.805 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.508e-05/1.117, allocations: 39.53 kB / 1.035 GB, free: 5.766 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006643/1.118, allocations: 375.4 kB / 1.035 GB, free: 5.398 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/1.118, allocations: 6.5 kB / 1.035 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/1.118, allocations: 7.625 kB / 1.035 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/1.118, allocations: 105.9 kB / 1.036 GB, free: 5.301 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/1.118, allocations: 0 / 1.036 GB, free: 5.301 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/1.118, allocations: 3.562 kB / 1.036 GB, free: 5.301 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/1.118, allocations: 4 kB / 1.036 GB, free: 5.297 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/1.118, allocations: 61.84 kB / 1.036 GB, free: 5.254 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007685/1.119, allocations: 0.4936 MB / 1.036 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/1.119, allocations: 141.4 kB / 1.036 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.191e-05/1.119, allocations: 45.97 kB / 1.036 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/1.119, allocations: 3.125 kB / 1.036 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/1.12, allocations: 105.4 kB / 1.036 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/1.12, allocations: 0 / 1.036 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0003554/1.12, allocations: 186.7 kB / 1.037 GB, free: 4.391 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/1.12, allocations: 55.41 kB / 1.037 GB, free: 4.324 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005403/1.121, allocations: 461 kB / 1.037 GB, free: 3.965 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/1.121, allocations: 33.31 kB / 1.037 GB, free: 3.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/1.121, allocations: 164.6 kB / 1.037 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/1.121, allocations: 34.55 kB / 1.037 GB, free: 3.781 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/1.121, allocations: 11.38 kB / 1.037 GB, free: 3.773 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.121, allocations: 343.5 kB / 1.038 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/1.121, allocations: 116.1 kB / 1.038 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/1.121, allocations: 144.5 kB / 1.038 GB, free: 3.254 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/1.122, allocations: 116.6 kB / 1.038 GB, free: 3.176 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.122, allocations: 0 / 1.038 GB, free: 3.176 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005155/1.122, allocations: 352.6 kB / 1.038 GB, free: 2.902 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.122, allocations: 11.94 kB / 1.038 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.122, allocations: 0 / 1.038 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/1.122, allocations: 3.953 kB / 1.038 GB, free: 2.887 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/1.122, allocations: 55.42 kB / 1.038 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/1.122, allocations: 8.047 kB / 1.038 GB, free: 2.828 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/1.123, allocations: 26.47 kB / 1.038 GB, free: 2.805 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/1.123, allocations: 19.36 kB / 1.038 GB, free: 2.789 MB / 0.6511 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 9.859e-05/1.123, allocations: 116.2 kB / 1.039 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/1.123, allocations: 27.62 kB / 1.039 GB, free: 2.648 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003517/1.123, allocations: 197 kB / 1.039 GB, free: 2.484 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.123, allocations: 7.984 kB / 1.039 GB, free: 2.477 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.123, allocations: 3.953 kB / 1.039 GB, free: 2.473 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/1.123, allocations: 0 / 1.039 GB, free: 2.473 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/1.123, allocations: 309 kB / 1.039 GB, free: 2.168 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/1.123, allocations: 4 kB / 1.039 GB, free: 2.164 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.84e-05/1.124, allocations: 15.98 kB / 1.039 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/1.124, allocations: 0 / 1.039 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/1.124, allocations: 7.438 kB / 1.039 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.124, allocations: 0 / 1.039 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.124, allocations: 4 kB / 1.039 GB, free: 2.141 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/1.124, allocations: 220.8 kB / 1.039 GB, free: 1.941 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/1.124, allocations: 112.2 kB / 1.039 GB, free: 1.816 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/1.124, allocations: 7.062 kB / 1.039 GB, free: 1.812 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/1.124, allocations: 7.125 kB / 1.039 GB, free: 1.809 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.475e-05/1.124, allocations: 18.66 kB / 1.039 GB, free: 1.793 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/1.124, allocations: 7.984 kB / 1.039 GB, free: 1.785 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003213/1.125, allocations: 308.5 kB / 1.04 GB, free: 1.547 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/1.125, allocations: 4 kB / 1.04 GB, free: 1.543 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002972/1.125, allocations: 66.12 kB / 1.04 GB, free: 1.484 MB / 0.6511 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.001406/1.126, allocations: 1.038 MB / 1.041 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003572/1.127, allocations: 189 kB / 1.041 GB, free: 432 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.127, allocations: 4.125 kB / 1.041 GB, free: 428 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/1.127, allocations: 62.8 kB / 1.041 GB, free: 384 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004944/1.127, allocations: 79.31 kB / 1.041 GB, free: 320 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/1.129, allocations: 0.5185 MB / 1.042 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/1.129, allocations: 0.7937 MB / 1.042 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002121/1.129, allocations: 54.92 kB / 1.042 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/1.129, allocations: 105.1 kB / 1.043 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of SimCode: time 1.112e-06/1.129, allocations: 7.938 kB / 1.043 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/1.148, allocations: 6.796 MB / 1.049 GB, free: 8.234 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/1.149, allocations: 202.3 kB / 1.049 GB, free: 8.008 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.064/3.212, allocations: 0 / 1.049 GB, free: 8.008 MB / 0.6667 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)