Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009052/0.009052, allocations: 110.2 kB / 15.05 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001118/0.001118, allocations: 184 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.912/1.912, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.435/2.435, allocations: 236.1 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004779, allocations: 12 kB / 0.587 GB, free: 2.137 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.639/0.6395, allocations: 98.71 MB / 0.6834 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.8347, allocations: 123.7 MB / 0.8042 GB, free: 2.535 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.835, allocations: 71.95 kB / 0.8043 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005545/0.8356, allocations: 364.8 kB / 0.8046 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.347e-06/0.8356, allocations: 0 / 0.8046 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.456e-06/0.8356, allocations: 4.062 kB / 0.8046 GB, free: 2.102 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.0002792/0.8359, allocations: 311.3 kB / 0.8049 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.836, allocations: 8.094 kB / 0.8049 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.836, allocations: 0 / 0.8049 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.8362, allocations: 175 kB / 0.8051 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.8362, allocations: 0 / 0.8051 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.695e-06/0.8362, allocations: 0 / 0.8051 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.578e-05/0.8363, allocations: 29.69 kB / 0.8051 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.315e-06/0.8363, allocations: 0 / 0.8051 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.8363, allocations: 4 kB / 0.8051 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.8363, allocations: 0 / 0.8051 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.491e-05/0.8363, allocations: 0 / 0.8051 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.8367, allocations: 387.5 kB / 0.8055 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.8368, allocations: 173.1 kB / 0.8057 GB, free: 0.8828 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.8369, allocations: 75.28 kB / 0.8057 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.712e-05/0.8369, allocations: 109.8 kB / 0.8058 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 3.915e-06/0.8369, allocations: 0 / 0.8058 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.661e-05/0.837, allocations: 37.64 kB / 0.8059 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/0.8371, allocations: 130.6 kB / 0.806 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.811e-05/0.8372, allocations: 89 kB / 0.8061 GB, free: 424 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.8372, allocations: 25.7 kB / 0.8061 GB, free: 392 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.8373, allocations: 88.12 kB / 0.8062 GB, free: 300 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-06/0.8373, allocations: 0 / 0.8062 GB, free: 300 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-07/0.8373, allocations: 0 / 0.8062 GB, free: 300 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.8375, allocations: 314.9 kB / 0.8065 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.423e-06/0.8375, allocations: 4 kB / 0.8065 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.091e-06/0.8375, allocations: 0 / 0.8065 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.596e-05/0.8376, allocations: 75.28 kB / 0.8066 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.565e-05/0.8376, allocations: 75.28 kB / 0.8066 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.682e-05/0.8377, allocations: 32.06 kB / 0.8067 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/0.8378, allocations: 79.28 kB / 0.8067 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.836e-05/0.8378, allocations: 87.16 kB / 0.8068 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.199e-05/0.8379, allocations: 154.6 kB / 0.807 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.639e-05/0.838, allocations: 83.2 kB / 0.8071 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.191e-05/0.838, allocations: 154.6 kB / 0.8072 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.602e-05/0.8381, allocations: 79.28 kB / 0.8073 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.8382, allocations: 79.22 kB / 0.8074 GB, free: 15.08 MB / 0.6355 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.0001549/0.8384, allocations: 264.4 kB / 0.8076 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.999e-05/0.8385, allocations: 101 kB / 0.8077 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.295e-05/0.8385, allocations: 120 kB / 0.8078 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.879e-05/0.8386, allocations: 176.6 kB / 0.808 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.661e-05/0.8387, allocations: 176.3 kB / 0.8081 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.289e-05/0.8388, allocations: 184.2 kB / 0.8083 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.8392, allocations: 413.2 kB / 0.8087 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.507e-05/0.8392, allocations: 104.9 kB / 0.8088 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.195e-05/0.8393, allocations: 101 kB / 0.8089 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.986e-05/0.8394, allocations: 180.3 kB / 0.8091 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.489e-05/0.8395, allocations: 184.2 kB / 0.8093 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.028e-05/0.8396, allocations: 180.2 kB / 0.8094 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.152e-05/0.8397, allocations: 184.2 kB / 0.8096 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.8399, allocations: 308.5 kB / 0.8099 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.84, allocations: 186.1 kB / 0.8101 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.8401, allocations: 176.3 kB / 0.8103 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.8403, allocations: 116.9 kB / 0.8104 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.8404, allocations: 176.3 kB / 0.8105 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/0.8404, allocations: 108.9 kB / 0.8106 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.461e-05/0.8405, allocations: 79.27 kB / 0.8107 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.6e-07/0.8405, allocations: 0 / 0.8107 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003228/0.8408, allocations: 0 / 0.8107 GB, free: 11.41 MB / 0.6355 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.0001675/0.841, allocations: 178.6 kB / 0.8109 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 4.019e-05/0.8411, allocations: 4.484 kB / 0.8109 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.8411, allocations: 0 / 0.8109 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.569e-06/0.8411, allocations: 0 / 0.8109 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.8415, allocations: 0.5263 MB / 0.8114 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002136/0.8417, allocations: 154 kB / 0.8115 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.8421, allocations: 0.677 MB / 0.8122 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.144e-06/0.8421, allocations: 0 / 0.8122 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.8421, allocations: 7.438 kB / 0.8122 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of SimCode: time 1.471e-06/0.8421, allocations: 0 / 0.8122 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of Templates: time 0.001928/0.8441, allocations: 156.2 kB / 0.8124 GB, free: 9.652 MB / 0.6355 GB