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.431/2.431, allocations: 252.6 MB / 265.2 MB, free: 5.711 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.001456/0.001456, allocations: 175.9 kB / 324.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.173/2.173, allocations: 205.4 MB / 0.5754 GB, free: 10.5 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.001216/0.001216, allocations: 94.14 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.943e-05/3.952e-05, allocations: 11.98 kB / 0.7912 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2403, allocations: 106.2 MB / 0.8949 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9334/1.174, allocations: 131.5 MB / 1.023 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/1.174, allocations: 75.94 kB / 1.023 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006957/1.181, allocations: 1.458 MB / 1.025 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.704e-06/1.181, allocations: 0 / 1.025 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.123e-05/1.181, allocations: 4 kB / 1.025 GB, free: 1.707 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.0007278/1.182, allocations: 385.2 kB / 1.025 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/1.182, allocations: 15.97 kB / 1.025 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/1.182, allocations: 7.906 kB / 1.025 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/1.182, allocations: 178.8 kB / 1.025 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/1.182, allocations: 7.5 kB / 1.025 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/1.182, allocations: 4 kB / 1.025 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/1.183, allocations: 79.14 kB / 1.026 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.183, allocations: 0 / 1.026 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/1.183, allocations: 3 kB / 1.026 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/1.183, allocations: 0 / 1.026 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/1.183, allocations: 51.86 kB / 1.026 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007154/1.184, allocations: 348.4 kB / 1.026 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007582/1.184, allocations: 92.73 kB / 1.026 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.881e-05/1.184, allocations: 35.84 kB / 1.026 GB, free: 492 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.919e-05/1.184, allocations: 4.141 kB / 1.026 GB, free: 488 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/1.184, allocations: 37.69 kB / 1.026 GB, free: 444 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/1.185, allocations: 0 / 1.026 GB, free: 444 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003333/1.185, allocations: 91.05 kB / 1.026 GB, free: 364 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/1.185, allocations: 55.39 kB / 1.026 GB, free: 296 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/1.185, allocations: 107.9 kB / 1.026 GB, free: 188 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/1.185, allocations: 25.7 kB / 1.026 GB, free: 156 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/1.185, allocations: 99.03 kB / 1.026 GB, free: 60 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/1.185, allocations: 15.75 kB / 1.026 GB, free: 44 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/1.185, allocations: 2.188 kB / 1.026 GB, free: 44 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.185, allocations: 322.2 kB / 1.027 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/1.185, allocations: 18.69 kB / 1.027 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.986e-05/1.186, allocations: 21.94 kB / 1.027 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.052e-05/1.186, allocations: 26.55 kB / 1.027 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.186, allocations: 0 / 1.027 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002613/1.186, allocations: 91.75 kB / 1.027 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.186, allocations: 12 kB / 1.027 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/1.186, allocations: 0 / 1.027 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/1.186, allocations: 3.953 kB / 1.027 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/1.186, allocations: 27.97 kB / 1.027 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/1.186, allocations: 320 / 1.027 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/1.187, allocations: 27.91 kB / 1.027 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/1.187, allocations: 7.984 kB / 1.027 GB, free: 15.52 MB / 0.6511 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 9.13e-05/1.187, allocations: 104.9 kB / 1.027 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/1.187, allocations: 11.84 kB / 1.027 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003265/1.187, allocations: 100.3 kB / 1.027 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/1.187, allocations: 4 kB / 1.027 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.187, allocations: 3.953 kB / 1.027 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/1.187, allocations: 3.984 kB / 1.027 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/1.188, allocations: 200 kB / 1.027 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.188, allocations: 0 / 1.027 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/1.188, allocations: 35.22 kB / 1.027 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.188, allocations: 0 / 1.027 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/1.188, allocations: 3.984 kB / 1.027 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.188, allocations: 0 / 1.027 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.188, allocations: 0 / 1.027 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/1.188, allocations: 194.4 kB / 1.028 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/1.188, allocations: 85.02 kB / 1.028 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/1.188, allocations: 4 kB / 1.028 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/1.189, allocations: 18.98 kB / 1.028 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/1.189, allocations: 19.47 kB / 1.028 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/1.189, allocations: 7.734 kB / 1.028 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.632e-05/1.189, allocations: 98.61 kB / 1.028 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.01e-07/1.189, allocations: 0 / 1.028 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003118/1.189, allocations: 19.69 kB / 1.028 GB, free: 14.61 MB / 0.6511 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.0001728/1.189, allocations: 109 kB / 1.028 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000249/1.19, allocations: 57.94 kB / 1.028 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.19, allocations: 0 / 1.028 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/1.19, allocations: 37.84 kB / 1.028 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/1.19, allocations: 17.06 kB / 1.028 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/1.191, allocations: 115.1 kB / 1.028 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/1.191, allocations: 0.6926 MB / 1.029 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001269/1.191, allocations: 16.17 kB / 1.029 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.543e-05/1.191, allocations: 11.44 kB / 1.029 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of SimCode: time 7.81e-07/1.191, allocations: 0 / 1.029 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of Templates: time 0.005344/1.196, allocations: 1.315 MB / 1.03 GB, free: 12.25 MB / 0.6511 GB