Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.471/2.471, 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.002198/0.002198, allocations: 180 kB / 325.6 MB, free: 2.824 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.64/2.64, allocations: 205.4 MB / 0.5766 GB, free: 20.79 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.001105/0.001105, allocations: 92.23 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006749/0.0006751, allocations: 15.75 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.226, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0007654/0.2268, allocations: 268.4 kB / 0.8992 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.741e-05/0.2269, allocations: 4 kB / 0.8992 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.27e-05/0.2269, allocations: 0 / 0.8992 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.227, allocations: 7.938 kB / 0.8992 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.349e-05/0.227, allocations: 3.938 kB / 0.8992 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.216e-05/0.227, allocations: 0 / 0.8992 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.385e-05/0.2271, allocations: 7.984 kB / 0.8992 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.866e-05/0.2272, allocations: 3.984 kB / 0.8992 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.447e-05/0.2272, allocations: 0 / 0.8992 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.929e-05/0.2272, allocations: 0 / 0.8992 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.2273, allocations: 0 / 0.8992 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.027e-06/0.2273, allocations: 0 / 0.8992 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.366e-06/0.2273, allocations: 0 / 0.8992 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.759e-05/0.2273, allocations: 25.7 kB / 0.8992 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 3.856e-05/0.2274, allocations: 8 kB / 0.8992 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2274, allocations: 0 / 0.8992 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2274, allocations: 0 / 0.8992 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.2274, allocations: 0 / 0.8992 GB, free: 65.12 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002446/0.2276, allocations: 316.6 kB / 0.8995 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.2277, allocations: 12.09 kB / 0.8995 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.2277, allocations: 7.953 kB / 0.8995 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.926e-05/0.2278, allocations: 159.1 kB / 0.8997 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.2279, allocations: 3.938 kB / 0.8997 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.2279, allocations: 4 kB / 0.8997 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.572e-05/0.228, allocations: 29.7 kB / 0.8997 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.228, allocations: 0 / 0.8997 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.228, allocations: 0 / 0.8997 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.228, allocations: 0 / 0.8997 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.727e-05/0.228, allocations: 0 / 0.8997 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.2283, allocations: 384.3 kB / 0.9001 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.682e-05/0.2284, allocations: 173.1 kB / 0.9003 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.2284, allocations: 79.28 kB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.2284, allocations: 109.9 kB / 0.9004 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.2285, allocations: 0 / 0.9004 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.504e-05/0.2285, allocations: 29.69 kB / 0.9005 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.2286, allocations: 138.6 kB / 0.9006 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.057e-05/0.2287, allocations: 93.86 kB / 0.9007 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.2287, allocations: 25.7 kB / 0.9007 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.147e-05/0.2287, allocations: 85.3 kB / 0.9008 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-06/0.2287, allocations: 0 / 0.9008 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-07/0.2287, allocations: 3.938 kB / 0.9008 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.755e-05/0.2288, allocations: 314.8 kB / 0.9011 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.697e-06/0.2288, allocations: 4 kB / 0.9011 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.997e-06/0.2288, allocations: 128 / 0.9011 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.614e-05/0.2288, allocations: 79.28 kB / 0.9012 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/0.2289, allocations: 75.28 kB / 0.9012 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.799e-05/0.229, allocations: 29.69 kB / 0.9013 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.229, allocations: 85.31 kB / 0.9014 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/0.229, allocations: 79.22 kB / 0.9014 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.359e-05/0.2291, allocations: 150.6 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.445e-05/0.2291, allocations: 83.22 kB / 0.9017 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.342e-05/0.2292, allocations: 166.5 kB / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.2293, allocations: 75.28 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.2294, allocations: 83.2 kB / 0.902 GB, free: 62.08 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001164/0.2295, allocations: 260.4 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.872e-05/0.2296, allocations: 101 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.2297, allocations: 116 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.938e-05/0.2298, allocations: 176.3 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.605e-05/0.2298, allocations: 184.2 kB / 0.9028 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.502e-05/0.2299, allocations: 185 kB / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.2303, allocations: 397.2 kB / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.231e-05/0.2303, allocations: 116.9 kB / 0.9034 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.563e-05/0.2303, allocations: 101 kB / 0.9035 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-05/0.2304, allocations: 176.3 kB / 0.9037 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/0.2305, allocations: 180.2 kB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.694e-05/0.2305, allocations: 184.2 kB / 0.904 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.733e-05/0.2306, allocations: 180.6 kB / 0.9042 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.2307, allocations: 315.8 kB / 0.9045 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.2308, allocations: 186.1 kB / 0.9047 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.486e-05/0.2309, allocations: 180.2 kB / 0.9049 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.2311, allocations: 116.9 kB / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.2312, allocations: 184.3 kB / 0.9052 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.2312, allocations: 101 kB / 0.9052 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.435e-05/0.2313, allocations: 83.22 kB / 0.9053 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.883e-06/0.2313, allocations: 0 / 0.9053 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000654/0.232, allocations: 0 / 0.9053 GB, free: 58.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.000169/0.2322, allocations: 176.2 kB / 0.9055 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.116e-05/0.2323, allocations: 4.094 kB / 0.9055 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2323, allocations: 0 / 0.9055 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.061e-06/0.2323, allocations: 3.984 kB / 0.9055 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.2328, allocations: 0.5301 MB / 0.906 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.2331, allocations: 146 kB / 0.9062 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.2333, allocations: 0.6809 MB / 0.9068 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.532e-05/0.2333, allocations: 4 kB / 0.9068 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.2334, allocations: 7.438 kB / 0.9068 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of SimCode: time 1.242e-06/0.2334, allocations: 0 / 0.9068 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of Templates: time 0.003419/0.2368, allocations: 146.7 kB / 0.907 GB, free: 56.65 MB / 0.6042 GB