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.51/2.51, allocations: 253.1 MB / 260.6 MB, free: 7.523 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.001485/0.001485, allocations: 174 kB / 319.9 MB, free: 3.105 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.226/2.226, 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.001158/0.001157, allocations: 93.19 kB / 0.6751 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.964e-05/2.978e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.241, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9337/1.175, allocations: 130.8 MB / 1.016 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/1.175, allocations: 72.19 kB / 1.017 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005898/1.176, allocations: 375.1 kB / 1.017 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/1.176, allocations: 0 / 1.017 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.442e-06/1.176, allocations: 0 / 1.017 GB, free: 6.039 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.0002793/1.176, allocations: 306.1 kB / 1.017 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/1.176, allocations: 8.031 kB / 1.017 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/1.176, allocations: 3.906 kB / 1.017 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/1.176, allocations: 163 kB / 1.017 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/1.176, allocations: 7.359 kB / 1.017 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/1.176, allocations: 8.75 kB / 1.017 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.064e-05/1.176, allocations: 0 / 1.017 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.799e-05/1.176, allocations: 29.64 kB / 1.017 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/1.176, allocations: 0 / 1.017 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/1.176, allocations: 0 / 1.017 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/1.176, allocations: 4 kB / 1.017 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/1.177, allocations: 359.5 kB / 1.018 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/1.177, allocations: 176.6 kB / 1.018 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.714e-05/1.177, allocations: 88.02 kB / 1.018 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/1.177, allocations: 75.28 kB / 1.018 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.29e-05/1.177, allocations: 109.8 kB / 1.018 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.764e-06/1.177, allocations: 0 / 1.018 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.669e-05/1.177, allocations: 29.7 kB / 1.018 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/1.177, allocations: 51.41 kB / 1.018 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/1.177, allocations: 89 kB / 1.018 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/1.177, allocations: 25.7 kB / 1.018 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/1.177, allocations: 83.64 kB / 1.018 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/1.177, allocations: 0 / 1.018 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.91e-07/1.177, allocations: 0 / 1.018 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.178, allocations: 321.3 kB / 1.019 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-06/1.178, allocations: 8.062 kB / 1.019 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-06/1.178, allocations: 0 / 1.019 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.768e-05/1.178, allocations: 79.28 kB / 1.019 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-05/1.178, allocations: 75.28 kB / 1.019 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.463e-05/1.178, allocations: 29.64 kB / 1.019 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.274e-05/1.178, allocations: 79.28 kB / 1.019 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.879e-05/1.178, allocations: 79.28 kB / 1.019 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.924e-05/1.178, allocations: 150.6 kB / 1.019 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.433e-05/1.178, allocations: 83.22 kB / 1.019 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.35e-05/1.178, allocations: 155.1 kB / 1.019 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.806e-05/1.178, allocations: 83.27 kB / 1.02 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/1.178, allocations: 79.22 kB / 1.02 GB, free: 3.078 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: 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.0001492/1.178, allocations: 255.5 kB / 1.02 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.729e-05/1.179, allocations: 105 kB / 1.02 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.49e-05/1.179, allocations: 108.7 kB / 1.02 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.099e-05/1.179, allocations: 180.5 kB / 1.02 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.074e-05/1.179, allocations: 180.2 kB / 1.02 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-05/1.179, allocations: 180.3 kB / 1.021 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/1.179, allocations: 393.6 kB / 1.021 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.983e-05/1.179, allocations: 101 kB / 1.021 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/1.179, allocations: 105 kB / 1.021 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.648e-05/1.179, allocations: 180.2 kB / 1.021 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.342e-05/1.18, allocations: 176.3 kB / 1.021 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.28e-05/1.18, allocations: 180.3 kB / 1.022 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.212e-05/1.18, allocations: 184.2 kB / 1.022 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/1.18, allocations: 303 kB / 1.022 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/1.18, allocations: 190 kB / 1.022 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/1.18, allocations: 176.9 kB / 1.022 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/1.18, allocations: 112.8 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.365e-05/1.18, allocations: 184.2 kB / 1.023 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/1.18, allocations: 104.9 kB / 1.023 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.685e-05/1.181, allocations: 75.28 kB / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.181, allocations: 0 / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003144/1.181, allocations: 0 / 1.023 GB, free: 15.48 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.0001791/1.181, allocations: 170.6 kB / 1.023 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 4.686e-05/1.181, allocations: 11.94 kB / 1.023 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.181, allocations: 3.938 kB / 1.023 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/1.181, allocations: 0 / 1.023 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/1.182, allocations: 0.5218 MB / 1.024 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/1.182, allocations: 131.8 kB / 1.024 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/1.182, allocations: 0.6729 MB / 1.024 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.053e-05/1.182, allocations: 3.984 kB / 1.024 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.159e-05/1.182, allocations: 7.438 kB / 1.024 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of SimCode: time 7.72e-07/1.182, allocations: 0 / 1.024 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of Templates: time 0.002071/1.184, allocations: 136.3 kB / 1.025 GB, free: 13.77 MB / 0.6511 GB