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.469/2.469, allocations: 253.2 MB / 260.6 MB, free: 7.438 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 177.7 kB / 319.9 MB, free: 3.098 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.249/2.249, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001123/0.001123, allocations: 97.25 kB / 0.6751 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.937e-05/1.947e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2119, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9215/1.134, allocations: 131.8 MB / 1.017 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/1.134, allocations: 72.14 kB / 1.017 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006858/1.141, allocations: 1.452 MB / 1.019 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/1.141, allocations: 4 kB / 1.019 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.406e-06/1.141, allocations: 0 / 1.019 GB, free: 4.238 MB / 0.6355 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.0007521/1.142, allocations: 381.9 kB / 1.019 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/1.142, allocations: 12.02 kB / 1.019 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/1.142, allocations: 11.84 kB / 1.019 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/1.142, allocations: 182.9 kB / 1.019 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/1.142, allocations: 7.188 kB / 1.019 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/1.142, allocations: 4 kB / 1.019 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001884/1.142, allocations: 46.05 kB / 1.019 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/1.142, allocations: 68.84 kB / 1.02 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.142, allocations: 0 / 1.02 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/1.142, allocations: 4 kB / 1.02 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/1.142, allocations: 0 / 1.02 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007099/1.143, allocations: 313.6 kB / 1.02 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007338/1.144, allocations: 104.1 kB / 1.02 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.533e-05/1.144, allocations: 26.36 kB / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/1.144, allocations: 4 kB / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/1.144, allocations: 34.56 kB / 1.02 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/1.144, allocations: 0 / 1.02 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003405/1.144, allocations: 85.34 kB / 1.02 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/1.145, allocations: 55.41 kB / 1.02 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/1.145, allocations: 107.8 kB / 1.02 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/1.145, allocations: 29.69 kB / 1.02 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/1.145, allocations: 95.36 kB / 1.02 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/1.145, allocations: 11.75 kB / 1.02 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/1.145, allocations: 4 kB / 1.02 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.145, allocations: 322.6 kB / 1.021 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.338e-05/1.145, allocations: 19.44 kB / 1.021 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.483e-05/1.145, allocations: 26.23 kB / 1.021 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.306e-05/1.145, allocations: 17.81 kB / 1.021 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.145, allocations: 0 / 1.021 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000234/1.146, allocations: 91.53 kB / 1.021 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/1.146, allocations: 4 kB / 1.021 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/1.146, allocations: 0 / 1.021 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/1.146, allocations: 8 kB / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/1.146, allocations: 27.97 kB / 1.021 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/1.146, allocations: 7.891 kB / 1.021 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/1.146, allocations: 19.92 kB / 1.021 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/1.146, allocations: 3.984 kB / 1.021 GB, free: 2.117 MB / 0.6355 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 () * 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.0001026/1.146, allocations: 112.9 kB / 1.021 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/1.146, allocations: 7.906 kB / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/1.147, allocations: 91.72 kB / 1.021 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/1.147, allocations: 0 / 1.021 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.147, allocations: 7.984 kB / 1.021 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.147, allocations: 3.953 kB / 1.021 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/1.147, allocations: 169.3 kB / 1.021 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.147, allocations: 0 / 1.021 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/1.147, allocations: 35.91 kB / 1.021 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/1.147, allocations: 0 / 1.021 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/1.147, allocations: 0 / 1.021 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/1.147, allocations: 4 kB / 1.021 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/1.147, allocations: 0 / 1.021 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/1.148, allocations: 181.5 kB / 1.021 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/1.148, allocations: 92.44 kB / 1.022 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/1.148, allocations: 6 kB / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/1.148, allocations: 18.52 kB / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/1.148, allocations: 15.66 kB / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/1.148, allocations: 4 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.708e-05/1.148, allocations: 95.5 kB / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/1.148, allocations: 0 / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003594/1.149, allocations: 20.06 kB / 1.022 GB, free: 1.25 MB / 0.6355 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 () * 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.0002013/1.149, allocations: 113 kB / 1.022 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002353/1.149, allocations: 53.92 kB / 1.022 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.149, allocations: 0 / 1.022 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/1.149, allocations: 34.8 kB / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/1.15, allocations: 7.953 kB / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004564/1.15, allocations: 118.8 kB / 1.022 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/1.151, allocations: 0.6924 MB / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001568/1.151, allocations: 12.19 kB / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/1.151, allocations: 15.42 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of SimCode: time 1.152e-06/1.151, allocations: 0 / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of Templates: time 0.005116/1.156, allocations: 1.235 MB / 1.024 GB, free: 14.98 MB / 0.6511 GB