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.224/2.224, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002158/0.002158, allocations: 181.2 kB / 325.6 MB, free: 2.84 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.541/2.541, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001077/0.001077, allocations: 98.05 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006279/0.0006282, allocations: 11.91 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2184, allocations: 106.3 MB / 0.8989 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2474/0.4658, allocations: 130.7 MB / 1.027 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.4662, allocations: 71.95 kB / 1.027 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005667/0.4668, allocations: 372.9 kB / 1.027 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.315e-06/0.4668, allocations: 0 / 1.027 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.4668, allocations: 0 / 1.027 GB, free: 14.16 MB / 0.6823 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.0003258/0.4671, allocations: 315.4 kB / 1.027 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4672, allocations: 8.031 kB / 1.027 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.4672, allocations: 0 / 1.027 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.4674, allocations: 170.9 kB / 1.027 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.4674, allocations: 4 kB / 1.027 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.4674, allocations: 4 kB / 1.027 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.432e-05/0.4675, allocations: 29.64 kB / 1.027 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.4675, allocations: 0 / 1.027 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.4675, allocations: 0 / 1.027 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4675, allocations: 0 / 1.027 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.278e-05/0.4676, allocations: 8 kB / 1.027 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.4679, allocations: 383.5 kB / 1.028 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.4681, allocations: 173.1 kB / 1.028 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.449e-05/0.4681, allocations: 75.28 kB / 1.028 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.73e-05/0.4682, allocations: 105.8 kB / 1.028 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.4682, allocations: 0 / 1.028 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 7.646e-05/0.4683, allocations: 29.7 kB / 1.028 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.878e-05/0.4684, allocations: 130.7 kB / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.319e-05/0.4685, allocations: 93 kB / 1.028 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.4685, allocations: 25.7 kB / 1.028 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.4685, allocations: 84.08 kB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.4685, allocations: 0 / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-07/0.4686, allocations: 4 kB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4687, allocations: 315.7 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.727e-06/0.4687, allocations: 4.125 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-06/0.4687, allocations: 0 / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.585e-05/0.4688, allocations: 75.28 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.743e-05/0.4688, allocations: 79.22 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.398e-05/0.4689, allocations: 33.64 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.247e-05/0.469, allocations: 83.27 kB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.821e-05/0.469, allocations: 79.22 kB / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.444e-05/0.4691, allocations: 160 kB / 1.029 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.935e-05/0.4691, allocations: 79.28 kB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.418e-05/0.4692, allocations: 154.5 kB / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.107e-05/0.4693, allocations: 75.28 kB / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.4694, allocations: 79.22 kB / 1.03 GB, free: 11.14 MB / 0.6823 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 () * Number of clocked 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.0001501/0.4695, allocations: 264.4 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.784e-05/0.4696, allocations: 113 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.643e-05/0.4697, allocations: 108.1 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.532e-05/0.4698, allocations: 184.2 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.077e-05/0.4699, allocations: 176.3 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.578e-05/0.47, allocations: 180.2 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.4703, allocations: 413.2 kB / 1.031 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.126e-05/0.4703, allocations: 108.9 kB / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.4704, allocations: 101 kB / 1.031 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.443e-05/0.4705, allocations: 180.2 kB / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.663e-05/0.4706, allocations: 184.2 kB / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.435e-05/0.4707, allocations: 177.1 kB / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.723e-05/0.4708, allocations: 192.2 kB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.471, allocations: 303.8 kB / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.4711, allocations: 182 kB / 1.032 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.962e-05/0.4712, allocations: 184.3 kB / 1.033 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.4713, allocations: 109.4 kB / 1.033 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.4714, allocations: 184.2 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.724e-05/0.4715, allocations: 101 kB / 1.033 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.214e-05/0.4715, allocations: 79.28 kB / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4715, allocations: 0 / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002956/0.4718, allocations: 0 / 1.033 GB, free: 7.473 MB / 0.6823 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 () * Number of clocked 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.0001603/0.472, allocations: 178.6 kB / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 3.952e-05/0.4721, allocations: 4.047 kB / 1.033 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4721, allocations: 0 / 1.033 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.658e-06/0.4721, allocations: 4.031 kB / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.4725, allocations: 0.5224 MB / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002177/0.4727, allocations: 158 kB / 1.034 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.473, allocations: 0.6731 MB / 1.035 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.849e-06/0.473, allocations: 0 / 1.035 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.4731, allocations: 11.38 kB / 1.035 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of SimCode: time 3.296e-06/0.4731, allocations: 0 / 1.035 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of Templates: time 0.002155/0.4752, allocations: 162.6 kB / 1.035 GB, free: 5.703 MB / 0.6823 GB