Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.034/4.034, allocations: 433.4 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.628e-05/2.637e-05, allocations: 8 kB / 0.5325 GB, free: 1.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5012/0.5012, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.6933, allocations: 123 MB / 0.749 GB, free: 4.578 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.6936, allocations: 71.95 kB / 0.7491 GB, free: 4.508 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005614/0.6941, allocations: 372.9 kB / 0.7495 GB, free: 4.141 MB / 0.6198 GB Notification: Performance of FrontEnd: time 5.049e-06/0.6942, allocations: 7.922 kB / 0.7495 GB, free: 4.133 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.6942, allocations: 0 / 0.7495 GB, free: 4.133 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.0002624/0.6945, allocations: 298.5 kB / 0.7498 GB, free: 3.797 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.6945, allocations: 16.09 kB / 0.7498 GB, free: 3.781 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.443e-05/0.6945, allocations: 4 kB / 0.7498 GB, free: 3.777 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.6947, allocations: 163 kB / 0.7499 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.6947, allocations: 0 / 0.7499 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.6947, allocations: 0 / 0.7499 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.256e-05/0.6948, allocations: 0 / 0.7499 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.732e-05/0.6948, allocations: 33.69 kB / 0.75 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.722e-06/0.6949, allocations: 0 / 0.75 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.6949, allocations: 3.984 kB / 0.75 GB, free: 3.535 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.6949, allocations: 4 kB / 0.75 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.6952, allocations: 364 kB / 0.7503 GB, free: 3.137 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.6953, allocations: 169.1 kB / 0.7505 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.152e-05/0.6954, allocations: 88.12 kB / 0.7506 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.6955, allocations: 75.28 kB / 0.7506 GB, free: 2.797 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.037e-05/0.6955, allocations: 109.8 kB / 0.7507 GB, free: 2.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.843e-06/0.6955, allocations: 0 / 0.7507 GB, free: 2.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.971e-05/0.6956, allocations: 33.67 kB / 0.7508 GB, free: 2.641 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.6957, allocations: 51.41 kB / 0.7508 GB, free: 2.578 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.6958, allocations: 85 kB / 0.7509 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.6958, allocations: 25.7 kB / 0.7509 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.6959, allocations: 84.27 kB / 0.751 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-06/0.6959, allocations: 0 / 0.751 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.68e-07/0.6959, allocations: 0 / 0.751 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.696, allocations: 322.8 kB / 0.7513 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.3e-06/0.6961, allocations: 0 / 0.7513 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.939e-06/0.6961, allocations: 0 / 0.7513 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.954e-05/0.6961, allocations: 75.28 kB / 0.7514 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-05/0.6962, allocations: 79.27 kB / 0.7515 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.591e-05/0.6962, allocations: 29.7 kB / 0.7515 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.454e-05/0.6963, allocations: 85.42 kB / 0.7516 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.094e-05/0.6964, allocations: 83.16 kB / 0.7516 GB, free: 1.695 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.086e-05/0.6964, allocations: 150.6 kB / 0.7518 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.061e-05/0.6965, allocations: 82.3 kB / 0.7519 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.648e-05/0.6966, allocations: 154.5 kB / 0.752 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.949e-05/0.6967, allocations: 75.28 kB / 0.7521 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.6967, allocations: 83.27 kB / 0.7522 GB, free: 1.16 MB / 0.6198 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 () * 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.0001431/0.6969, allocations: 255.5 kB / 0.7524 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.799e-05/0.697, allocations: 112.9 kB / 0.7525 GB, free: 0.7852 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.338e-05/0.6971, allocations: 108.5 kB / 0.7526 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-05/0.6972, allocations: 176.6 kB / 0.7528 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-05/0.6973, allocations: 184.2 kB / 0.753 GB, free: 316 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001009/0.6974, allocations: 188.2 kB / 0.7531 GB, free: 120 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.6977, allocations: 377.8 kB / 0.7535 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.564e-05/0.6978, allocations: 104.9 kB / 0.7536 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/0.6978, allocations: 109 kB / 0.7537 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.908e-05/0.6979, allocations: 180.3 kB / 0.7539 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.491e-05/0.698, allocations: 184.2 kB / 0.7541 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.835e-05/0.6981, allocations: 176.3 kB / 0.7542 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.316e-05/0.6982, allocations: 176.3 kB / 0.7544 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.6984, allocations: 311.7 kB / 0.7547 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.6986, allocations: 182.1 kB / 0.7549 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.6987, allocations: 184.2 kB / 0.755 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.6988, allocations: 105 kB / 0.7551 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.812e-05/0.6989, allocations: 184.2 kB / 0.7553 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.603e-05/0.699, allocations: 104.9 kB / 0.7554 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.328e-05/0.699, allocations: 79.28 kB / 0.7555 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.12e-07/0.6991, allocations: 4.094 kB / 0.7555 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003252/0.6994, allocations: 0 / 0.7555 GB, free: 13.54 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 () * 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.0001697/0.6996, allocations: 170.5 kB / 0.7557 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 2.973e-05/0.6996, allocations: 4 kB / 0.7557 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.742e-06/0.6996, allocations: 0 / 0.7557 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.426e-06/0.6996, allocations: 0 / 0.7557 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.7, allocations: 0.5264 MB / 0.7562 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001972/0.7002, allocations: 131.7 kB / 0.7563 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.7006, allocations: 0.6729 MB / 0.757 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.05e-06/0.7006, allocations: 0 / 0.757 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.536e-06/0.7006, allocations: 7.438 kB / 0.757 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of SimCode: time 1.46e-06/0.7007, allocations: 0 / 0.757 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of Templates: time 0.001776/0.7024, allocations: 152.3 kB / 0.7571 GB, free: 11.82 MB / 0.6355 GB