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.01103/0.01103, allocations: 107 kB / 15.06 MB, free: 5.555 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.001214/0.001213, allocations: 184.7 kB / 15.95 MB, free: 5.52 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.106/2.106, allocations: 194.5 MB / 211.3 MB, free: 11.06 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.335/2.335, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005659/0.000566, allocations: 12 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6571/0.6577, allocations: 98.71 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002649/0.6604, allocations: 1.595 MB / 0.685 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.6628, allocations: 1.038 MB / 0.686 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.663, allocations: 5.406 kB / 0.686 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004951/0.6635, allocations: 128.4 kB / 0.6861 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.6639, allocations: 110.6 kB / 0.6862 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.6644, allocations: 118.6 kB / 0.6864 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003681/0.6648, allocations: 174.5 kB / 0.6865 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.665, allocations: 42.8 kB / 0.6866 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.6652, allocations: 107.7 kB / 0.6867 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.6654, allocations: 107.4 kB / 0.6868 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.6655, allocations: 5.531 kB / 0.6868 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.6657, allocations: 32.27 kB / 0.6868 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.6658, allocations: 67.36 kB / 0.6869 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.008e-05/0.6659, allocations: 76.62 kB / 0.6869 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005024/0.6664, allocations: 286.8 kB / 0.6872 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.6664, allocations: 0 / 0.6872 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6664, allocations: 0 / 0.6872 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.6665, allocations: 1.5 kB / 0.6872 GB, free: 14.46 MB / 0.5261 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.001012/0.6675, allocations: 0.6584 MB / 0.6879 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.6675, allocations: 11.02 kB / 0.6879 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.322e-05/0.6676, allocations: 51.23 kB / 0.6879 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.578e-05/0.6677, allocations: 30.5 kB / 0.6879 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006065/0.6683, allocations: 336.4 kB / 0.6883 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.6684, allocations: 5.953 kB / 0.6883 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.6684, allocations: 12.88 kB / 0.6883 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.6688, allocations: 106.5 kB / 0.6884 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.6688, allocations: 0.6094 kB / 0.6884 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.6689, allocations: 5.188 kB / 0.6884 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.6689, allocations: 5.797 kB / 0.6884 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/0.6692, allocations: 70.73 kB / 0.6885 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000968/0.6702, allocations: 492.5 kB / 0.6889 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005554/0.6707, allocations: 148.9 kB / 0.6891 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.6708, allocations: 3.281 kB / 0.6891 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000382/0.6712, allocations: 112.7 kB / 0.6892 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 2.645e-06/0.6712, allocations: 3.938 kB / 0.6892 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0008942/0.6721, allocations: 228.1 kB / 0.6894 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.6721, allocations: 58.56 kB / 0.6895 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008178/0.673, allocations: 478.8 kB / 0.6899 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/0.673, allocations: 32.3 kB / 0.69 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.6732, allocations: 159.3 kB / 0.6901 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.6732, allocations: 31.11 kB / 0.6901 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.6733, allocations: 6.031 kB / 0.6901 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.6734, allocations: 342.7 kB / 0.6905 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.6737, allocations: 64.34 kB / 0.6905 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.6739, allocations: 102.4 kB / 0.6906 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.6743, allocations: 134.4 kB / 0.6908 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.6743, allocations: 0 / 0.6908 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007608/0.675, allocations: 291.3 kB / 0.691 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.268e-05/0.6751, allocations: 69.36 kB / 0.6911 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.6751, allocations: 5.031 kB / 0.6911 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.6752, allocations: 2.188 kB / 0.6911 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.6755, allocations: 26.75 kB / 0.6911 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.6755, allocations: 1.984 kB / 0.6911 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.6757, allocations: 33.31 kB / 0.6912 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.6758, allocations: 9.375 kB / 0.6912 GB, free: 11.56 MB / 0.5261 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.y,reaToInt1.y,reaToInt2.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.0002725/0.6761, allocations: 184.3 kB / 0.6914 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/0.6761, allocations: 30.17 kB / 0.6914 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.404e-05/0.6762, allocations: 41.58 kB / 0.6914 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.6763, allocations: 1.312 kB / 0.6914 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.6763, allocations: 2.141 kB / 0.6914 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.6763, allocations: 0.6562 kB / 0.6914 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/0.6767, allocations: 286.4 kB / 0.6917 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6767, allocations: 3.953 kB / 0.6917 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.6768, allocations: 25.47 kB / 0.6917 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.6769, allocations: 4.688 kB / 0.6917 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.6769, allocations: 3.375 kB / 0.6917 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.6769, allocations: 1.062 kB / 0.6917 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6769, allocations: 0.5156 kB / 0.6917 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005886/0.6775, allocations: 216.6 kB / 0.6919 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.6777, allocations: 134.6 kB / 0.6921 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.228e-05/0.6778, allocations: 7.375 kB / 0.6921 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.6779, allocations: 5.188 kB / 0.6921 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.541e-05/0.678, allocations: 17.72 kB / 0.6921 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.6781, allocations: 7.484 kB / 0.6921 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005643/0.6787, allocations: 347.4 kB / 0.6924 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6787, allocations: 0 / 0.6924 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004891/0.6792, allocations: 62.7 kB / 0.6925 GB, free: 10.69 MB / 0.5261 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.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.002401/0.6816, allocations: 1.237 MB / 0.6937 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007558/0.6824, allocations: 301.8 kB / 0.694 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6824, allocations: 0 / 0.694 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000247/0.6826, allocations: 72.72 kB / 0.6941 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006123/0.6833, allocations: 63.14 kB / 0.6941 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.685, allocations: 1.181 MB / 0.6953 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.6854, allocations: 0.7877 MB / 0.696 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002697/0.6857, allocations: 53.56 kB / 0.6961 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.6859, allocations: 95.69 kB / 0.6962 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of SimCode: time 1.082e-06/0.6859, allocations: 0 / 0.6962 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.7171, allocations: 6.88 MB / 0.7029 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/0.7174, allocations: 264.1 kB / 0.7032 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/3.346, allocations: 0 / 0.7032 GB, free: 4.957 MB / 0.5261 GB