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.Validation.OnOffController.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.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadModel(Buildings): time 4.024/4.024, allocations: 433.4 MB / 440.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.591e-05/2.593e-05, allocations: 8 kB / 0.5325 GB, free: 1.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5026/0.5026, allocations: 98.71 MB / 0.6289 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1892/0.6918, allocations: 123.8 MB / 0.7498 GB, free: 3.656 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.6921, allocations: 71.97 kB / 0.7499 GB, free: 3.586 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003459/0.6956, allocations: 0.9628 MB / 0.7508 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.707e-06/0.6956, allocations: 0 / 0.7508 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.586e-06/0.6957, allocations: 0 / 0.7508 GB, free: 2.625 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005363/0.6962, allocations: 370.5 kB / 0.7512 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.6963, allocations: 8.031 kB / 0.7512 GB, free: 2.211 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.487e-05/0.6963, allocations: 7.906 kB / 0.7512 GB, free: 2.203 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.6965, allocations: 175 kB / 0.7514 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.412e-06/0.6965, allocations: 0 / 0.7514 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.6965, allocations: 0 / 0.7514 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000121/0.6966, allocations: 27.88 kB / 0.7514 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.6968, allocations: 45.69 kB / 0.7514 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.809e-06/0.6968, allocations: 0 / 0.7514 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.6968, allocations: 4 kB / 0.7514 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.382e-06/0.6968, allocations: 0 / 0.7514 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005488/0.6974, allocations: 281.3 kB / 0.7517 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.6976, allocations: 42.5 kB / 0.7518 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.6977, allocations: 16.92 kB / 0.7518 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.6977, allocations: 0 / 0.7518 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.6977, allocations: 30.56 kB / 0.7518 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.926e-06/0.6977, allocations: 0 / 0.7518 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001779/0.6979, allocations: 45.78 kB / 0.7518 GB, free: 1.438 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.698, allocations: 63.36 kB / 0.7519 GB, free: 1.363 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.826e-05/0.6981, allocations: 93 kB / 0.752 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.6981, allocations: 29.7 kB / 0.752 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.079e-05/0.6982, allocations: 84.14 kB / 0.7521 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.6982, allocations: 15.8 kB / 0.7521 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-06/0.6982, allocations: 0 / 0.7521 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.6984, allocations: 310.8 kB / 0.7524 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.956e-05/0.6984, allocations: 15.94 kB / 0.7524 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.037e-05/0.6985, allocations: 8 kB / 0.7524 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.421e-05/0.6985, allocations: 16.12 kB / 0.7525 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.6985, allocations: 3.984 kB / 0.7525 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000125/0.6987, allocations: 45.7 kB / 0.7525 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.6987, allocations: 5.875 kB / 0.7525 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.922e-06/0.6987, allocations: 3.938 kB / 0.7525 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.6987, allocations: 0 / 0.7525 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.6989, allocations: 11.98 kB / 0.7525 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.449e-06/0.6989, allocations: 0 / 0.7525 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.699, allocations: 31.92 kB / 0.7526 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.6991, allocations: 0 / 0.7526 GB, free: 0.6719 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: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.877e-05/0.6992, allocations: 101.7 kB / 0.7526 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.6992, allocations: 7.906 kB / 0.7527 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.6994, allocations: 61.91 kB / 0.7527 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.533e-06/0.6994, allocations: 0 / 0.7527 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.092e-06/0.6994, allocations: 4 kB / 0.7527 GB, free: 500 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.98e-06/0.6994, allocations: 3.984 kB / 0.7527 GB, free: 496 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.6996, allocations: 150.2 kB / 0.7529 GB, free: 308 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.437e-06/0.6996, allocations: 4 kB / 0.7529 GB, free: 304 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.693e-05/0.6997, allocations: 8 kB / 0.7529 GB, free: 296 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.6998, allocations: 0 / 0.7529 GB, free: 296 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.6998, allocations: 3.984 kB / 0.7529 GB, free: 292 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.979e-06/0.6998, allocations: 3.938 kB / 0.7529 GB, free: 288 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.6998, allocations: 0 / 0.7529 GB, free: 288 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.7, allocations: 155.4 kB / 0.753 GB, free: 116 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.7, allocations: 77.11 kB / 0.7531 GB, free: 20 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.7001, allocations: 0 / 0.7531 GB, free: 20 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.7003, allocations: 19.98 kB / 0.7531 GB, free: 0 / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.7004, allocations: 4.047 kB / 0.7531 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.7004, allocations: 8 kB / 0.7531 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.892e-05/0.7004, allocations: 87.2 kB / 0.7532 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.52e-07/0.7005, allocations: 0 / 0.7532 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00031/0.7008, allocations: 7.906 kB / 0.7532 GB, free: 15.89 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001438/0.7009, allocations: 99.25 kB / 0.7533 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.7011, allocations: 24 kB / 0.7533 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.869e-06/0.7011, allocations: 0 / 0.7533 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.75e-05/0.7011, allocations: 15.94 kB / 0.7534 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.7014, allocations: 11.94 kB / 0.7534 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002471/0.7016, allocations: 71.88 kB / 0.7534 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.702, allocations: 0.6807 MB / 0.7541 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.412e-05/0.702, allocations: 7.984 kB / 0.7541 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.7021, allocations: 7.438 kB / 0.7541 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of SimCode: time 1.386e-06/0.7021, allocations: 0 / 0.7541 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of Templates: time 0.003037/0.7052, allocations: 0.5839 MB / 0.7547 GB, free: 14.35 MB / 0.6355 GB