Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.536/2.536, allocations: 287.9 MB / 302.9 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001414, allocations: 178.7 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.00103, allocations: 95.33 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.0004672, allocations: 12.03 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2061, allocations: 115.3 MB / 0.9788 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0005774/0.2067, allocations: 296.3 kB / 0.9791 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 2.991e-05/0.2067, allocations: 0 / 0.9791 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.511e-05/0.2068, allocations: 0 / 0.9791 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.267e-05/0.2068, allocations: 0 / 0.9791 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 1.942e-05/0.2068, allocations: 0 / 0.9791 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.343e-05/0.2069, allocations: 4 kB / 0.9791 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.58e-05/0.2069, allocations: 0 / 0.9791 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.409e-05/0.207, allocations: 4 kB / 0.9791 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.48e-05/0.207, allocations: 7.938 kB / 0.9791 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.484e-05/0.207, allocations: 0 / 0.9791 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.675e-06/0.207, allocations: 0 / 0.9791 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.688e-06/0.207, allocations: 0 / 0.9791 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.156e-06/0.207, allocations: 0 / 0.9791 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.35e-05/0.2071, allocations: 25.7 kB / 0.9791 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 3.249e-05/0.2071, allocations: 3.984 kB / 0.9791 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.57e-06/0.2071, allocations: 0 / 0.9791 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2071, allocations: 0 / 0.9791 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.954e-06/0.2071, allocations: 0 / 0.9791 GB, free: 27.81 MB / 0.6198 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.000181/0.2073, allocations: 311.4 kB / 0.9794 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/0.2074, allocations: 8.094 kB / 0.9794 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.2074, allocations: 3.938 kB / 0.9794 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.92e-05/0.2075, allocations: 171 kB / 0.9796 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.089e-06/0.2075, allocations: 0 / 0.9796 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.2075, allocations: 3.984 kB / 0.9796 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.519e-05/0.2076, allocations: 29.64 kB / 0.9796 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.132e-06/0.2076, allocations: 0 / 0.9796 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.898e-06/0.2077, allocations: 4 kB / 0.9796 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.405e-06/0.2077, allocations: 4 kB / 0.9796 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.413e-05/0.2077, allocations: 0 / 0.9796 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.2079, allocations: 389.1 kB / 0.98 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.556e-05/0.208, allocations: 169.1 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.208, allocations: 79.28 kB / 0.9802 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.208, allocations: 113.8 kB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.684e-06/0.208, allocations: 0 / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.744e-05/0.2081, allocations: 37.61 kB / 0.9804 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.2082, allocations: 126.7 kB / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.905e-05/0.2082, allocations: 97.84 kB / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.001e-06/0.2082, allocations: 25.83 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.658e-05/0.2083, allocations: 84.14 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-06/0.2083, allocations: 0 / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-07/0.2083, allocations: 0 / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.027e-05/0.2083, allocations: 318.8 kB / 0.981 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.15e-06/0.2084, allocations: 0 / 0.981 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.466e-06/0.2084, allocations: 3.938 kB / 0.981 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.389e-05/0.2084, allocations: 75.28 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.2084, allocations: 79.28 kB / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.591e-05/0.2085, allocations: 29.7 kB / 0.9812 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.2085, allocations: 80.53 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.2086, allocations: 79.28 kB / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.612e-05/0.2086, allocations: 162.5 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.365e-05/0.2086, allocations: 75.28 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.413e-05/0.2087, allocations: 154.5 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.085e-05/0.2087, allocations: 83.28 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.2088, allocations: 79.28 kB / 0.9819 GB, free: 24.77 MB / 0.6198 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 6.325e-05/0.2088, allocations: 264.3 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.2089, allocations: 105 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.2089, allocations: 108.1 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.692e-05/0.209, allocations: 181.2 kB / 0.9825 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-05/0.209, allocations: 184.3 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.778e-05/0.209, allocations: 184.2 kB / 0.9828 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.2092, allocations: 401.2 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/0.2092, allocations: 101 kB / 0.9833 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.82e-05/0.2092, allocations: 108.9 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-05/0.2093, allocations: 188.3 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.2093, allocations: 184.2 kB / 0.9838 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.791e-05/0.2094, allocations: 176.6 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.867e-05/0.2094, allocations: 184.3 kB / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.383e-05/0.2095, allocations: 311.8 kB / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.2095, allocations: 194 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.2096, allocations: 176.3 kB / 0.9848 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.7e-05/0.2097, allocations: 101 kB / 0.9849 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.2097, allocations: 180.2 kB / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.2097, allocations: 109 kB / 0.9851 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.673e-05/0.2098, allocations: 83.27 kB / 0.9852 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.4e-07/0.2098, allocations: 0 / 0.9852 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003213/0.2101, allocations: 0 / 0.9852 GB, free: 21.1 MB / 0.6198 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 9.233e-05/0.2102, allocations: 174.5 kB / 0.9854 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 3.441e-05/0.2102, allocations: 3.938 kB / 0.9854 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.596e-06/0.2103, allocations: 0 / 0.9854 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.442e-06/0.2103, allocations: 0 / 0.9854 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.2105, allocations: 0.5267 MB / 0.9859 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001539/0.2107, allocations: 158 kB / 0.9861 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.2108, allocations: 0.6692 MB / 0.9867 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.86e-06/0.2108, allocations: 0 / 0.9867 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.251e-05/0.2108, allocations: 11.44 kB / 0.9867 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of SimCode: time 1.215e-06/0.2108, allocations: 4 kB / 0.9867 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of Templates: time 0.001864/0.2127, allocations: 152 kB / 0.9869 GB, free: 19.34 MB / 0.6198 GB