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.432/2.432, allocations: 251 MB / 265.9 MB, free: 11.69 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.001495/0.001495, allocations: 184.2 kB / 325.5 MB, free: 2.906 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.383/2.383, allocations: 205.4 MB / 0.5764 GB, free: 21.15 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.001164/0.001164, allocations: 97.33 kB / 0.6809 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000469/0.000469, allocations: 13.78 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2098, allocations: 106.3 MB / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2596/0.4695, allocations: 135.2 MB / 1.031 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.4699, allocations: 83.95 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04893/0.5188, allocations: 10.64 MB / 1.041 GB, free: 15.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.325e-06/0.5189, allocations: 192 / 1.041 GB, free: 15.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.283e-05/0.5189, allocations: 15.94 kB / 1.041 GB, free: 15.86 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.00134/0.5203, allocations: 0.5836 MB / 1.042 GB, free: 15.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.5203, allocations: 15.97 kB / 1.042 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.116e-05/0.5204, allocations: 42.55 kB / 1.042 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.5205, allocations: 39.48 kB / 1.042 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000965/0.5215, allocations: 373.3 kB / 1.042 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.5216, allocations: 8 kB / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.5216, allocations: 4 kB / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.522, allocations: 119.3 kB / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.522, allocations: 0 / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.5221, allocations: 4 kB / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.5221, allocations: 8 kB / 1.042 GB, free: 14.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.5224, allocations: 59.95 kB / 1.043 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.5236, allocations: 0.5004 MB / 1.043 GB, free: 13.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005639/0.5242, allocations: 142.7 kB / 1.043 GB, free: 13.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.5242, allocations: 8.203 kB / 1.043 GB, free: 13.81 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003729/0.5246, allocations: 120.8 kB / 1.043 GB, free: 13.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 2.875e-06/0.5246, allocations: 0 / 1.043 GB, free: 13.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0009355/0.5255, allocations: 237.3 kB / 1.043 GB, free: 13.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.5256, allocations: 51.41 kB / 1.044 GB, free: 13.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009547/0.5266, allocations: 460.8 kB / 1.044 GB, free: 12.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.5266, allocations: 29.7 kB / 1.044 GB, free: 12.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.5268, allocations: 164.4 kB / 1.044 GB, free: 12.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.821e-05/0.5269, allocations: 39.53 kB / 1.044 GB, free: 12.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.5269, allocations: 7.938 kB / 1.044 GB, free: 12.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.5271, allocations: 350.8 kB / 1.045 GB, free: 12.33 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.5276, allocations: 116.5 kB / 1.045 GB, free: 12.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00042/0.528, allocations: 156.1 kB / 1.045 GB, free: 12.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/0.5284, allocations: 124 kB / 1.045 GB, free: 11.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.5285, allocations: 0 / 1.045 GB, free: 11.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001166/0.5296, allocations: 361.6 kB / 1.045 GB, free: 11.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.5297, allocations: 8.062 kB / 1.045 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.5297, allocations: 0 / 1.045 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.5297, allocations: 7.953 kB / 1.045 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/0.5302, allocations: 51.91 kB / 1.045 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.5302, allocations: 4 kB / 1.045 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/0.5305, allocations: 19.84 kB / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.656e-05/0.5306, allocations: 19.98 kB / 1.045 GB, free: 11.46 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.0003269/0.5309, allocations: 177.8 kB / 1.046 GB, free: 11.28 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.531, allocations: 31.62 kB / 1.046 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000702/0.5317, allocations: 204.6 kB / 1.046 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.5318, allocations: 3.953 kB / 1.046 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.5318, allocations: 3.938 kB / 1.046 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.5318, allocations: 7.984 kB / 1.046 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.5322, allocations: 305.3 kB / 1.046 GB, free: 10.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5322, allocations: 0 / 1.046 GB, free: 10.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.5324, allocations: 15.98 kB / 1.046 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.5324, allocations: 4 kB / 1.046 GB, free: 10.65 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.5325, allocations: 4 kB / 1.046 GB, free: 10.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.5325, allocations: 0 / 1.046 GB, free: 10.65 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5325, allocations: 3.953 kB / 1.046 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/0.5332, allocations: 217.6 kB / 1.046 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.5333, allocations: 116.7 kB / 1.046 GB, free: 10.28 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.891e-05/0.5334, allocations: 4 kB / 1.046 GB, free: 10.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.5336, allocations: 19.92 kB / 1.046 GB, free: 10.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.841e-05/0.5338, allocations: 23.91 kB / 1.046 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.5338, allocations: 7.953 kB / 1.046 GB, free: 10.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000595/0.5344, allocations: 311.1 kB / 1.047 GB, free: 9.926 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.6e-07/0.5344, allocations: 0 / 1.047 GB, free: 9.926 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004964/0.5349, allocations: 71.92 kB / 1.047 GB, free: 9.855 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.002231/0.5372, allocations: 1.085 MB / 1.048 GB, free: 8.902 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008124/0.538, allocations: 199.8 kB / 1.048 GB, free: 8.707 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5381, allocations: 0 / 1.048 GB, free: 8.707 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.5383, allocations: 67.91 kB / 1.048 GB, free: 8.641 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007141/0.5391, allocations: 97.02 kB / 1.048 GB, free: 8.551 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.5412, allocations: 1.192 MB / 1.049 GB, free: 7.301 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.5416, allocations: 0.7988 MB / 1.05 GB, free: 6.473 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002904/0.542, allocations: 46.95 kB / 1.05 GB, free: 6.426 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/0.5422, allocations: 111.4 kB / 1.05 GB, free: 6.316 MB / 0.698 GB Notification: Performance of SimCode: time 3.657e-06/0.5422, allocations: 0 / 1.05 GB, free: 6.316 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6377/1.18, allocations: 6.739 MB / 1.057 GB, free: 149.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/1.18, allocations: 222 kB / 1.057 GB, free: 149.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.59/3.77, allocations: 3.531 kB / 1.057 GB, free: 149.7 MB / 0.698 GB