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.01058/0.01058, allocations: 221.2 kB / 15.17 MB, free: 5.996 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.001134/0.001134, allocations: 178.6 kB / 16.06 MB, free: 5.867 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 3.986/3.986, allocations: 389 MB / 405.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.314/4.314, allocations: 472.3 MB / 0.9018 GB, free: 3.715 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004856, allocations: 16 kB / 1.008 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.626/0.6265, allocations: 98.7 MB / 1.104 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002154/0.6287, allocations: 1.623 MB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.6305, allocations: 1.015 MB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.6307, allocations: 3.938 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.6311, allocations: 139.1 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.6314, allocations: 100.7 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.6317, allocations: 116.7 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.6321, allocations: 249.4 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.6322, allocations: 37.95 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.6324, allocations: 99.56 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.6326, allocations: 114.8 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.6326, allocations: 5.531 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.6328, allocations: 47.66 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.619e-05/0.6329, allocations: 74.45 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.245e-05/0.633, allocations: 72.39 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.6334, allocations: 286.3 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.6334, allocations: 3.562 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.641e-06/0.6334, allocations: 1.312 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.915e-06/0.6334, allocations: 0 / 1.108 GB, free: 210.3 MB / 0.7292 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.0007987/0.6342, allocations: 0.6567 MB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.6343, allocations: 13.19 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.175e-05/0.6344, allocations: 34.27 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.6349, allocations: 339 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.6349, allocations: 9.531 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.6349, allocations: 11.28 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.6353, allocations: 107.7 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.691e-06/0.6353, allocations: 1.094 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.6353, allocations: 5.062 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.202e-06/0.6353, allocations: 10.64 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002281/0.6356, allocations: 65.89 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008149/0.6364, allocations: 499.3 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.6369, allocations: 147.5 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.6371, allocations: 52.33 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.6371, allocations: 1.938 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003414/0.6375, allocations: 111.7 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 3.808e-06/0.6375, allocations: 0 / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0007261/0.6382, allocations: 232.8 kB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.6383, allocations: 53.72 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007088/0.639, allocations: 481.5 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.639, allocations: 32.3 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.6392, allocations: 161.8 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.6392, allocations: 35.03 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/0.6393, allocations: 2.625 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.522e-05/0.6394, allocations: 345.9 kB / 1.111 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.6396, allocations: 62.34 kB / 1.111 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.6398, allocations: 95.41 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.6401, allocations: 137 kB / 1.111 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.753e-06/0.6401, allocations: 2.438 kB / 1.111 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006497/0.6407, allocations: 287 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.541e-05/0.6408, allocations: 68.8 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.753e-06/0.6408, allocations: 1.062 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.6409, allocations: 5.375 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.6411, allocations: 35.73 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.848e-06/0.6411, allocations: 5.406 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.6413, allocations: 29.89 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.6414, allocations: 8.688 kB / 1.112 GB, free: 207.5 MB / 0.7292 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.0002398/0.6416, allocations: 190.6 kB / 1.112 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.6417, allocations: 29.52 kB / 1.112 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.707e-05/0.6418, allocations: 38.17 kB / 1.112 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.6418, allocations: 1.125 kB / 1.112 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.047e-06/0.6418, allocations: 0 / 1.112 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.622e-06/0.6418, allocations: 0.9688 kB / 1.112 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.6422, allocations: 290.7 kB / 1.112 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.6422, allocations: 5.391 kB / 1.112 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.6423, allocations: 17.22 kB / 1.112 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.123e-06/0.6423, allocations: 0 / 1.112 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.6423, allocations: 2.875 kB / 1.112 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.468e-06/0.6423, allocations: 4.406 kB / 1.112 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.179e-06/0.6424, allocations: 0.6562 kB / 1.112 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005012/0.6429, allocations: 216.9 kB / 1.113 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.643, allocations: 134 kB / 1.113 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.717e-05/0.6431, allocations: 9.469 kB / 1.113 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.6432, allocations: 7.125 kB / 1.113 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.6433, allocations: 18.95 kB / 1.113 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.6434, allocations: 9.281 kB / 1.113 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004854/0.6438, allocations: 344.6 kB / 1.113 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.9e-07/0.6439, allocations: 0 / 1.113 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004323/0.6443, allocations: 54.58 kB / 1.113 GB, free: 206.6 MB / 0.7292 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.002032/0.6464, allocations: 0.5866 MB / 1.114 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006552/0.647, allocations: 310.4 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.972e-06/0.6471, allocations: 0 / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.6473, allocations: 68.48 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.6479, allocations: 70.38 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.6489, allocations: 0.5464 MB / 1.115 GB, free: 206 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.6492, allocations: 0.7882 MB / 1.115 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002193/0.6494, allocations: 50.83 kB / 1.116 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.691e-05/0.6495, allocations: 26.83 kB / 1.116 GB, free: 205.2 MB / 0.7292 GB Notification: Performance of SimCode: time 1.805e-06/0.6496, allocations: 1.625 kB / 1.116 GB, free: 205.2 MB / 0.7292 GB Notification: Performance of Templates: time 0.01208/0.6616, allocations: 4.007 MB / 1.119 GB, free: 205.2 MB / 0.7292 GB