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.493/2.493, allocations: 252.6 MB / 265.2 MB, free: 5.805 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.001396/0.001396, allocations: 189.7 kB / 324.5 MB, free: 14.4 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.234/2.234, allocations: 205.4 MB / 0.5753 GB, free: 10.48 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.001531/0.00153, allocations: 86.59 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.227e-05, allocations: 4 kB / 0.7912 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2044, allocations: 106.2 MB / 0.8949 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8517/1.056, allocations: 130.6 MB / 1.022 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/1.057, allocations: 71.58 kB / 1.022 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005915/1.057, allocations: 372.5 kB / 1.023 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/1.057, allocations: 3.062 kB / 1.023 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.492e-06/1.057, allocations: 0 / 1.023 GB, free: 3.52 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002779/1.057, allocations: 306.5 kB / 1.023 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/1.058, allocations: 12.09 kB / 1.023 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/1.058, allocations: 3.906 kB / 1.023 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/1.058, allocations: 163 kB / 1.023 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/1.058, allocations: 6.625 kB / 1.023 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/1.058, allocations: 0 / 1.023 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.518e-05/1.058, allocations: 37.02 kB / 1.023 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/1.058, allocations: 0 / 1.023 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/1.058, allocations: 0 / 1.023 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.058, allocations: 0 / 1.023 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.796e-05/1.058, allocations: 0 / 1.023 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/1.058, allocations: 386.9 kB / 1.024 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/1.058, allocations: 173.1 kB / 1.024 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.868e-05/1.059, allocations: 80.14 kB / 1.024 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.808e-05/1.059, allocations: 75.28 kB / 1.024 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.774e-05/1.059, allocations: 113.3 kB / 1.024 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 4.609e-06/1.059, allocations: 4 kB / 1.024 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.946e-05/1.059, allocations: 28.31 kB / 1.024 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.901e-05/1.059, allocations: 126.7 kB / 1.024 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.009e-05/1.059, allocations: 96.89 kB / 1.024 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/1.059, allocations: 25.7 kB / 1.024 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/1.059, allocations: 83.7 kB / 1.025 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/1.059, allocations: 0 / 1.025 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-07/1.059, allocations: 4 kB / 1.025 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001628/1.059, allocations: 315 kB / 1.025 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-06/1.059, allocations: 0 / 1.025 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-06/1.059, allocations: 3.938 kB / 1.025 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.49e-05/1.059, allocations: 79.22 kB / 1.025 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.584e-05/1.059, allocations: 75.28 kB / 1.025 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.648e-05/1.059, allocations: 33.69 kB / 1.025 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.614e-05/1.06, allocations: 79.28 kB / 1.025 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.269e-05/1.06, allocations: 79.22 kB / 1.025 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.993e-05/1.06, allocations: 158.6 kB / 1.025 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.626e-05/1.06, allocations: 82.84 kB / 1.025 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.674e-05/1.06, allocations: 150.6 kB / 1.026 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.239e-05/1.06, allocations: 75.28 kB / 1.026 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/1.06, allocations: 83.88 kB / 1.026 GB, free: 452 kB / 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: 0 () * Number of discrete 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.0001279/1.06, allocations: 263.5 kB / 1.026 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.135e-05/1.06, allocations: 104.7 kB / 1.026 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.601e-05/1.06, allocations: 111.2 kB / 1.026 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.519e-05/1.06, allocations: 180.6 kB / 1.026 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.472e-05/1.06, allocations: 180.3 kB / 1.026 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-05/1.061, allocations: 184.2 kB / 1.027 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/1.061, allocations: 408.6 kB / 1.027 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.466e-05/1.061, allocations: 104.9 kB / 1.027 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/1.061, allocations: 106.6 kB / 1.027 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-05/1.061, allocations: 176.3 kB / 1.027 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.247e-05/1.061, allocations: 184.2 kB / 1.028 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.126e-05/1.061, allocations: 184.1 kB / 1.028 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.827e-05/1.061, allocations: 180.2 kB / 1.028 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/1.061, allocations: 307.3 kB / 1.028 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/1.062, allocations: 186 kB / 1.028 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.354e-05/1.062, allocations: 180.3 kB / 1.029 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/1.062, allocations: 108.9 kB / 1.029 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/1.062, allocations: 180.2 kB / 1.029 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/1.062, allocations: 101 kB / 1.029 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.192e-05/1.062, allocations: 86.22 kB / 1.029 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.062, allocations: 0 / 1.029 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002932/1.062, allocations: 0 / 1.029 GB, free: 12.8 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: 0 () * Number of discrete 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.0001681/1.062, allocations: 174.6 kB / 1.029 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 4.01e-05/1.063, allocations: 4.484 kB / 1.029 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/1.063, allocations: 3.938 kB / 1.029 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.91e-06/1.063, allocations: 4 kB / 1.029 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/1.063, allocations: 0.5242 MB / 1.03 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001951/1.063, allocations: 128.8 kB / 1.03 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/1.063, allocations: 0.6692 MB / 1.03 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.618e-06/1.063, allocations: 7.875 kB / 1.03 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/1.063, allocations: 7.438 kB / 1.031 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of SimCode: time 7.41e-07/1.063, allocations: 0 / 1.031 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of Templates: time 0.002218/1.066, allocations: 169.9 kB / 1.031 GB, free: 11.07 MB / 0.6511 GB