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.Integers.Validation.Product.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product") Notification: Performance of loadModel(Buildings): time 4.059/4.059, allocations: 432.7 MB / 445.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.063e-05/3.078e-05, allocations: 4.406 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2087, allocations: 98.73 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.202/0.4108, allocations: 127.3 MB / 0.759 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.4111, allocations: 79.95 kB / 0.7591 GB, free: 2.367 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin$tab.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin$tab.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin$tab.getTableTimeTmax. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin1$tab.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin1$tab.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin1$tab.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.03912/0.4502, allocations: 9.505 MB / 0.7684 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.28e-06/0.4503, allocations: 0 / 0.7684 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.359e-05/0.4503, allocations: 7.938 kB / 0.7684 GB, free: 8.836 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00095/0.4513, allocations: 0.6413 MB / 0.769 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.4513, allocations: 12.03 kB / 0.769 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.826e-05/0.4514, allocations: 31.62 kB / 0.7691 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007521/0.4522, allocations: 359.8 kB / 0.7694 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.4523, allocations: 8 kB / 0.7694 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.4523, allocations: 12 kB / 0.7694 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.4527, allocations: 107.8 kB / 0.7695 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.626e-06/0.4527, allocations: 0 / 0.7695 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.4528, allocations: 7.953 kB / 0.7695 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.4528, allocations: 4 kB / 0.7695 GB, free: 7.547 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.453, allocations: 63.92 kB / 0.7696 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.4541, allocations: 0.5393 MB / 0.7701 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.4544, allocations: 138.7 kB / 0.7703 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.4546, allocations: 48.86 kB / 0.7703 GB, free: 6.699 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.4546, allocations: 7.984 kB / 0.7703 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/0.4549, allocations: 111.3 kB / 0.7704 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 2.804e-06/0.4549, allocations: 0 / 0.7704 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.00052/0.4555, allocations: 181.4 kB / 0.7706 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.4555, allocations: 55.41 kB / 0.7707 GB, free: 6.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007614/0.4563, allocations: 439.4 kB / 0.7711 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.852e-05/0.4564, allocations: 33.7 kB / 0.7711 GB, free: 5.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.4566, allocations: 160.4 kB / 0.7713 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.4566, allocations: 35.55 kB / 0.7713 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.96e-05/0.4567, allocations: 4 kB / 0.7713 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.4569, allocations: 346.8 kB / 0.7716 GB, free: 5.289 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.4571, allocations: 72.56 kB / 0.7717 GB, free: 5.215 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.4573, allocations: 114 kB / 0.7718 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.4577, allocations: 161.2 kB / 0.772 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.698e-06/0.4577, allocations: 0 / 0.772 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007219/0.4584, allocations: 326.6 kB / 0.7723 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-05/0.4585, allocations: 71.39 kB / 0.7723 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.901e-06/0.4585, allocations: 0 / 0.7723 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.4585, allocations: 4 kB / 0.7723 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.4588, allocations: 31.92 kB / 0.7724 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.515e-06/0.4588, allocations: 224 / 0.7724 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.459, allocations: 35.75 kB / 0.7724 GB, free: 4.441 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.4591, allocations: 11.98 kB / 0.7724 GB, free: 4.43 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,product.u1,product.u2,product.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * 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.0001449/0.4592, allocations: 132.8 kB / 0.7725 GB, free: 4.293 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.048e-05/0.4593, allocations: 27.62 kB / 0.7726 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005457/0.4599, allocations: 200.7 kB / 0.7728 GB, free: 4.066 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.608e-06/0.4599, allocations: 4 kB / 0.7728 GB, free: 4.062 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.961e-06/0.4599, allocations: 0 / 0.7728 GB, free: 4.062 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.32e-06/0.4599, allocations: 3.984 kB / 0.7728 GB, free: 4.059 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.4604, allocations: 321.3 kB / 0.7731 GB, free: 3.695 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.034e-06/0.4604, allocations: 0 / 0.7731 GB, free: 3.695 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.4606, allocations: 23.92 kB / 0.7731 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.012e-06/0.4606, allocations: 0 / 0.7731 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.4606, allocations: 4 kB / 0.7731 GB, free: 3.668 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.129e-06/0.4606, allocations: 0 / 0.7731 GB, free: 3.668 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.106e-06/0.4606, allocations: 0 / 0.7731 GB, free: 3.668 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004747/0.4611, allocations: 220.8 kB / 0.7733 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.4613, allocations: 144.7 kB / 0.7735 GB, free: 3.273 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.211e-05/0.4614, allocations: 8 kB / 0.7735 GB, free: 3.266 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.4616, allocations: 7.984 kB / 0.7735 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.137e-05/0.4617, allocations: 23.91 kB / 0.7735 GB, free: 3.234 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.4617, allocations: 4 kB / 0.7735 GB, free: 3.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005499/0.4623, allocations: 342.1 kB / 0.7738 GB, free: 2.898 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.66e-07/0.4623, allocations: 0 / 0.7738 GB, free: 2.898 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004723/0.4628, allocations: 83.86 kB / 0.7739 GB, free: 2.816 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,product.u1,product.u2,product.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001927/0.4647, allocations: 0.5414 MB / 0.7744 GB, free: 2.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006373/0.4654, allocations: 330.8 kB / 0.7747 GB, free: 2.082 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.765e-06/0.4654, allocations: 4.062 kB / 0.7747 GB, free: 2.078 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.4656, allocations: 71.86 kB / 0.7748 GB, free: 2.008 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.4661, allocations: 77.09 kB / 0.7749 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009938/0.4671, allocations: 414.7 kB / 0.7753 GB, free: 1.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.4676, allocations: 0.7874 MB / 0.7761 GB, free: 0.6836 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000242/0.4679, allocations: 46.05 kB / 0.7761 GB, free: 0.6367 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.468, allocations: 35.42 kB / 0.7761 GB, free: 0.6016 MB / 0.6511 GB Notification: Performance of SimCode: time 1.654e-06/0.4681, allocations: 4 kB / 0.7761 GB, free: 0.5977 MB / 0.6511 GB Notification: Performance of Templates: time 0.455/0.923, allocations: 4.304 MB / 0.7803 GB, free: 136.9 MB / 0.6511 GB