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.Max.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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.338/2.338, 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.001564/0.001564, allocations: 188 kB / 325.6 MB, free: 2.84 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.607/2.607, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001137/0.001137, allocations: 99.97 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.000473, allocations: 13.44 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.211, allocations: 106.3 MB / 0.8989 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2244/0.4355, allocations: 131.6 MB / 1.027 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.4358, allocations: 75.95 kB / 1.027 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007085/0.4429, allocations: 1.454 MB / 1.029 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4429, allocations: 0 / 1.029 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.443, allocations: 0 / 1.029 GB, free: 12.13 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008666/0.4438, allocations: 403 kB / 1.029 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.4439, allocations: 8.031 kB / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.602e-05/0.444, allocations: 7.906 kB / 1.029 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.4442, allocations: 178.8 kB / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.4442, allocations: 4 kB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.4442, allocations: 8 kB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005209/0.4448, allocations: 119.3 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4448, allocations: 0 / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.4448, allocations: 0 / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.4448, allocations: 7.984 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007119/0.4456, allocations: 115.9 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007725/0.4463, allocations: 344.7 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.4478, allocations: 130.5 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.451e-05/0.4479, allocations: 15.97 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.4479, allocations: 30.56 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.425e-06/0.4479, allocations: 0 / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.001257/0.4492, allocations: 221.5 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.4493, allocations: 55.41 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.4494, allocations: 116.9 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.4494, allocations: 29.7 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.4495, allocations: 92.08 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.4496, allocations: 23.64 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/0.4496, allocations: 4 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4497, allocations: 314.8 kB / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.4501, allocations: 59.95 kB / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.4505, allocations: 51.95 kB / 1.031 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/0.4508, allocations: 60.42 kB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4509, allocations: 0 / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00087/0.4517, allocations: 161.5 kB / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.4518, allocations: 11.94 kB / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4518, allocations: 0 / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.4518, allocations: 3.938 kB / 1.031 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.4522, allocations: 35.92 kB / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.4522, allocations: 0 / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.4524, allocations: 15.98 kB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.4525, allocations: 4 kB / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.u1,max1.u2,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000126/0.4526, allocations: 125.8 kB / 1.032 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.4527, allocations: 7.906 kB / 1.032 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008905/0.4536, allocations: 173.9 kB / 1.032 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.4536, allocations: 0 / 1.032 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.4536, allocations: 3.953 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.4536, allocations: 0 / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.4539, allocations: 197.6 kB / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4539, allocations: 4 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/0.4542, allocations: 31.97 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.4543, allocations: 0 / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.4543, allocations: 11.92 kB / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.4543, allocations: 0 / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4543, allocations: 0 / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008877/0.4552, allocations: 263.3 kB / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.4553, allocations: 84.95 kB / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.4553, allocations: 4 kB / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.4556, allocations: 19.98 kB / 1.032 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.4557, allocations: 19.97 kB / 1.032 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.4557, allocations: 4 kB / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.514e-05/0.4558, allocations: 91.27 kB / 1.032 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4558, allocations: 0 / 1.032 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003299/0.4562, allocations: 27.89 kB / 1.032 GB, free: 8.195 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.u1,max1.u2,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001597/0.4563, allocations: 104.1 kB / 1.033 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007802/0.4571, allocations: 123.9 kB / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4571, allocations: 4 kB / 1.033 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000403/0.4576, allocations: 75.88 kB / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.4578, allocations: 8 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005981/0.4585, allocations: 191.9 kB / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.4587, allocations: 0.6902 MB / 1.034 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001344/0.4589, allocations: 16.17 kB / 1.034 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.459, allocations: 11.44 kB / 1.034 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of SimCode: time 1.122e-06/0.459, allocations: 0 / 1.034 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of Templates: time 0.005014/0.4641, allocations: 1.307 MB / 1.035 GB, free: 5.613 MB / 0.6823 GB