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.35/2.35, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001557/0.001557, allocations: 181.8 kB / 325.6 MB, free: 2.832 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.582/2.582, allocations: 205.4 MB / 0.5766 GB, free: 20.78 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.00163/0.00163, allocations: 89.41 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004896/0.0004896, allocations: 12.66 kB / 0.7952 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2105, allocations: 106.2 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.217/0.4276, allocations: 130.7 MB / 1.027 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/0.4279, allocations: 67.95 kB / 1.027 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.000552/0.4285, allocations: 372.9 kB / 1.027 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4285, allocations: 0 / 1.027 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.4285, allocations: 4 kB / 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.0002788/0.4288, allocations: 311.4 kB / 1.027 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4289, allocations: 12.09 kB / 1.027 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.4289, allocations: 3.938 kB / 1.027 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.4291, allocations: 170.9 kB / 1.027 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.4291, allocations: 0 / 1.027 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.4291, allocations: 0 / 1.027 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.212e-05/0.4292, allocations: 37.62 kB / 1.027 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.4292, allocations: 0 / 1.027 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.4292, allocations: 4 kB / 1.027 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.4293, allocations: 0 / 1.027 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.846e-05/0.4293, allocations: 3.984 kB / 1.027 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.4296, allocations: 383.5 kB / 1.028 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.492e-05/0.4297, allocations: 169.1 kB / 1.028 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.4298, allocations: 83.31 kB / 1.028 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/0.4299, allocations: 109.8 kB / 1.028 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.4299, allocations: 0 / 1.028 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 7.924e-05/0.43, allocations: 25.7 kB / 1.028 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.43, allocations: 126.7 kB / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.338e-05/0.4301, allocations: 92.94 kB / 1.028 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.4302, allocations: 29.81 kB / 1.028 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.4302, allocations: 84.14 kB / 1.029 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.4302, allocations: 3.938 kB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-07/0.4302, allocations: 0 / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4304, allocations: 323.7 kB / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-06/0.4304, allocations: 0 / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.379e-06/0.4304, allocations: 0 / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.195e-05/0.4304, allocations: 75.28 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.128e-05/0.4305, allocations: 75.28 kB / 1.029 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.387e-05/0.4305, allocations: 33.7 kB / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.607e-05/0.4306, allocations: 79.28 kB / 1.029 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.471e-05/0.4306, allocations: 79.22 kB / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.828e-05/0.4307, allocations: 152 kB / 1.029 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.217e-05/0.4308, allocations: 79.27 kB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.722e-05/0.4308, allocations: 158.5 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.694e-05/0.4309, allocations: 83.28 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.431, allocations: 79.22 kB / 1.03 GB, free: 11.13 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.0001341/0.4311, allocations: 264.4 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.4312, allocations: 101 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/0.4313, allocations: 116 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.379e-05/0.4313, allocations: 184.2 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.951e-05/0.4314, allocations: 184.3 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.28e-05/0.4315, allocations: 180.2 kB / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.4318, allocations: 401.2 kB / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.601e-05/0.4319, allocations: 105 kB / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.4319, allocations: 108.9 kB / 1.031 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.976e-05/0.432, allocations: 180.3 kB / 1.031 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.3e-05/0.4321, allocations: 180.2 kB / 1.032 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.47e-05/0.4322, allocations: 185.1 kB / 1.032 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.306e-05/0.4323, allocations: 180.2 kB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.4325, allocations: 307.8 kB / 1.032 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.812e-05/0.4326, allocations: 186 kB / 1.032 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.097e-05/0.4326, allocations: 176.3 kB / 1.033 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.4328, allocations: 109.4 kB / 1.033 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/0.4329, allocations: 184.3 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-05/0.4329, allocations: 105 kB / 1.033 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.245e-05/0.433, allocations: 87.27 kB / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/0.433, allocations: 0 / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002954/0.4333, allocations: 0 / 1.033 GB, free: 7.461 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.0001644/0.4335, allocations: 174.5 kB / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 4.358e-05/0.4335, allocations: 48 / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4335, allocations: 3.938 kB / 1.033 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.067e-06/0.4335, allocations: 4.031 kB / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.4339, allocations: 0.5323 MB / 1.034 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002265/0.4341, allocations: 146 kB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.4344, allocations: 0.677 MB / 1.035 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.819e-06/0.4344, allocations: 4 kB / 1.035 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.4345, allocations: 7.438 kB / 1.035 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of SimCode: time 8.41e-07/0.4345, allocations: 4 kB / 1.035 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of Templates: time 0.002173/0.4367, allocations: 154.3 kB / 1.035 GB, free: 5.699 MB / 0.6823 GB