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.Continuous.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.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.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.009308/0.009308, allocations: 111.6 kB / 15.05 MB, free: 5.969 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.00112/0.00112, allocations: 180 kB / 15.94 MB, free: 5.922 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.799/1.799, 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.14/2.14, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004779, allocations: 15.98 kB / 0.587 GB, free: 2.129 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5474/0.5479, allocations: 98.7 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1819/0.7298, allocations: 123.7 MB / 0.8042 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.73, allocations: 71.94 kB / 0.8043 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005635/0.7306, allocations: 372.9 kB / 0.8046 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.363e-06/0.7306, allocations: 0 / 0.8046 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.52e-06/0.7307, allocations: 0 / 0.8046 GB, free: 2.129 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.0002682/0.7309, allocations: 315.3 kB / 0.8049 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.731, allocations: 16.03 kB / 0.8049 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.731, allocations: 0 / 0.8049 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.7312, allocations: 171 kB / 0.8051 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.7312, allocations: 0 / 0.8051 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.576e-06/0.7312, allocations: 0 / 0.8051 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.229e-05/0.7313, allocations: 29.7 kB / 0.8051 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.041e-06/0.7313, allocations: 0 / 0.8051 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.926e-06/0.7313, allocations: 3.984 kB / 0.8051 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.738e-06/0.7313, allocations: 0 / 0.8051 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.458e-05/0.7314, allocations: 0 / 0.8051 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.7317, allocations: 387.5 kB / 0.8055 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.85e-05/0.7318, allocations: 173.1 kB / 0.8057 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.7319, allocations: 75.28 kB / 0.8057 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.949e-05/0.7319, allocations: 109.9 kB / 0.8058 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 4.968e-06/0.732, allocations: 0 / 0.8058 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.655e-05/0.732, allocations: 33.64 kB / 0.8059 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/0.7321, allocations: 130.6 kB / 0.806 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.329e-05/0.7322, allocations: 89 kB / 0.8061 GB, free: 448 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.7323, allocations: 25.7 kB / 0.8061 GB, free: 416 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.7323, allocations: 84.14 kB / 0.8062 GB, free: 328 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-06/0.7323, allocations: 0 / 0.8062 GB, free: 328 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.3e-07/0.7323, allocations: 0 / 0.8062 GB, free: 328 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.7325, allocations: 319 kB / 0.8065 GB, free: 16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.579e-06/0.7325, allocations: 4 kB / 0.8065 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.154e-06/0.7325, allocations: 4 kB / 0.8065 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.687e-05/0.7326, allocations: 75.28 kB / 0.8066 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-05/0.7326, allocations: 75.28 kB / 0.8067 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.437e-05/0.7327, allocations: 28.06 kB / 0.8067 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.059e-05/0.7328, allocations: 84.69 kB / 0.8068 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.246e-05/0.7328, allocations: 83.22 kB / 0.8068 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.797e-05/0.7329, allocations: 154.6 kB / 0.807 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.704e-05/0.733, allocations: 79.22 kB / 0.8071 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-05/0.7331, allocations: 162.5 kB / 0.8072 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.944e-05/0.7332, allocations: 75.28 kB / 0.8073 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.7332, allocations: 79.22 kB / 0.8074 GB, free: 15.1 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.0001459/0.7334, allocations: 264.4 kB / 0.8076 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-05/0.7335, allocations: 105 kB / 0.8077 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.244e-05/0.7335, allocations: 108 kB / 0.8078 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.689e-05/0.7336, allocations: 184.6 kB / 0.808 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-05/0.7337, allocations: 176.3 kB / 0.8082 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-05/0.7338, allocations: 188.2 kB / 0.8083 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.7341, allocations: 405.2 kB / 0.8087 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.158e-05/0.7342, allocations: 112.9 kB / 0.8088 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.183e-05/0.7342, allocations: 105 kB / 0.8089 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.174e-05/0.7343, allocations: 180.2 kB / 0.8091 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.316e-05/0.7344, allocations: 176.3 kB / 0.8093 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.978e-05/0.7345, allocations: 176.3 kB / 0.8094 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001012/0.7346, allocations: 192.2 kB / 0.8096 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.7348, allocations: 308.5 kB / 0.8099 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.484e-05/0.7349, allocations: 178.1 kB / 0.8101 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.735, allocations: 180.2 kB / 0.8103 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.7352, allocations: 112.9 kB / 0.8104 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.861e-05/0.7353, allocations: 184.3 kB / 0.8105 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-05/0.7353, allocations: 104.9 kB / 0.8106 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.121e-05/0.7354, allocations: 75.28 kB / 0.8107 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.6e-07/0.7354, allocations: 4 kB / 0.8107 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003192/0.7357, allocations: 0 / 0.8107 GB, free: 11.43 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.0001661/0.7359, allocations: 182.6 kB / 0.8109 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 3.032e-05/0.7359, allocations: 496 / 0.8109 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.367e-06/0.736, allocations: 0 / 0.8109 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.21e-06/0.736, allocations: 0 / 0.8109 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.7363, allocations: 0.5361 MB / 0.8114 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001981/0.7366, allocations: 154 kB / 0.8116 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.7369, allocations: 0.6731 MB / 0.8122 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.58e-06/0.7369, allocations: 4 kB / 0.8122 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.454e-05/0.7369, allocations: 7.438 kB / 0.8122 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of SimCode: time 1.31e-06/0.7369, allocations: 0 / 0.8122 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of Templates: time 0.001846/0.7388, allocations: 164.1 kB / 0.8124 GB, free: 9.664 MB / 0.6355 GB