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.42/2.42, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.00154/0.00154, allocations: 178.9 kB / 325.6 MB, free: 2.855 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.468/2.468, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001153/0.001152, allocations: 96.48 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005285/0.0005288, allocations: 18.09 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2577, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0007383/0.2585, allocations: 281 kB / 0.8992 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.421e-05/0.2585, allocations: 4 kB / 0.8992 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.121e-05/0.2585, allocations: 0 / 0.8992 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.2586, allocations: 0 / 0.8992 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.094e-05/0.2586, allocations: 0 / 0.8992 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.892e-05/0.2586, allocations: 4 kB / 0.8992 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.763e-05/0.2587, allocations: 3.938 kB / 0.8992 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.413e-05/0.2588, allocations: 0 / 0.8992 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.341e-05/0.2588, allocations: 3.938 kB / 0.8992 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.932e-05/0.2588, allocations: 0 / 0.8992 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.2588, allocations: 4 kB / 0.8992 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.428e-06/0.2588, allocations: 0 / 0.8992 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.868e-06/0.2589, allocations: 4 kB / 0.8992 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.702e-05/0.2589, allocations: 25.7 kB / 0.8992 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 3.785e-05/0.2589, allocations: 3.984 kB / 0.8992 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2589, allocations: 0 / 0.8992 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.994e-06/0.259, allocations: 0 / 0.8992 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.259, allocations: 0 / 0.8992 GB, free: 65.15 MB / 0.6042 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.0002286/0.2592, allocations: 311.3 kB / 0.8995 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2593, allocations: 12.03 kB / 0.8995 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.2593, allocations: 4 kB / 0.8995 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.537e-05/0.2594, allocations: 167 kB / 0.8997 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.2594, allocations: 0 / 0.8997 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.2594, allocations: 0 / 0.8997 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.794e-05/0.2595, allocations: 33.64 kB / 0.8997 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2596, allocations: 0 / 0.8997 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.2596, allocations: 0 / 0.8997 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.2596, allocations: 0 / 0.8997 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.753e-05/0.2596, allocations: 0 / 0.8997 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.2599, allocations: 388.3 kB / 0.9001 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.293e-05/0.2599, allocations: 173.1 kB / 0.9003 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.26, allocations: 75.28 kB / 0.9003 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.26, allocations: 109.8 kB / 0.9005 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.26, allocations: 4 kB / 0.9005 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.609e-05/0.2601, allocations: 25.7 kB / 0.9005 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.2601, allocations: 130.7 kB / 0.9006 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.741e-05/0.2602, allocations: 97.81 kB / 0.9007 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.2602, allocations: 25.7 kB / 0.9007 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.05e-05/0.2602, allocations: 81.3 kB / 0.9008 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.2603, allocations: 3.938 kB / 0.9008 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-07/0.2603, allocations: 128 / 0.9008 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.758e-05/0.2603, allocations: 326.8 kB / 0.9011 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-06/0.2603, allocations: 0 / 0.9011 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-06/0.2604, allocations: 0 / 0.9011 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.697e-05/0.2604, allocations: 79.22 kB / 0.9012 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.2604, allocations: 75.28 kB / 0.9013 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.594e-05/0.2605, allocations: 33.69 kB / 0.9013 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.2605, allocations: 81.47 kB / 0.9014 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.2605, allocations: 83.22 kB / 0.9015 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.92e-05/0.2606, allocations: 150.6 kB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.542e-05/0.2606, allocations: 83.28 kB / 0.9017 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.285e-05/0.2606, allocations: 158.5 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.2607, allocations: 75.28 kB / 0.9019 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.2607, allocations: 83.17 kB / 0.902 GB, free: 62.12 MB / 0.6042 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.588e-05/0.2608, allocations: 268.4 kB / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.2609, allocations: 101 kB / 0.9023 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.2609, allocations: 104.1 kB / 0.9024 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.659e-05/0.261, allocations: 188.2 kB / 0.9026 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-05/0.261, allocations: 176.3 kB / 0.9028 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.638e-05/0.2611, allocations: 189 kB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.2613, allocations: 405.2 kB / 0.9033 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/0.2613, allocations: 101 kB / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.169e-05/0.2613, allocations: 112.9 kB / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.552e-05/0.2614, allocations: 176.3 kB / 0.9037 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.2614, allocations: 184.2 kB / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.38e-05/0.2615, allocations: 184.3 kB / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.485e-05/0.2615, allocations: 180.6 kB / 0.9042 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.688e-05/0.2616, allocations: 311.8 kB / 0.9045 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.2617, allocations: 186.1 kB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/0.2617, allocations: 184.3 kB / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.2618, allocations: 104.9 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.2619, allocations: 184.2 kB / 0.9052 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.2619, allocations: 101 kB / 0.9053 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.254e-05/0.262, allocations: 79.28 kB / 0.9053 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.2e-07/0.262, allocations: 0 / 0.9053 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003103/0.2623, allocations: 0 / 0.9053 GB, free: 58.45 MB / 0.6042 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.0001233/0.2624, allocations: 178.6 kB / 0.9055 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.519e-05/0.2625, allocations: 0 / 0.9055 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2625, allocations: 0 / 0.9055 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.288e-06/0.2625, allocations: 4 kB / 0.9055 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.2628, allocations: 0.534 MB / 0.906 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001985/0.263, allocations: 150 kB / 0.9062 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.2631, allocations: 0.6731 MB / 0.9068 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.077e-05/0.2631, allocations: 3.984 kB / 0.9068 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.728e-05/0.2632, allocations: 7.438 kB / 0.9068 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of SimCode: time 6.42e-07/0.2632, allocations: 0 / 0.9068 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of Templates: time 0.002109/0.2653, allocations: 152.3 kB / 0.907 GB, free: 56.68 MB / 0.6042 GB