Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.772/1.772, allocations: 297.4 MB / 312.6 MB, free: 2.953 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 181 kB / 382.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.661/1.661, allocations: 225.7 MB / 0.6617 GB, free: 7.234 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008588/0.0008589, allocations: 93.41 kB / 0.7789 GB, free: 46.86 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004878, allocations: 12.75 kB / 0.9059 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8524/0.8529, allocations: 119.2 MB / 1.022 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.003431/0.8564, allocations: 1.656 MB / 1.024 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002635/0.8591, allocations: 1.277 MB / 1.025 GB, free: 56.11 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.8593, allocations: 2.906 kB / 1.025 GB, free: 56.11 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006389/0.8599, allocations: 154.3 kB / 1.025 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.8603, allocations: 141.1 kB / 1.025 GB, free: 56.01 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006466/0.8609, allocations: 199.3 kB / 1.026 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003981/0.8613, allocations: 289.4 kB / 1.026 GB, free: 55.79 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.8616, allocations: 45.34 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.8618, allocations: 126.7 kB / 1.026 GB, free: 55.72 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.862, allocations: 138.3 kB / 1.026 GB, free: 55.68 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.8621, allocations: 5.906 kB / 1.026 GB, free: 55.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.8622, allocations: 49.5 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.8624, allocations: 80.91 kB / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.8625, allocations: 135.4 kB / 1.026 GB, free: 55.53 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004788/0.863, allocations: 350 kB / 1.027 GB, free: 55.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.863, allocations: 0 / 1.027 GB, free: 55.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.216e-06/0.863, allocations: 0 / 1.027 GB, free: 55.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.8631, allocations: 1.75 kB / 1.027 GB, free: 55.41 MB / 0.698 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.001089/0.8642, allocations: 0.5734 MB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.8642, allocations: 8.656 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.604e-05/0.8643, allocations: 40.12 kB / 1.027 GB, free: 54.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006043/0.8649, allocations: 371.5 kB / 1.028 GB, free: 54.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.865, allocations: 15.22 kB / 1.028 GB, free: 54.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.865, allocations: 12.06 kB / 1.028 GB, free: 54.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.8653, allocations: 110.7 kB / 1.028 GB, free: 54.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.8653, allocations: 0 / 1.028 GB, free: 54.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.8653, allocations: 0 / 1.028 GB, free: 54.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.8653, allocations: 6.344 kB / 1.028 GB, free: 54.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.8655, allocations: 62.83 kB / 1.028 GB, free: 54.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008009/0.8663, allocations: 0.4898 MB / 1.028 GB, free: 54.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.8667, allocations: 132.6 kB / 1.029 GB, free: 54.09 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.8668, allocations: 54.86 kB / 1.029 GB, free: 54.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.8668, allocations: 0 / 1.029 GB, free: 54.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.8671, allocations: 114.9 kB / 1.029 GB, free: 54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.8671, allocations: 0 / 1.029 GB, free: 54 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0005721/0.8677, allocations: 226.4 kB / 1.029 GB, free: 53.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.8678, allocations: 55.34 kB / 1.029 GB, free: 53.83 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006376/0.8684, allocations: 0.5106 MB / 1.029 GB, free: 53.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.8684, allocations: 26.86 kB / 1.03 GB, free: 53.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.8686, allocations: 162 kB / 1.03 GB, free: 53.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.8686, allocations: 41.22 kB / 1.03 GB, free: 53.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/0.8686, allocations: 9.406 kB / 1.03 GB, free: 53.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.8688, allocations: 343.7 kB / 1.03 GB, free: 53.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.869, allocations: 101.1 kB / 1.03 GB, free: 53.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.8692, allocations: 129.8 kB / 1.03 GB, free: 52.99 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.8696, allocations: 191.6 kB / 1.03 GB, free: 52.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8696, allocations: 0 / 1.03 GB, free: 52.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005276/0.8701, allocations: 322.6 kB / 1.031 GB, free: 52.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.8701, allocations: 4.312 kB / 1.031 GB, free: 52.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.8701, allocations: 0 / 1.031 GB, free: 52.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.8702, allocations: 3.156 kB / 1.031 GB, free: 52.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.8704, allocations: 55.55 kB / 1.031 GB, free: 52.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.8704, allocations: 0 / 1.031 GB, free: 52.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.8706, allocations: 27.94 kB / 1.031 GB, free: 52.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.8706, allocations: 14.27 kB / 1.031 GB, free: 52.73 MB / 0.698 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001991/0.8708, allocations: 179 kB / 1.031 GB, free: 52.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.8709, allocations: 34.25 kB / 1.031 GB, free: 52.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.822e-05/0.871, allocations: 34.36 kB / 1.031 GB, free: 52.56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.871, allocations: 6.531 kB / 1.031 GB, free: 52.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.871, allocations: 3.938 kB / 1.031 GB, free: 52.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.871, allocations: 1.031 kB / 1.031 GB, free: 52.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.8713, allocations: 293.8 kB / 1.031 GB, free: 52.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8713, allocations: 4 kB / 1.031 GB, free: 52.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.44e-05/0.8714, allocations: 15.55 kB / 1.031 GB, free: 52.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.8714, allocations: 1.219 kB / 1.031 GB, free: 52.31 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.8714, allocations: 4.094 kB / 1.031 GB, free: 52.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.8714, allocations: 9.062 kB / 1.031 GB, free: 52.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8714, allocations: 0 / 1.031 GB, free: 52.31 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.8718, allocations: 203.4 kB / 1.032 GB, free: 52.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.8719, allocations: 124 kB / 1.032 GB, free: 52.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.872, allocations: 6.094 kB / 1.032 GB, free: 52.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.438e-05/0.8721, allocations: 11.25 kB / 1.032 GB, free: 52.06 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-05/0.8722, allocations: 19.27 kB / 1.032 GB, free: 52.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.8722, allocations: 5.125 kB / 1.032 GB, free: 52.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003504/0.8726, allocations: 310 kB / 1.032 GB, free: 51.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8726, allocations: 3.969 kB / 1.032 GB, free: 51.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003379/0.8729, allocations: 58.61 kB / 1.032 GB, free: 51.9 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001208/0.8741, allocations: 493 kB / 1.033 GB, free: 51.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004718/0.8746, allocations: 191 kB / 1.033 GB, free: 51.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8746, allocations: 0 / 1.033 GB, free: 51.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.8748, allocations: 63.02 kB / 1.033 GB, free: 51.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.8753, allocations: 79.64 kB / 1.033 GB, free: 51.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009562/0.8762, allocations: 0.5993 MB / 1.033 GB, free: 51.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.8766, allocations: 0.7898 MB / 1.034 GB, free: 50.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002026/0.8768, allocations: 57.05 kB / 1.034 GB, free: 50.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.749e-05/0.8769, allocations: 32.23 kB / 1.034 GB, free: 50.47 MB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/0.8769, allocations: 0 / 1.034 GB, free: 50.47 MB / 0.698 GB Notification: Performance of Templates: time 0.008761/0.8857, allocations: 3.834 MB / 1.038 GB, free: 50.18 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)