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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01095/0.01095, allocations: 107.7 kB / 15.05 MB, free: 5.934 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.001318/0.001317, allocations: 181.3 kB / 15.94 MB, free: 5.898 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 2.068/2.068, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.352/2.352, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004988/0.0004989, allocations: 12 kB / 0.587 GB, free: 2.035 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7105/0.711, allocations: 98.72 MB / 0.6835 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2255/0.9366, allocations: 123.7 MB / 0.8043 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/0.9369, allocations: 75.91 kB / 0.8044 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0006168/0.9376, allocations: 372.8 kB / 0.8047 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.435e-06/0.9376, allocations: 4 kB / 0.8047 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.9376, allocations: 0 / 0.8047 GB, free: 1.977 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.0003962/0.938, allocations: 315.4 kB / 0.805 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.9381, allocations: 8.031 kB / 0.805 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.013e-05/0.9382, allocations: 30.56 kB / 0.8051 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.9382, allocations: 0 / 0.8051 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.9384, allocations: 167 kB / 0.8052 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.9384, allocations: 0 / 0.8052 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.9384, allocations: 0 / 0.8052 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.9385, allocations: 33.7 kB / 0.8052 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.9385, allocations: 3.938 kB / 0.8052 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.9386, allocations: 0 / 0.8052 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.9386, allocations: 7.984 kB / 0.8053 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.945e-05/0.9386, allocations: 0 / 0.8053 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.939, allocations: 379.5 kB / 0.8056 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.9391, allocations: 173.1 kB / 0.8058 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.9391, allocations: 79.22 kB / 0.8059 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.794e-05/0.9392, allocations: 109.8 kB / 0.806 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.9392, allocations: 0 / 0.806 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 8.449e-05/0.9393, allocations: 29.7 kB / 0.806 GB, free: 500 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.9394, allocations: 126.7 kB / 0.8061 GB, free: 360 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.603e-05/0.9395, allocations: 96.95 kB / 0.8062 GB, free: 256 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.9395, allocations: 29.7 kB / 0.8062 GB, free: 220 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.9396, allocations: 80.14 kB / 0.8063 GB, free: 136 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.9396, allocations: 0 / 0.8063 GB, free: 136 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-07/0.9396, allocations: 0 / 0.8063 GB, free: 136 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.9398, allocations: 314.8 kB / 0.8066 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.608e-06/0.9398, allocations: 3.938 kB / 0.8066 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-06/0.9398, allocations: 6.422 kB / 0.8066 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.421e-05/0.9398, allocations: 79.41 kB / 0.8067 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.282e-05/0.9399, allocations: 75.28 kB / 0.8068 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.412e-05/0.94, allocations: 29.7 kB / 0.8068 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.94, allocations: 79.28 kB / 0.8069 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.573e-05/0.9401, allocations: 86.61 kB / 0.807 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-05/0.9401, allocations: 154.5 kB / 0.8071 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.144e-05/0.9402, allocations: 75.28 kB / 0.8072 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.988e-05/0.9403, allocations: 158.5 kB / 0.8073 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.156e-05/0.9404, allocations: 79.27 kB / 0.8074 GB, free: 15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.9404, allocations: 83.23 kB / 0.8075 GB, free: 14.92 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.0001358/0.9405, allocations: 264.3 kB / 0.8077 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/0.9406, allocations: 101 kB / 0.8078 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.056e-05/0.9407, allocations: 112.1 kB / 0.8079 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.632e-05/0.9408, allocations: 184.5 kB / 0.8081 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.017e-05/0.9409, allocations: 176.3 kB / 0.8083 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.222e-05/0.941, allocations: 180.3 kB / 0.8084 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.9412, allocations: 417.1 kB / 0.8088 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.773e-05/0.9413, allocations: 101 kB / 0.8089 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.192e-05/0.9413, allocations: 108.9 kB / 0.809 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.089e-05/0.9414, allocations: 180.3 kB / 0.8092 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.844e-05/0.9415, allocations: 180.2 kB / 0.8094 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.828e-05/0.9416, allocations: 180.3 kB / 0.8096 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.894e-05/0.9416, allocations: 180.2 kB / 0.8097 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.9418, allocations: 307.7 kB / 0.81 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.176e-05/0.9419, allocations: 194 kB / 0.8102 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.344e-05/0.942, allocations: 180.2 kB / 0.8104 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.929e-05/0.9421, allocations: 101 kB / 0.8105 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.921e-05/0.9422, allocations: 184.2 kB / 0.8107 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/0.9422, allocations: 105 kB / 0.8108 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.99e-05/0.9423, allocations: 75.28 kB / 0.8108 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.41e-07/0.9423, allocations: 0 / 0.8108 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002967/0.9426, allocations: 0 / 0.8108 GB, free: 11.26 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.0004342/0.9431, allocations: 0.821 MB / 0.8116 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 4.214e-05/0.9431, allocations: 0 / 0.8116 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.9431, allocations: 0 / 0.8116 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.732e-06/0.9431, allocations: 8 kB / 0.8116 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.9435, allocations: 0.5262 MB / 0.8122 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006306/0.9441, allocations: 0.4977 MB / 0.8126 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.9444, allocations: 0.6692 MB / 0.8133 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.242e-05/0.9444, allocations: 0 / 0.8133 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.9444, allocations: 7.438 kB / 0.8133 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of SimCode: time 7.22e-07/0.9445, allocations: 4.094 kB / 0.8133 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.961, allocations: 0.7311 MB / 0.814 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002951/0.9614, allocations: 189.1 kB / 0.8142 GB, free: 7.758 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/3.211, allocations: 1.875 kB / 0.8142 GB, free: 7.758 MB / 0.6355 GB