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: 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008996/0.008996, allocations: 111.4 kB / 15.06 MB, free: 6.02 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.001715/0.001715, allocations: 177 kB / 15.95 MB, free: 5.945 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 1.824/1.824, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.376/2.376, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009626/0.0009628, allocations: 12 kB / 0.587 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6396/0.6406, allocations: 98.72 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.004114/0.6448, allocations: 1.599 MB / 0.6849 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003645/0.6485, allocations: 1.024 MB / 0.6859 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002287/0.6488, allocations: 10.75 kB / 0.6859 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007355/0.6496, allocations: 132.7 kB / 0.6861 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005859/0.6502, allocations: 105.9 kB / 0.6862 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007338/0.651, allocations: 110.6 kB / 0.6863 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005647/0.6516, allocations: 179.5 kB / 0.6864 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.6518, allocations: 38.08 kB / 0.6865 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003638/0.6522, allocations: 110.1 kB / 0.6866 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.6525, allocations: 101.5 kB / 0.6867 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.468e-05/0.6526, allocations: 5.594 kB / 0.6867 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.6528, allocations: 36.08 kB / 0.6867 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.6531, allocations: 74.89 kB / 0.6868 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.6532, allocations: 72.67 kB / 0.6869 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0008309/0.654, allocations: 282.4 kB / 0.6871 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.671e-06/0.6541, allocations: 1.125 kB / 0.6871 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.627e-06/0.6541, allocations: 0 / 0.6871 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.6541, allocations: 0 / 0.6871 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.001368/0.6555, allocations: 0.66 MB / 0.6878 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.6556, allocations: 9.156 kB / 0.6878 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.6558, allocations: 35.58 kB / 0.6878 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.6568, allocations: 344.5 kB / 0.6881 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/0.6569, allocations: 9.516 kB / 0.6881 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-05/0.657, allocations: 8.938 kB / 0.6882 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006309/0.6577, allocations: 115.3 kB / 0.6883 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.6577, allocations: 0 / 0.6883 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.6578, allocations: 1.312 kB / 0.6883 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.6578, allocations: 5.828 kB / 0.6883 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005027/0.6583, allocations: 66.53 kB / 0.6883 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.66, allocations: 496 kB / 0.6888 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009524/0.661, allocations: 152.2 kB / 0.689 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.604e-05/0.6611, allocations: 6.953 kB / 0.689 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006329/0.6617, allocations: 114.7 kB / 0.6891 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 4.848e-06/0.6618, allocations: 0 / 0.6891 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.001447/0.6632, allocations: 227.7 kB / 0.6893 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.6633, allocations: 53.23 kB / 0.6893 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.6648, allocations: 479.2 kB / 0.6898 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.791e-05/0.6649, allocations: 31.86 kB / 0.6898 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.6652, allocations: 163.4 kB / 0.69 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.115e-05/0.6653, allocations: 35.92 kB / 0.69 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.6654, allocations: 2.219 kB / 0.69 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.6656, allocations: 347.2 kB / 0.6903 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004704/0.6661, allocations: 60.64 kB / 0.6904 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/0.6666, allocations: 89.75 kB / 0.6905 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005393/0.6672, allocations: 137.9 kB / 0.6906 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.324e-06/0.6672, allocations: 5.078 kB / 0.6906 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001409/0.6686, allocations: 288 kB / 0.6909 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.6688, allocations: 70.2 kB / 0.691 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.6688, allocations: 1.641 kB / 0.691 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/0.6689, allocations: 2.312 kB / 0.691 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/0.6693, allocations: 30.58 kB / 0.691 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.6694, allocations: 5.219 kB / 0.691 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.6698, allocations: 30.2 kB / 0.691 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.754e-05/0.6699, allocations: 9.125 kB / 0.691 GB, free: 11.6 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.0004676/0.6704, allocations: 184.3 kB / 0.6912 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.6705, allocations: 34.25 kB / 0.6913 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.6707, allocations: 34.48 kB / 0.6913 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.6708, allocations: 4.938 kB / 0.6913 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.6708, allocations: 0.6562 kB / 0.6913 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.6708, allocations: 5.781 kB / 0.6913 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006935/0.6715, allocations: 289.8 kB / 0.6916 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.663e-06/0.6716, allocations: 1.719 kB / 0.6916 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.6718, allocations: 20.05 kB / 0.6916 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.758e-06/0.6718, allocations: 1.25 kB / 0.6916 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.6719, allocations: 3.719 kB / 0.6916 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.795e-06/0.6719, allocations: 0.75 kB / 0.6916 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.6719, allocations: 1.188 kB / 0.6916 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009433/0.6729, allocations: 220.4 kB / 0.6918 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.6731, allocations: 129.7 kB / 0.6919 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/0.6731, allocations: 14.78 kB / 0.6919 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.6733, allocations: 6.047 kB / 0.692 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.6734, allocations: 18.2 kB / 0.692 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.6734, allocations: 10.27 kB / 0.692 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004843/0.6739, allocations: 344.5 kB / 0.6923 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.19e-07/0.6739, allocations: 0 / 0.6923 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004225/0.6743, allocations: 53.55 kB / 0.6924 GB, free: 10.73 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.001974/0.6763, allocations: 0.5862 MB / 0.6929 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000647/0.677, allocations: 310 kB / 0.6932 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.219e-06/0.677, allocations: 0 / 0.6932 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.6772, allocations: 64.44 kB / 0.6933 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.6777, allocations: 64.25 kB / 0.6934 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.6788, allocations: 0.5466 MB / 0.6939 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.6791, allocations: 0.787 MB / 0.6947 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002167/0.6793, allocations: 50.61 kB / 0.6947 GB, free: 9.148 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.6794, allocations: 31.27 kB / 0.6947 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of SimCode: time 1.643e-06/0.6794, allocations: 0 / 0.6947 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of Templates: time 0.01184/0.6913, allocations: 4.015 MB / 0.6987 GB, free: 7.949 MB / 0.5261 GB