Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.562/1.562, allocations: 255.9 MB / 271.2 MB, free: 8.895 MB / 218.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.001574/0.001574, allocations: 182.7 kB / 330.8 MB, free: 464 kB / 250.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.742/1.742, allocations: 225.7 MB / 0.6016 GB, free: 1.547 MB / 426.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.000891/0.000891, allocations: 99.59 kB / 0.709 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004086/0.0004091, allocations: 8.812 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2375, allocations: 109.2 MB / 0.9328 GB, free: 6.254 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002399/0.24, allocations: 1.666 MB / 0.9344 GB, free: 4.578 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.2418, allocations: 1.07 MB / 0.9354 GB, free: 3.484 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002192/0.2421, allocations: 7.938 kB / 0.9354 GB, free: 3.477 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004441/0.2426, allocations: 147.6 kB / 0.9356 GB, free: 3.332 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003972/0.243, allocations: 139.5 kB / 0.9357 GB, free: 3.195 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.2436, allocations: 191.6 kB / 0.9359 GB, free: 3.008 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0003799/0.2439, allocations: 275.2 kB / 0.9362 GB, free: 2.738 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.2441, allocations: 44.39 kB / 0.9362 GB, free: 2.691 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002269/0.2444, allocations: 115.4 kB / 0.9363 GB, free: 2.578 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.2446, allocations: 127.4 kB / 0.9364 GB, free: 2.453 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.2446, allocations: 8 kB / 0.9364 GB, free: 2.445 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.2447, allocations: 27.98 kB / 0.9365 GB, free: 2.418 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 9.16e-05/0.2448, allocations: 75.73 kB / 0.9365 GB, free: 2.344 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.2449, allocations: 132.9 kB / 0.9367 GB, free: 2.207 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.2453, allocations: 327 kB / 0.937 GB, free: 1.887 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2453, allocations: 4 kB / 0.937 GB, free: 1.883 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2453, allocations: 0 / 0.937 GB, free: 1.883 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.2453, allocations: 0 / 0.937 GB, free: 1.883 MB / 0.573 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.00088/0.2462, allocations: 0.5564 MB / 0.9375 GB, free: 1.277 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.2462, allocations: 15.92 kB / 0.9375 GB, free: 1.262 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.2463, allocations: 32.56 kB / 0.9376 GB, free: 1.23 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.2468, allocations: 350.4 kB / 0.9379 GB, free: 0.8477 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.2469, allocations: 8.375 kB / 0.9379 GB, free: 0.8398 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.2469, allocations: 16.12 kB / 0.9379 GB, free: 0.8242 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.2472, allocations: 113.4 kB / 0.938 GB, free: 0.707 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2472, allocations: 0 / 0.938 GB, free: 0.707 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.2472, allocations: 3.984 kB / 0.938 GB, free: 0.7031 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2472, allocations: 7.938 kB / 0.938 GB, free: 0.6953 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.2474, allocations: 59.95 kB / 0.9381 GB, free: 0.6367 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000749/0.2481, allocations: 488.4 kB / 0.9386 GB, free: 112 kB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.2485, allocations: 134.8 kB / 0.9387 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.2487, allocations: 44.84 kB / 0.9387 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.2487, allocations: 8 kB / 0.9388 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003152/0.249, allocations: 119.3 kB / 0.9389 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 2.204e-06/0.2491, allocations: 0 / 0.9389 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0005663/0.2496, allocations: 213.4 kB / 0.9391 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.2497, allocations: 55.34 kB / 0.9391 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006309/0.2503, allocations: 0.4936 MB / 0.9396 GB, free: 15 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.2504, allocations: 33.64 kB / 0.9396 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.2505, allocations: 160.4 kB / 0.9398 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.2506, allocations: 35.55 kB / 0.9398 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/0.2506, allocations: 8 kB / 0.9398 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.2508, allocations: 346.8 kB / 0.9402 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.251, allocations: 96.52 kB / 0.9403 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.2512, allocations: 131.6 kB / 0.9404 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003617/0.2516, allocations: 188 kB / 0.9406 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2516, allocations: 0 / 0.9406 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006027/0.2522, allocations: 318.6 kB / 0.9409 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.2523, allocations: 4 kB / 0.9409 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2523, allocations: 4.062 kB / 0.9409 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2523, allocations: 4 kB / 0.9409 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.2526, allocations: 55.91 kB / 0.9409 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.2526, allocations: 7.922 kB / 0.9409 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.2527, allocations: 23.83 kB / 0.941 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.2528, allocations: 8 kB / 0.941 GB, free: 13.56 MB / 0.5886 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.0002014/0.253, allocations: 182.9 kB / 0.9411 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.2531, allocations: 31.62 kB / 0.9412 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.251e-05/0.2531, allocations: 42.95 kB / 0.9412 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2531, allocations: 4 kB / 0.9412 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.2532, allocations: 3.938 kB / 0.9412 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2532, allocations: 3.984 kB / 0.9412 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.2535, allocations: 289.5 kB / 0.9415 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2535, allocations: 0 / 0.9415 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.905e-05/0.2536, allocations: 19.92 kB / 0.9415 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2536, allocations: 0 / 0.9415 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.2536, allocations: 4 kB / 0.9415 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.2536, allocations: 3.938 kB / 0.9415 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2536, allocations: 3.938 kB / 0.9415 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.254, allocations: 217.1 kB / 0.9417 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.2541, allocations: 116.7 kB / 0.9418 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.2542, allocations: 8 kB / 0.9419 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.396e-05/0.2543, allocations: 4 kB / 0.9419 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.309e-05/0.2544, allocations: 19.91 kB / 0.9419 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.2544, allocations: 8 kB / 0.9419 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003452/0.2547, allocations: 307.1 kB / 0.9422 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2547, allocations: 0 / 0.9422 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002837/0.255, allocations: 52 kB / 0.9422 GB, free: 12.18 MB / 0.5886 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.0009919/0.256, allocations: 475.6 kB / 0.9427 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004444/0.2565, allocations: 193.6 kB / 0.9429 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2565, allocations: 0 / 0.9429 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.2567, allocations: 68.03 kB / 0.9429 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.2571, allocations: 73.5 kB / 0.943 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.2581, allocations: 0.5854 MB / 0.9436 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.2585, allocations: 0.7794 MB / 0.9443 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000185/0.2587, allocations: 58.92 kB / 0.9444 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.913e-05/0.2588, allocations: 35.42 kB / 0.9444 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of SimCode: time 3.51e-07/0.2588, allocations: 0 / 0.9444 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of Templates: time 0.008679/0.2675, allocations: 3.617 MB / 0.948 GB, free: 6.422 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)