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.Validation.Product.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01074/0.01074, allocations: 107.7 kB / 15.05 MB, free: 5.984 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.001118/0.001118, allocations: 183.5 kB / 15.94 MB, free: 5.941 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.137/2.137, allocations: 194.5 MB / 211.2 MB, free: 11.08 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.488/2.488, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000653/0.0006531, allocations: 15.98 kB / 0.5871 GB, free: 2.043 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6769/0.6776, allocations: 98.7 MB / 0.6834 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2417/0.9194, allocations: 127.4 MB / 0.8078 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004111/0.9199, allocations: 79.95 kB / 0.8079 GB, free: 14.68 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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.05927/0.9791, allocations: 9.542 MB / 0.8172 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.866e-06/0.9792, allocations: 0 / 0.8172 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.676e-05/0.9793, allocations: 4 kB / 0.8172 GB, free: 5.121 MB / 0.6355 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.001624/0.9809, allocations: 0.7039 MB / 0.8179 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.39e-05/0.981, allocations: 8.031 kB / 0.8179 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.677e-05/0.9811, allocations: 42.55 kB / 0.818 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.9813, allocations: 35.53 kB / 0.818 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.9825, allocations: 353.5 kB / 0.8184 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.356e-05/0.9826, allocations: 11.91 kB / 0.8184 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.9827, allocations: 12 kB / 0.8184 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005033/0.9832, allocations: 113.5 kB / 0.8185 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.9832, allocations: 0 / 0.8185 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.9833, allocations: 3.953 kB / 0.8185 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.9833, allocations: 4 kB / 0.8185 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003791/0.9837, allocations: 63.95 kB / 0.8186 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.9854, allocations: 0.5509 MB / 0.8191 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007577/0.9862, allocations: 142.8 kB / 0.8192 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.9862, allocations: 4 kB / 0.8192 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005053/0.9868, allocations: 119.3 kB / 0.8193 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 3.707e-06/0.9868, allocations: 0 / 0.8193 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.001347/0.9881, allocations: 237.4 kB / 0.8196 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.9882, allocations: 51.41 kB / 0.8196 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.9895, allocations: 444.6 kB / 0.82 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.9897, allocations: 29.7 kB / 0.8201 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.9899, allocations: 168.4 kB / 0.8202 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.666e-05/0.9901, allocations: 31.55 kB / 0.8203 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.9901, allocations: 11.94 kB / 0.8203 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.9903, allocations: 346.8 kB / 0.8206 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/0.9907, allocations: 84.19 kB / 0.8207 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.9912, allocations: 111 kB / 0.8208 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005461/0.9918, allocations: 159.2 kB / 0.8209 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.9918, allocations: 0 / 0.8209 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001285/0.9931, allocations: 339 kB / 0.8213 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.9932, allocations: 72.64 kB / 0.8213 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.9933, allocations: 7.875 kB / 0.8213 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.9933, allocations: 0 / 0.8213 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.9937, allocations: 35.98 kB / 0.8214 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.9937, allocations: 0 / 0.8214 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.9942, allocations: 19.84 kB / 0.8214 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/0.9942, allocations: 15.98 kB / 0.8214 GB, free: 0.5508 MB / 0.6355 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 () * Number of clocked 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.0004327/0.9947, allocations: 181.7 kB / 0.8216 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.9948, allocations: 27.62 kB / 0.8216 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009492/0.9958, allocations: 225.9 kB / 0.8218 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.9958, allocations: 0 / 0.8218 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.9959, allocations: 0 / 0.8218 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.9959, allocations: 3.984 kB / 0.8218 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007061/0.9966, allocations: 325.4 kB / 0.8221 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.9966, allocations: 0 / 0.8221 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.9969, allocations: 15.98 kB / 0.8222 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.9969, allocations: 0 / 0.8222 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.997, allocations: 4 kB / 0.8222 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.997, allocations: 0 / 0.8222 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.997, allocations: 3.984 kB / 0.8222 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009933/0.998, allocations: 232.6 kB / 0.8224 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/0.9984, allocations: 148.6 kB / 0.8225 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.9985, allocations: 4 kB / 0.8225 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.9988, allocations: 8 kB / 0.8225 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.9989, allocations: 15.97 kB / 0.8226 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.999, allocations: 8 kB / 0.8226 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009679/1, allocations: 351.1 kB / 0.8229 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.797e-06/1, allocations: 0 / 0.8229 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008677/1.001, allocations: 91.77 kB / 0.823 GB, free: 14.83 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) * Number of clocked states: 0 () * 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.003705/1.005, allocations: 1.26 MB / 0.8242 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001292/1.006, allocations: 342.7 kB / 0.8245 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/1.006, allocations: 0 / 0.8245 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003014/1.006, allocations: 68.03 kB / 0.8246 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009081/1.007, allocations: 80.84 kB / 0.8247 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/1.01, allocations: 1.236 MB / 0.8259 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006053/1.011, allocations: 0.7913 MB / 0.8267 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004413/1.011, allocations: 50.27 kB / 0.8267 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/1.012, allocations: 99.39 kB / 0.8268 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of SimCode: time 1.233e-06/1.012, allocations: 0 / 0.8268 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03896/1.051, allocations: 7.195 MB / 0.8338 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003814/1.051, allocations: 234.4 kB / 0.8341 GB, free: 3.676 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.577/3.629, allocations: 3.938 kB / 0.8341 GB, free: 3.672 MB / 0.6511 GB