Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.299/2.299, allocations: 248.5 MB / 261.1 MB, free: 5.957 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.001459/0.001459, allocations: 171.4 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.001161/0.001161, allocations: 110.8 kB / 0.6754 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.695e-05/5.712e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2294, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9148/1.144, allocations: 135.1 MB / 1.023 GB, free: 168 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/1.145, allocations: 77.52 kB / 1.023 GB, free: 128 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0454/1.19, allocations: 10.61 MB / 1.033 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.983e-06/1.19, allocations: 0 / 1.033 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.766e-05/1.19, allocations: 7.938 kB / 1.033 GB, free: 7.125 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.001013/1.191, allocations: 0.5358 MB / 1.034 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/1.191, allocations: 12.02 kB / 1.034 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.95e-05/1.191, allocations: 38.19 kB / 1.034 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/1.191, allocations: 39.48 kB / 1.034 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008887/1.192, allocations: 366.5 kB / 1.034 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/1.192, allocations: 6.875 kB / 1.034 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/1.192, allocations: 11.94 kB / 1.034 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/1.193, allocations: 113.2 kB / 1.034 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.193, allocations: 4 kB / 1.034 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/1.193, allocations: 0 / 1.034 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/1.193, allocations: 0 / 1.034 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/1.193, allocations: 65.38 kB / 1.034 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/1.194, allocations: 0.5004 MB / 1.035 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/1.194, allocations: 129.8 kB / 1.035 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/1.194, allocations: 47.16 kB / 1.035 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/1.195, allocations: 4 kB / 1.035 GB, free: 5.355 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002797/1.195, allocations: 115.7 kB / 1.035 GB, free: 5.25 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 2.665e-06/1.195, allocations: 4 kB / 1.035 GB, free: 5.246 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0005336/1.195, allocations: 173 kB / 1.035 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/1.195, allocations: 55.41 kB / 1.035 GB, free: 5.035 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008411/1.196, allocations: 457.8 kB / 1.036 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/1.196, allocations: 29.27 kB / 1.036 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/1.196, allocations: 161.7 kB / 1.036 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.449e-05/1.197, allocations: 39.28 kB / 1.036 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/1.197, allocations: 3.938 kB / 1.036 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002407/1.197, allocations: 354 kB / 1.036 GB, free: 4.152 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004974/1.197, allocations: 113.5 kB / 1.036 GB, free: 4.074 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000551/1.198, allocations: 148.4 kB / 1.036 GB, free: 3.961 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/1.199, allocations: 118.6 kB / 1.037 GB, free: 3.883 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.199, allocations: 0 / 1.037 GB, free: 3.883 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001382/1.2, allocations: 348.4 kB / 1.037 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/1.2, allocations: 8.062 kB / 1.037 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/1.2, allocations: 11.89 kB / 1.037 GB, free: 3.594 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/1.2, allocations: 0 / 1.037 GB, free: 3.594 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000749/1.201, allocations: 55.09 kB / 1.037 GB, free: 3.543 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/1.201, allocations: 0 / 1.037 GB, free: 3.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006018/1.202, allocations: 23.2 kB / 1.037 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-05/1.202, allocations: 15.06 kB / 1.037 GB, free: 3.512 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 0.0002147/1.202, allocations: 132.2 kB / 1.037 GB, free: 3.383 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/1.202, allocations: 31.62 kB / 1.037 GB, free: 3.352 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008878/1.203, allocations: 188.9 kB / 1.037 GB, free: 3.195 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/1.203, allocations: 7.953 kB / 1.037 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.203, allocations: 0 / 1.037 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/1.203, allocations: 0 / 1.037 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007154/1.204, allocations: 309.6 kB / 1.038 GB, free: 2.883 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.204, allocations: 0 / 1.038 GB, free: 2.883 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/1.204, allocations: 19.92 kB / 1.038 GB, free: 2.863 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/1.204, allocations: 0 / 1.038 GB, free: 2.863 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/1.204, allocations: 11.98 kB / 1.038 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/1.204, allocations: 0 / 1.038 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.204, allocations: 3.953 kB / 1.038 GB, free: 2.848 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008473/1.205, allocations: 210.1 kB / 1.038 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002443/1.205, allocations: 114.8 kB / 1.038 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/1.205, allocations: 6.75 kB / 1.038 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/1.206, allocations: 7.984 kB / 1.038 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/1.206, allocations: 25.86 kB / 1.038 GB, free: 2.504 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/1.206, allocations: 8 kB / 1.038 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007464/1.207, allocations: 308 kB / 1.038 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.81e-07/1.207, allocations: 0 / 1.038 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000912/1.208, allocations: 78.3 kB / 1.038 GB, free: 2.191 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.002712/1.21, allocations: 1.029 MB / 1.039 GB, free: 1.301 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008433/1.211, allocations: 188.1 kB / 1.04 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.211, allocations: 4 kB / 1.04 GB, free: 1.164 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002906/1.212, allocations: 65.92 kB / 1.04 GB, free: 1.117 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009994/1.213, allocations: 77.8 kB / 1.04 GB, free: 1.055 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/1.215, allocations: 0.5147 MB / 1.04 GB, free: 0.5781 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/1.215, allocations: 0.7977 MB / 1.041 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002694/1.216, allocations: 54.95 kB / 1.041 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/1.216, allocations: 101.3 kB / 1.041 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of SimCode: time 1.143e-06/1.216, allocations: 0 / 1.041 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03594/1.252, allocations: 6.792 MB / 1.048 GB, free: 9.008 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003187/1.252, allocations: 197.4 kB / 1.048 GB, free: 8.781 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.768/4.02, allocations: 0 / 1.048 GB, free: 8.781 MB / 0.6667 GB