Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.418/2.418, allocations: 254.9 MB / 269.9 MB, free: 9.637 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.002122/0.002122, allocations: 193 kB / 329.5 MB, free: 1.156 MB / 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 2.456/2.456, allocations: 225.6 MB / 0.6001 GB, free: 484 kB / 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.001035/0.001035, allocations: 109.9 kB / 0.7074 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000499/0.0004991, allocations: 18.55 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2131, allocations: 109.1 MB / 0.9308 GB, free: 24.86 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002422/0.2155, allocations: 1.662 MB / 0.9324 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002108/0.2177, allocations: 0.9906 MB / 0.9334 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.2179, allocations: 0 / 0.9334 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004479/0.2183, allocations: 147.6 kB / 0.9335 GB, free: 22.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.2187, allocations: 131.5 kB / 0.9336 GB, free: 21.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006212/0.2193, allocations: 175.6 kB / 0.9338 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003347/0.2197, allocations: 247.3 kB / 0.934 GB, free: 21.51 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.2199, allocations: 44.36 kB / 0.9341 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.2201, allocations: 115.4 kB / 0.9342 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.2203, allocations: 119.5 kB / 0.9343 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.2204, allocations: 4 kB / 0.9343 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.2205, allocations: 27.94 kB / 0.9343 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.419e-05/0.2206, allocations: 79.72 kB / 0.9344 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.195e-05/0.2207, allocations: 65.58 kB / 0.9345 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.221, allocations: 263.6 kB / 0.9347 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.221, allocations: 3.938 kB / 0.9347 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.913e-06/0.221, allocations: 4 kB / 0.9347 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.221, allocations: 0 / 0.9347 GB, free: 20.79 MB / 0.5886 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.0009298/0.222, allocations: 0.5565 MB / 0.9353 GB, free: 20.18 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.222, allocations: 8.031 kB / 0.9353 GB, free: 20.17 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.164e-05/0.2221, allocations: 36.47 kB / 0.9353 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.2227, allocations: 342.6 kB / 0.9356 GB, free: 19.76 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.2227, allocations: 8.375 kB / 0.9356 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.2227, allocations: 16.12 kB / 0.9357 GB, free: 19.74 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.2231, allocations: 105.5 kB / 0.9358 GB, free: 19.63 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2231, allocations: 0 / 0.9358 GB, free: 19.63 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.2231, allocations: 8 kB / 0.9358 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2231, allocations: 0 / 0.9358 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.2234, allocations: 59.97 kB / 0.9358 GB, free: 19.56 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008852/0.2243, allocations: 488.4 kB / 0.9363 GB, free: 19.04 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/0.2248, allocations: 134.8 kB / 0.9364 GB, free: 18.89 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.225, allocations: 52.81 kB / 0.9365 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.225, allocations: 0 / 0.9365 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003399/0.2254, allocations: 119.3 kB / 0.9366 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/0.2254, allocations: 0 / 0.9366 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0007287/0.2261, allocations: 217.2 kB / 0.9368 GB, free: 18.49 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.2262, allocations: 59.33 kB / 0.9368 GB, free: 18.42 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006654/0.2269, allocations: 0.4897 MB / 0.9373 GB, free: 17.92 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.2269, allocations: 29.7 kB / 0.9374 GB, free: 17.89 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.227, allocations: 160.4 kB / 0.9375 GB, free: 17.73 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.2271, allocations: 43.48 kB / 0.9375 GB, free: 17.68 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.2271, allocations: 8 kB / 0.9376 GB, free: 17.68 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.718e-05/0.2272, allocations: 350.7 kB / 0.9379 GB, free: 17.32 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.2275, allocations: 96.52 kB / 0.938 GB, free: 17.23 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.2278, allocations: 136.4 kB / 0.9381 GB, free: 17.09 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.2281, allocations: 107 kB / 0.9382 GB, free: 16.98 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2281, allocations: 4 kB / 0.9382 GB, free: 16.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007459/0.2289, allocations: 309.2 kB / 0.9385 GB, free: 16.67 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2289, allocations: 11.89 kB / 0.9385 GB, free: 16.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.229, allocations: 4 kB / 0.9385 GB, free: 16.66 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.229, allocations: 0 / 0.9385 GB, free: 16.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.2294, allocations: 55.91 kB / 0.9386 GB, free: 16.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.2294, allocations: 3.938 kB / 0.9386 GB, free: 16.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.2297, allocations: 19.84 kB / 0.9386 GB, free: 16.58 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.2297, allocations: 23.98 kB / 0.9386 GB, free: 16.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.23, allocations: 177.7 kB / 0.9388 GB, free: 16.37 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.23, allocations: 31.62 kB / 0.9388 GB, free: 16.34 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.114e-05/0.2301, allocations: 39 kB / 0.9389 GB, free: 16.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2301, allocations: 4 kB / 0.9389 GB, free: 16.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2301, allocations: 3.938 kB / 0.9389 GB, free: 16.29 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2302, allocations: 0 / 0.9389 GB, free: 16.29 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.2304, allocations: 297.4 kB / 0.9392 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2305, allocations: 0 / 0.9392 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.2306, allocations: 16 kB / 0.9392 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2306, allocations: 0 / 0.9392 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.2306, allocations: 7.984 kB / 0.9392 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2306, allocations: 0 / 0.9392 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2307, allocations: 3.938 kB / 0.9392 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005104/0.2312, allocations: 204.6 kB / 0.9394 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.513e-05/0.2313, allocations: 112.7 kB / 0.9395 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.289e-05/0.2314, allocations: 8 kB / 0.9395 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.2315, allocations: 11.98 kB / 0.9395 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/0.2316, allocations: 19.91 kB / 0.9395 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.2317, allocations: 12 kB / 0.9395 GB, free: 15.53 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004301/0.2321, allocations: 299.1 kB / 0.9398 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.613e-06/0.2321, allocations: 4 kB / 0.9398 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003744/0.2325, allocations: 51.88 kB / 0.9399 GB, free: 15.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 (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.00122/0.2337, allocations: 484.8 kB / 0.9403 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006076/0.2344, allocations: 190.3 kB / 0.9405 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2344, allocations: 0 / 0.9405 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.2346, allocations: 67.91 kB / 0.9406 GB, free: 14.59 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006913/0.2353, allocations: 70.81 kB / 0.9406 GB, free: 14.52 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.2364, allocations: 0.5634 MB / 0.9412 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.2367, allocations: 0.7872 MB / 0.942 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002384/0.237, allocations: 54.94 kB / 0.942 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.2371, allocations: 35.42 kB / 0.9421 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of SimCode: time 1.042e-06/0.2371, allocations: 0 / 0.9421 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of Templates: time 0.01049/0.2476, allocations: 3.532 MB / 0.9455 GB, free: 9.523 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)