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.Continuous.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.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 loadModel(Buildings): time 3.964/3.964, allocations: 433.4 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.017e-05/2.023e-05, allocations: 4 kB / 0.5326 GB, free: 1.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4924/0.4924, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.6831, allocations: 123 MB / 0.749 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.6834, allocations: 71.95 kB / 0.7491 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005754/0.684, allocations: 384.7 kB / 0.7495 GB, free: 4.117 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.767e-06/0.684, allocations: 0 / 0.7495 GB, free: 4.117 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.869e-06/0.684, allocations: 0 / 0.7495 GB, free: 4.117 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.0002757/0.6843, allocations: 302.4 kB / 0.7498 GB, free: 3.777 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.6843, allocations: 12.09 kB / 0.7498 GB, free: 3.766 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.6844, allocations: 7.984 kB / 0.7498 GB, free: 3.758 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.6845, allocations: 163 kB / 0.7499 GB, free: 3.559 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.6846, allocations: 0 / 0.7499 GB, free: 3.559 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.252e-06/0.6846, allocations: 0 / 0.7499 GB, free: 3.559 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.206e-05/0.6846, allocations: 8 kB / 0.75 GB, free: 3.551 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.505e-05/0.6847, allocations: 25.7 kB / 0.75 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.084e-06/0.6847, allocations: 0 / 0.75 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.465e-06/0.6847, allocations: 0 / 0.75 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.6847, allocations: 0 / 0.75 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.6851, allocations: 372 kB / 0.7503 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.6852, allocations: 165.1 kB / 0.7505 GB, free: 2.945 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.785e-05/0.6853, allocations: 88.12 kB / 0.7506 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.837e-05/0.6853, allocations: 75.28 kB / 0.7506 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.655e-05/0.6854, allocations: 113.9 kB / 0.7508 GB, free: 2.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.878e-06/0.6854, allocations: 0 / 0.7508 GB, free: 2.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 8.184e-05/0.6855, allocations: 29.64 kB / 0.7508 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.6856, allocations: 51.41 kB / 0.7508 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.995e-05/0.6856, allocations: 88.98 kB / 0.7509 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.6857, allocations: 25.7 kB / 0.7509 GB, free: 2.438 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.6857, allocations: 84.14 kB / 0.751 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.6857, allocations: 0 / 0.751 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.66e-07/0.6858, allocations: 4.125 kB / 0.751 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.6859, allocations: 314.8 kB / 0.7513 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.698e-06/0.6859, allocations: 3.938 kB / 0.7513 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-06/0.6859, allocations: 0 / 0.7513 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.452e-05/0.686, allocations: 79.28 kB / 0.7514 GB, free: 1.949 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-05/0.6861, allocations: 75.28 kB / 0.7515 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.446e-05/0.6861, allocations: 29.7 kB / 0.7515 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/0.6862, allocations: 82.67 kB / 0.7516 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.116e-05/0.6863, allocations: 83.22 kB / 0.7517 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.504e-05/0.6864, allocations: 158.5 kB / 0.7518 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.72e-05/0.6864, allocations: 82.23 kB / 0.7519 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.307e-05/0.6865, allocations: 154.5 kB / 0.752 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.963e-05/0.6866, allocations: 75.28 kB / 0.7521 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.6866, allocations: 75.28 kB / 0.7522 GB, free: 1.145 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.0001534/0.6868, allocations: 263.5 kB / 0.7524 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.253e-05/0.6869, allocations: 104.9 kB / 0.7525 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.076e-05/0.687, allocations: 116.5 kB / 0.7526 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.673e-05/0.6871, allocations: 176.6 kB / 0.7528 GB, free: 484 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.604e-05/0.6872, allocations: 184.2 kB / 0.753 GB, free: 292 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.525e-05/0.6873, allocations: 184.3 kB / 0.7532 GB, free: 100 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.6876, allocations: 381.7 kB / 0.7535 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-05/0.6877, allocations: 104.9 kB / 0.7536 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.315e-05/0.6877, allocations: 105 kB / 0.7537 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-05/0.6878, allocations: 180.3 kB / 0.7539 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.022e-05/0.6879, allocations: 180.2 kB / 0.7541 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.309e-05/0.6881, allocations: 184.2 kB / 0.7543 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.055e-05/0.6882, allocations: 180.3 kB / 0.7544 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.6883, allocations: 299.7 kB / 0.7547 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.6885, allocations: 190.1 kB / 0.7549 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.965e-05/0.6886, allocations: 184.2 kB / 0.7551 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.6887, allocations: 101 kB / 0.7552 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.826e-05/0.6888, allocations: 176.3 kB / 0.7553 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.804e-05/0.6889, allocations: 108.9 kB / 0.7554 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.259e-05/0.6889, allocations: 75.28 kB / 0.7555 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.67e-07/0.6889, allocations: 0 / 0.7555 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003246/0.6893, allocations: 96 / 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.000189/0.6895, allocations: 182.5 kB / 0.7557 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 2.902e-05/0.6895, allocations: 0 / 0.7557 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.674e-06/0.6895, allocations: 0 / 0.7557 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.201e-06/0.6895, allocations: 0 / 0.7557 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.69, allocations: 0.5392 MB / 0.7562 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001964/0.6902, allocations: 119.8 kB / 0.7563 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.6905, allocations: 0.6806 MB / 0.757 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.41e-06/0.6906, allocations: 0 / 0.757 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.472e-06/0.6906, allocations: 7.438 kB / 0.757 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of SimCode: time 1.32e-06/0.6906, allocations: 0 / 0.757 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of Templates: time 0.001775/0.6924, allocations: 147.2 kB / 0.7571 GB, free: 11.8 MB / 0.6355 GB