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.Integers.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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.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.008965/0.008969, allocations: 106.3 kB / 15.06 MB, free: 5.559 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.001143/0.001143, allocations: 182.3 kB / 15.95 MB, free: 5.523 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.225/2.225, allocations: 194.6 MB / 211.3 MB, free: 11.12 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.252/2.252, allocations: 236.1 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.0004671, allocations: 12 kB / 0.587 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6012/0.6017, allocations: 98.7 MB / 0.6833 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.00059/0.6023, allocations: 271.9 kB / 0.6836 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 3.174e-05/0.6024, allocations: 9.219 kB / 0.6836 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.79e-05/0.6024, allocations: 0 / 0.6836 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 9.672e-06/0.6024, allocations: 0 / 0.6836 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 2.279e-05/0.6024, allocations: 0 / 0.6836 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 2.364e-05/0.6025, allocations: 1.281 kB / 0.6836 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 3.907e-05/0.6025, allocations: 2 kB / 0.6836 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.6026, allocations: 3.984 kB / 0.6836 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 1.212e-05/0.6026, allocations: 1.125 kB / 0.6836 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 1.615e-05/0.6026, allocations: 0.9375 kB / 0.6836 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.6026, allocations: 1.094 kB / 0.6836 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 3.754e-06/0.6027, allocations: 4 kB / 0.6836 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.313e-06/0.6027, allocations: 4 kB / 0.6836 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.574e-05/0.6027, allocations: 26.83 kB / 0.6837 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 3.314e-05/0.6027, allocations: 5.781 kB / 0.6837 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.647e-06/0.6028, allocations: 0 / 0.6837 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6028, allocations: 1.156 kB / 0.6837 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.69e-06/0.6028, allocations: 0 / 0.6837 GB, free: 16.61 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.0001787/0.603, allocations: 311.3 kB / 0.684 GB, free: 16.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.603, allocations: 12.56 kB / 0.684 GB, free: 16.26 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.603, allocations: 6.047 kB / 0.684 GB, free: 16.26 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.353e-05/0.6031, allocations: 163.9 kB / 0.6841 GB, free: 16.06 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.6031, allocations: 5.125 kB / 0.6841 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.6032, allocations: 0 / 0.6841 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.516e-05/0.6032, allocations: 29.19 kB / 0.6842 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.471e-06/0.6033, allocations: 0 / 0.6842 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.315e-06/0.6033, allocations: 0 / 0.6842 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.6033, allocations: 5.203 kB / 0.6842 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.654e-05/0.6033, allocations: 5.125 kB / 0.6842 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002114/0.6035, allocations: 391 kB / 0.6846 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.919e-05/0.6036, allocations: 167.5 kB / 0.6847 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.6036, allocations: 77.39 kB / 0.6848 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.6037, allocations: 107.1 kB / 0.6849 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.938e-06/0.6037, allocations: 0 / 0.6849 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 6.683e-05/0.6037, allocations: 39.56 kB / 0.6849 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.6038, allocations: 130.6 kB / 0.685 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.714e-05/0.6038, allocations: 98.81 kB / 0.6851 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.82e-06/0.6039, allocations: 25.7 kB / 0.6852 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.86e-05/0.6039, allocations: 81.84 kB / 0.6852 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.6039, allocations: 0 / 0.6852 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-07/0.6039, allocations: 0 / 0.6852 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.972e-05/0.604, allocations: 316.9 kB / 0.6855 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.158e-06/0.604, allocations: 0 / 0.6855 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-06/0.604, allocations: 0 / 0.6855 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.351e-05/0.604, allocations: 76.66 kB / 0.6856 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.604, allocations: 76.17 kB / 0.6857 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.691e-05/0.6041, allocations: 33.33 kB / 0.6857 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.6041, allocations: 79.47 kB / 0.6858 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.6042, allocations: 80.59 kB / 0.6859 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.47e-05/0.6042, allocations: 156.6 kB / 0.686 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.578e-05/0.6042, allocations: 81.59 kB / 0.6861 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-05/0.6043, allocations: 154.5 kB / 0.6863 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.826e-05/0.6043, allocations: 81.27 kB / 0.6863 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.6044, allocations: 80.41 kB / 0.6864 GB, free: 13.64 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.471e-05/0.6044, allocations: 262.5 kB / 0.6867 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.6045, allocations: 111 kB / 0.6868 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.6045, allocations: 110.8 kB / 0.6869 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.753e-05/0.6046, allocations: 178.6 kB / 0.687 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.1e-05/0.6046, allocations: 181.5 kB / 0.6872 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.921e-05/0.6047, allocations: 181 kB / 0.6874 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.6048, allocations: 406.5 kB / 0.6878 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/0.6048, allocations: 106 kB / 0.6879 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.743e-05/0.6049, allocations: 103.6 kB / 0.688 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.993e-05/0.6049, allocations: 182.6 kB / 0.6881 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.605, allocations: 177.2 kB / 0.6883 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.837e-05/0.605, allocations: 178.1 kB / 0.6885 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.993e-05/0.605, allocations: 190.1 kB / 0.6887 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.644e-05/0.6051, allocations: 304.6 kB / 0.689 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.6052, allocations: 184.8 kB / 0.6891 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.6052, allocations: 183.1 kB / 0.6893 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.871e-05/0.6053, allocations: 110.5 kB / 0.6894 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.6054, allocations: 178.5 kB / 0.6896 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.6054, allocations: 111 kB / 0.6897 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.93e-05/0.6054, allocations: 77.44 kB / 0.6898 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.98e-07/0.6054, allocations: 0 / 0.6898 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000331/0.6058, allocations: 0 / 0.6898 GB, free: 10.02 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.0001013/0.6059, allocations: 187.1 kB / 0.6899 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 3.749e-05/0.6059, allocations: 2.375 kB / 0.6899 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.314e-06/0.606, allocations: 0 / 0.6899 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.366e-06/0.606, allocations: 1.375 kB / 0.6899 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.6062, allocations: 0.5233 MB / 0.6905 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001529/0.6063, allocations: 158.3 kB / 0.6906 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.6065, allocations: 0.6738 MB / 0.6913 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.673e-06/0.6065, allocations: 0 / 0.6913 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.154e-05/0.6065, allocations: 7.438 kB / 0.6913 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of SimCode: time 1.232e-06/0.6065, allocations: 0 / 0.6913 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of Templates: time 0.001879/0.6084, allocations: 162.4 kB / 0.6914 GB, free: 8.379 MB / 0.5261 GB