Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.186/2.186, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00169/0.00169, allocations: 174.8 kB / 325.6 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.649/2.649, allocations: 205.4 MB / 0.5766 GB, free: 21.2 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001539/0.001539, allocations: 87.31 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004676, allocations: 16.16 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2332, allocations: 106.2 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002092/0.2354, allocations: 1.119 MB / 0.9 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004684/0.2359, allocations: 137.5 kB / 0.9001 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.2359, allocations: 0 / 0.9001 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.236, allocations: 4 kB / 0.9001 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.697e-05/0.2361, allocations: 4 kB / 0.9001 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.2362, allocations: 23.84 kB / 0.9001 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.61e-05/0.2364, allocations: 27.95 kB / 0.9002 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.2365, allocations: 15.94 kB / 0.9002 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.401e-05/0.2366, allocations: 15.92 kB / 0.9002 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.35e-05/0.2367, allocations: 23.91 kB / 0.9002 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.2367, allocations: 0 / 0.9002 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.661e-05/0.2367, allocations: 8 kB / 0.9002 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.2368, allocations: 3.984 kB / 0.9002 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.2368, allocations: 37.64 kB / 0.9003 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.324e-05/0.2369, allocations: 27.92 kB / 0.9003 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.2369, allocations: 0 / 0.9003 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2369, allocations: 0 / 0.9003 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.2369, allocations: 0 / 0.9003 GB, free: 64.49 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006071/0.2376, allocations: 351.2 kB / 0.9006 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.2376, allocations: 12.03 kB / 0.9006 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.2377, allocations: 7.953 kB / 0.9006 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.2378, allocations: 170.9 kB / 0.9008 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.2379, allocations: 11.98 kB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.2379, allocations: 0 / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.2382, allocations: 69.66 kB / 0.9009 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2383, allocations: 0 / 0.9009 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.2383, allocations: 7.984 kB / 0.9009 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2383, allocations: 0 / 0.9009 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000458/0.2388, allocations: 63.89 kB / 0.901 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005818/0.2394, allocations: 292.7 kB / 0.9012 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/0.2398, allocations: 62.55 kB / 0.9013 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.2398, allocations: 4.031 kB / 0.9013 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.2399, allocations: 42.44 kB / 0.9013 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 2.284e-06/0.2399, allocations: 4 kB / 0.9013 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0008242/0.2407, allocations: 117.7 kB / 0.9015 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.2408, allocations: 55.39 kB / 0.9015 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/0.2409, allocations: 125.7 kB / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.2409, allocations: 25.7 kB / 0.9017 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.241, allocations: 84.14 kB / 0.9017 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.241, allocations: 11.84 kB / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.297e-06/0.241, allocations: 0 / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.864e-05/0.2411, allocations: 314.8 kB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.2414, allocations: 31.97 kB / 0.9021 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.2416, allocations: 35.91 kB / 0.9021 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.2419, allocations: 23.98 kB / 0.9021 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2419, allocations: 0 / 0.9021 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0005539/0.2424, allocations: 97.55 kB / 0.9022 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.2425, allocations: 10.19 kB / 0.9022 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2425, allocations: 0 / 0.9022 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2425, allocations: 0 / 0.9022 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.2428, allocations: 15.94 kB / 0.9023 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2428, allocations: 4 kB / 0.9023 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.243, allocations: 15.98 kB / 0.9023 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.243, allocations: 4 kB / 0.9023 GB, free: 62.25 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.184e-05/0.2431, allocations: 105.8 kB / 0.9024 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.2432, allocations: 4 kB / 0.9024 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.699e-05/0.2432, allocations: 7.906 kB / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2433, allocations: 3.938 kB / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.2433, allocations: 3.953 kB / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2433, allocations: 7.984 kB / 0.9024 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.2436, allocations: 173.7 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2436, allocations: 0 / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.2438, allocations: 15.98 kB / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.2438, allocations: 3.938 kB / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.2439, allocations: 4 kB / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.227e-06/0.2439, allocations: 7.922 kB / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2439, allocations: 0 / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000567/0.2445, allocations: 203.7 kB / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.2445, allocations: 77.11 kB / 0.9029 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.2446, allocations: 0 / 0.9029 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.2448, allocations: 19.98 kB / 0.9029 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/0.2449, allocations: 15.98 kB / 0.9029 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.2449, allocations: 0 / 0.9029 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.202e-05/0.245, allocations: 87.22 kB / 0.903 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.71e-07/0.245, allocations: 0 / 0.903 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005037/0.2455, allocations: 11.95 kB / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001289/0.2457, allocations: 103.2 kB / 0.9031 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000543/0.2462, allocations: 63.95 kB / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2463, allocations: 0 / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.2466, allocations: 39.97 kB / 0.9032 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.2469, allocations: 7 kB / 0.9032 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004817/0.2474, allocations: 150.9 kB / 0.9033 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.2476, allocations: 0.6848 MB / 0.904 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.194e-05/0.2477, allocations: 4 kB / 0.904 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.2478, allocations: 15.42 kB / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of SimCode: time 9.81e-07/0.2478, allocations: 0 / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.00444/0.2523, allocations: 0.734 MB / 0.9047 GB, free: 59.56 MB / 0.6042 GB