Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.58/2.58, allocations: 252.6 MB / 265.2 MB, free: 5.699 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.001438/0.001438, allocations: 187.8 kB / 324.5 MB, free: 14.43 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.113/2.113, allocations: 205.4 MB / 0.5754 GB, free: 10.41 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.001096/0.001096, allocations: 101 kB / 0.6797 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.782e-05/4.802e-05, allocations: 4 kB / 0.7912 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2385, allocations: 106.2 MB / 0.8949 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.893/1.132, allocations: 130.6 MB / 1.022 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/1.132, allocations: 68.83 kB / 1.023 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005409/1.132, allocations: 368 kB / 1.023 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/1.132, allocations: 0 / 1.023 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.562e-06/1.132, allocations: 0 / 1.023 GB, free: 3.516 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.0002448/1.133, allocations: 314 kB / 1.023 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/1.133, allocations: 8.031 kB / 1.023 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/1.133, allocations: 4 kB / 1.023 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/1.133, allocations: 167 kB / 1.023 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/1.133, allocations: 4 kB / 1.023 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/1.133, allocations: 3.984 kB / 1.023 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.067e-05/1.133, allocations: 30.52 kB / 1.023 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.505e-06/1.133, allocations: 0 / 1.023 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/1.133, allocations: 0 / 1.023 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/1.133, allocations: 0 / 1.023 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.962e-05/1.133, allocations: 4 kB / 1.023 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/1.134, allocations: 387.2 kB / 1.024 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/1.134, allocations: 173 kB / 1.024 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.694e-05/1.134, allocations: 80.14 kB / 1.024 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/1.134, allocations: 75.28 kB / 1.024 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/1.134, allocations: 109.8 kB / 1.024 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/1.134, allocations: 2.625 kB / 1.024 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.158e-05/1.134, allocations: 32.31 kB / 1.024 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/1.134, allocations: 130.6 kB / 1.024 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.172e-05/1.134, allocations: 91.7 kB / 1.024 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/1.134, allocations: 33.69 kB / 1.024 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/1.134, allocations: 80.14 kB / 1.025 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/1.134, allocations: 4.125 kB / 1.025 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-07/1.134, allocations: 0 / 1.025 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.134, allocations: 310.8 kB / 1.025 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.967e-06/1.134, allocations: 0 / 1.025 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-06/1.134, allocations: 0 / 1.025 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.072e-05/1.134, allocations: 75.28 kB / 1.025 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-05/1.134, allocations: 79.22 kB / 1.025 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.678e-05/1.134, allocations: 29.7 kB / 1.025 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/1.134, allocations: 83.28 kB / 1.025 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.419e-05/1.135, allocations: 87.16 kB / 1.025 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.663e-05/1.135, allocations: 150.6 kB / 1.025 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.085e-05/1.135, allocations: 83.2 kB / 1.025 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.376e-05/1.135, allocations: 154.5 kB / 1.026 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.106e-05/1.135, allocations: 75.28 kB / 1.026 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/1.135, allocations: 87.17 kB / 1.026 GB, free: 444 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.0001076/1.135, allocations: 261.9 kB / 1.026 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/1.135, allocations: 101 kB / 1.026 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.195e-05/1.135, allocations: 116 kB / 1.026 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.467e-05/1.135, allocations: 180.5 kB / 1.026 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-05/1.135, allocations: 180.3 kB / 1.026 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.506e-05/1.135, allocations: 184.2 kB / 1.027 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/1.136, allocations: 408.1 kB / 1.027 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.965e-05/1.136, allocations: 104.9 kB / 1.027 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/1.136, allocations: 102.6 kB / 1.027 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.521e-05/1.136, allocations: 184.1 kB / 1.027 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.849e-05/1.136, allocations: 184.2 kB / 1.028 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.537e-05/1.136, allocations: 180.2 kB / 1.028 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.305e-05/1.136, allocations: 180.2 kB / 1.028 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/1.136, allocations: 302.7 kB / 1.028 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.503e-05/1.136, allocations: 186 kB / 1.028 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.444e-05/1.136, allocations: 184.3 kB / 1.029 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/1.136, allocations: 108.9 kB / 1.029 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/1.137, allocations: 176.3 kB / 1.029 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/1.137, allocations: 105 kB / 1.029 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.156e-05/1.137, allocations: 79.22 kB / 1.029 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/1.137, allocations: 96 / 1.029 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002871/1.137, allocations: 4 kB / 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.0001505/1.137, allocations: 174.5 kB / 1.029 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 3.365e-05/1.137, allocations: 8.484 kB / 1.029 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.137, allocations: 0 / 1.029 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/1.137, allocations: 0 / 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.0003233/1.138, allocations: 0.5262 MB / 1.03 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001792/1.138, allocations: 120.8 kB / 1.03 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/1.138, allocations: 0.6809 MB / 1.03 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.055e-06/1.138, allocations: 3.938 kB / 1.03 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.73e-05/1.138, allocations: 7.438 kB / 1.031 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of SimCode: time 8.42e-07/1.138, allocations: 0 / 1.031 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of Templates: time 0.00219/1.14, allocations: 178.8 kB / 1.031 GB, free: 11.06 MB / 0.6511 GB