Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.048/5.048, allocations: 0.5623 GB / 0.5775 GB, free: 3.344 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002412/0.002412, allocations: 359.9 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.246/4.246, allocations: 410.7 MB / 1.113 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001865/0.001865, allocations: 183.2 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004782, allocations: 12 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7308/0.7313, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2006/0.932, allocations: 136.9 MB / 1.595 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.9323, allocations: 63.97 kB / 1.595 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.000464/0.9328, allocations: 379.5 kB / 1.595 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9328, allocations: 0 / 1.595 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.9328, allocations: 0 / 1.595 GB, free: 146.8 MB / 0.8542 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.0001996/0.933, allocations: 311.4 kB / 1.596 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.9331, allocations: 15.69 kB / 1.596 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.9331, allocations: 0.9844 kB / 1.596 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.298e-05/0.9332, allocations: 163.8 kB / 1.596 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.9332, allocations: 0.7812 kB / 1.596 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.9332, allocations: 0 / 1.596 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.605e-05/0.9333, allocations: 36.45 kB / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.9333, allocations: 0 / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.9334, allocations: 0 / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.9334, allocations: 0 / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.721e-05/0.9334, allocations: 0.6562 kB / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002363/0.9336, allocations: 388.9 kB / 1.596 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.301e-05/0.9337, allocations: 177.6 kB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.9337, allocations: 85.61 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.9338, allocations: 75.28 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.9338, allocations: 109.1 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 2.625e-06/0.9338, allocations: 1.484 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 6.456e-05/0.9339, allocations: 30.94 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.9339, allocations: 130.6 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.967e-05/0.934, allocations: 102.5 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/0.934, allocations: 26.2 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.013e-05/0.9341, allocations: 80.64 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-06/0.9341, allocations: 0 / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.91e-07/0.9341, allocations: 0.5 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.543e-05/0.9342, allocations: 322 kB / 1.597 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-06/0.9342, allocations: 0 / 1.597 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-06/0.9342, allocations: 0 / 1.597 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.532e-05/0.9342, allocations: 75.28 kB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.9342, allocations: 75.28 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.582e-05/0.9343, allocations: 33.69 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.9343, allocations: 81.03 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.9344, allocations: 79.22 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.046e-05/0.9344, allocations: 154.6 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.53e-05/0.9344, allocations: 83.72 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.734e-05/0.9345, allocations: 151.3 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.238e-05/0.9345, allocations: 76 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.9346, allocations: 84.17 kB / 1.598 GB, free: 143.7 MB / 0.8542 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 7.393e-05/0.9347, allocations: 265.3 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.9347, allocations: 101.6 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.9347, allocations: 114.5 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.381e-05/0.9348, allocations: 184.2 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.811e-05/0.9348, allocations: 184.2 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.641e-05/0.9349, allocations: 183.7 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.9351, allocations: 405.2 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.18e-05/0.9351, allocations: 110.7 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.001e-05/0.9351, allocations: 101 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-05/0.9352, allocations: 176.3 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.9352, allocations: 180.8 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.229e-05/0.9353, allocations: 181 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.392e-05/0.9353, allocations: 184.8 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.856e-05/0.9354, allocations: 313.6 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.9355, allocations: 178.1 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.9355, allocations: 181.7 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.979e-05/0.9356, allocations: 112.9 kB / 1.601 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.9356, allocations: 186.4 kB / 1.601 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.9357, allocations: 104.9 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.378e-05/0.9357, allocations: 79.28 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9357, allocations: 1.188 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002916/0.936, allocations: 0 / 1.602 GB, free: 140.1 MB / 0.8542 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.000127/0.9362, allocations: 172.2 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.399e-05/0.9362, allocations: 8.469 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.9362, allocations: 0.7812 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.436e-06/0.9362, allocations: 8 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.9366, allocations: 0.521 MB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001749/0.9368, allocations: 146.7 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.9369, allocations: 0.6809 MB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.406e-06/0.9369, allocations: 1.969 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.495e-05/0.937, allocations: 7.438 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.937, allocations: 0 / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.002202/0.9392, allocations: 155.3 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB