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.008962/0.008967, allocations: 107.8 kB / 15.06 MB, free: 6.039 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.001121/0.001121, allocations: 183.2 kB / 15.95 MB, free: 5.953 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.841/1.841, allocations: 194.6 MB / 211.3 MB, free: 11.26 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.519/2.519, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004722, allocations: 19.98 kB / 0.587 GB, free: 2.152 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6522/0.6527, allocations: 98.71 MB / 0.6834 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0006297/0.6533, allocations: 280.4 kB / 0.6836 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 3.27e-05/0.6534, allocations: 5.031 kB / 0.6836 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.939e-05/0.6534, allocations: 1.25 kB / 0.6836 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.048e-05/0.6534, allocations: 0 / 0.6836 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 2.302e-05/0.6535, allocations: 0 / 0.6836 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 2.61e-05/0.6535, allocations: 0 / 0.6836 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 4.03e-05/0.6536, allocations: 5.094 kB / 0.6836 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.6536, allocations: 1.375 kB / 0.6836 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 1.152e-05/0.6536, allocations: 0.75 kB / 0.6836 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 1.59e-05/0.6537, allocations: 1.094 kB / 0.6836 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.6537, allocations: 4 kB / 0.6836 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 3.413e-06/0.6537, allocations: 0 / 0.6836 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.384e-06/0.6537, allocations: 3.984 kB / 0.6837 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.528e-05/0.6537, allocations: 26.83 kB / 0.6837 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 3.59e-05/0.6538, allocations: 3.109 kB / 0.6837 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.6538, allocations: 0 / 0.6837 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.925e-06/0.6538, allocations: 0 / 0.6837 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.8e-06/0.6538, allocations: 0 / 0.6837 GB, free: 16.64 MB / 0.5261 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.0001907/0.654, allocations: 315.8 kB / 0.684 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.6541, allocations: 9.391 kB / 0.684 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.397e-05/0.6541, allocations: 5.219 kB / 0.684 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.998e-05/0.6542, allocations: 163.9 kB / 0.6842 GB, free: 16.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.6542, allocations: 1.156 kB / 0.6842 GB, free: 16.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.6542, allocations: 0 / 0.6842 GB, free: 16.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.862e-05/0.6543, allocations: 32.77 kB / 0.6842 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.397e-06/0.6543, allocations: 0 / 0.6842 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.507e-06/0.6543, allocations: 3.984 kB / 0.6842 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.08e-06/0.6543, allocations: 1.062 kB / 0.6842 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.589e-05/0.6544, allocations: 2.047 kB / 0.6842 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.6546, allocations: 386.1 kB / 0.6846 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.042e-05/0.6547, allocations: 177.6 kB / 0.6847 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.6547, allocations: 75.28 kB / 0.6848 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.6547, allocations: 107.7 kB / 0.6849 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.654e-06/0.6547, allocations: 4 kB / 0.6849 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 7.742e-05/0.6548, allocations: 27.7 kB / 0.6849 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.6548, allocations: 126.7 kB / 0.6851 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.8e-05/0.6549, allocations: 103.2 kB / 0.6852 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.407e-06/0.6549, allocations: 25.7 kB / 0.6852 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.79e-05/0.655, allocations: 88.92 kB / 0.6853 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-06/0.655, allocations: 1.25 kB / 0.6853 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-07/0.655, allocations: 128 / 0.6853 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.574e-05/0.655, allocations: 314.8 kB / 0.6856 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-06/0.6551, allocations: 1.281 kB / 0.6856 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.807e-06/0.6551, allocations: 0.8906 kB / 0.6856 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.338e-05/0.6551, allocations: 75.28 kB / 0.6856 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.6551, allocations: 76.78 kB / 0.6857 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.377e-05/0.6552, allocations: 27.86 kB / 0.6857 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.6552, allocations: 80.62 kB / 0.6858 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.6552, allocations: 85.17 kB / 0.6859 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/0.6553, allocations: 151.7 kB / 0.686 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-05/0.6553, allocations: 77.36 kB / 0.6861 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.578e-05/0.6553, allocations: 159.4 kB / 0.6863 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.805e-05/0.6554, allocations: 76.5 kB / 0.6863 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.6554, allocations: 93.19 kB / 0.6864 GB, free: 13.67 MB / 0.5261 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 6.318e-05/0.6555, allocations: 266.6 kB / 0.6867 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.6556, allocations: 102.9 kB / 0.6868 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.6556, allocations: 110.2 kB / 0.6869 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/0.6556, allocations: 182.6 kB / 0.6871 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.901e-05/0.6557, allocations: 177.6 kB / 0.6872 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.78e-05/0.6557, allocations: 185.9 kB / 0.6874 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.6559, allocations: 405.2 kB / 0.6878 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.93e-05/0.6559, allocations: 107.4 kB / 0.6879 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.732e-05/0.6559, allocations: 101.6 kB / 0.688 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.919e-05/0.656, allocations: 179 kB / 0.6882 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.656, allocations: 182.4 kB / 0.6883 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.711e-05/0.6561, allocations: 182.3 kB / 0.6885 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-05/0.6561, allocations: 180.9 kB / 0.6887 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.533e-05/0.6562, allocations: 305.9 kB / 0.689 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/0.6562, allocations: 188.5 kB / 0.6892 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.6563, allocations: 186.5 kB / 0.6893 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.6564, allocations: 110.5 kB / 0.6894 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.6564, allocations: 178.2 kB / 0.6896 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.6564, allocations: 107.7 kB / 0.6897 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.792e-05/0.6565, allocations: 76.5 kB / 0.6898 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.67e-07/0.6565, allocations: 0 / 0.6898 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003277/0.6568, allocations: 1.469 kB / 0.6898 GB, free: 10.05 MB / 0.5261 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.0001041/0.6569, allocations: 183.8 kB / 0.69 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 3.444e-05/0.657, allocations: 1.156 kB / 0.69 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.988e-06/0.657, allocations: 3.938 kB / 0.69 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.918e-06/0.657, allocations: 1.094 kB / 0.69 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.6572, allocations: 0.5277 MB / 0.6905 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000156/0.6574, allocations: 153.5 kB / 0.6906 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.6575, allocations: 0.6743 MB / 0.6913 GB, free: 8.477 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.369e-06/0.6575, allocations: 0 / 0.6913 GB, free: 8.477 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.211e-05/0.6576, allocations: 8.469 kB / 0.6913 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of SimCode: time 1.876e-06/0.6576, allocations: 1.156 kB / 0.6913 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of Templates: time 0.001896/0.6595, allocations: 154 kB / 0.6914 GB, free: 8.414 MB / 0.5261 GB