Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01322/0.01322, allocations: 92.88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001716/0.001715, allocations: 170.4 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.055/2.055, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.371/2.371, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006369/0.0006371, allocations: 17.69 kB / 0.6243 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2144, allocations: 106.2 MB / 0.7281 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002985/0.2174, allocations: 1.653 MB / 0.7297 GB, free: 8.473 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002284/0.2198, allocations: 0.9019 MB / 0.7306 GB, free: 7.562 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.22, allocations: 7.938 kB / 0.7306 GB, free: 7.555 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004865/0.2205, allocations: 139.5 kB / 0.7307 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004368/0.2209, allocations: 135.7 kB / 0.7308 GB, free: 7.285 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006513/0.2216, allocations: 147.6 kB / 0.731 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004966/0.2221, allocations: 179.6 kB / 0.7312 GB, free: 6.965 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.2223, allocations: 44.36 kB / 0.7312 GB, free: 6.922 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003234/0.2227, allocations: 131.5 kB / 0.7313 GB, free: 6.793 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.2229, allocations: 103.6 kB / 0.7314 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.223, allocations: 4 kB / 0.7314 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.2231, allocations: 19.98 kB / 0.7314 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.2232, allocations: 79.72 kB / 0.7315 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.187e-05/0.2234, allocations: 69.52 kB / 0.7316 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004506/0.2238, allocations: 259.6 kB / 0.7318 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2238, allocations: 0 / 0.7318 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2238, allocations: 0 / 0.7318 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.2239, allocations: 0 / 0.7318 GB, free: 6.262 MB / 0.5573 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.001133/0.225, allocations: 0.5603 MB / 0.7324 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.2251, allocations: 8.031 kB / 0.7324 GB, free: 5.645 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.624e-05/0.2251, allocations: 42.55 kB / 0.7324 GB, free: 5.594 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.633e-05/0.2252, allocations: 31.53 kB / 0.7325 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007045/0.2259, allocations: 345.3 kB / 0.7328 GB, free: 5.184 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.226, allocations: 4 kB / 0.7328 GB, free: 5.18 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.226, allocations: 8 kB / 0.7328 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.2264, allocations: 113.5 kB / 0.7329 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2264, allocations: 7.891 kB / 0.7329 GB, free: 5.047 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.2265, allocations: 4 kB / 0.7329 GB, free: 5.043 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.2265, allocations: 4 kB / 0.7329 GB, free: 5.039 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/0.2268, allocations: 59.89 kB / 0.733 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.2278, allocations: 488.5 kB / 0.7334 GB, free: 4.453 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005605/0.2284, allocations: 134.7 kB / 0.7336 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.2285, allocations: 4 kB / 0.7336 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003974/0.2289, allocations: 107.5 kB / 0.7337 GB, free: 4.191 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 3.577e-06/0.2289, allocations: 0 / 0.7337 GB, free: 4.191 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.0008859/0.2298, allocations: 229.1 kB / 0.7339 GB, free: 3.961 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.2299, allocations: 55.41 kB / 0.734 GB, free: 3.895 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008712/0.2308, allocations: 0.4897 MB / 0.7344 GB, free: 3.398 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.2308, allocations: 33.7 kB / 0.7345 GB, free: 3.359 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.231, allocations: 156.5 kB / 0.7346 GB, free: 3.203 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.092e-05/0.2311, allocations: 39.53 kB / 0.7346 GB, free: 3.164 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.2311, allocations: 12 kB / 0.7347 GB, free: 3.152 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.2313, allocations: 342.8 kB / 0.735 GB, free: 2.809 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.2317, allocations: 100.5 kB / 0.7351 GB, free: 2.711 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.232, allocations: 124.2 kB / 0.7352 GB, free: 2.582 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.2324, allocations: 116.1 kB / 0.7353 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/0.2325, allocations: 0 / 0.7353 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009362/0.2334, allocations: 322.8 kB / 0.7356 GB, free: 2.148 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.2334, allocations: 4 kB / 0.7356 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.2335, allocations: 0 / 0.7356 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.2335, allocations: 4 kB / 0.7356 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004367/0.2339, allocations: 47.97 kB / 0.7357 GB, free: 2.094 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.234, allocations: 7.938 kB / 0.7357 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.2342, allocations: 19.83 kB / 0.7357 GB, free: 2.066 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/0.2343, allocations: 12.06 kB / 0.7357 GB, free: 2.055 MB / 0.5573 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.0002839/0.2346, allocations: 181.8 kB / 0.7359 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-05/0.2347, allocations: 35.59 kB / 0.7359 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.2348, allocations: 39.02 kB / 0.736 GB, free: 1.793 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.2348, allocations: 3.938 kB / 0.736 GB, free: 1.789 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2348, allocations: 0 / 0.736 GB, free: 1.789 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2348, allocations: 0 / 0.736 GB, free: 1.789 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.2353, allocations: 301.4 kB / 0.7362 GB, free: 1.445 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.2353, allocations: 3.953 kB / 0.7362 GB, free: 1.441 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.2354, allocations: 15.98 kB / 0.7363 GB, free: 1.426 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.2354, allocations: 4 kB / 0.7363 GB, free: 1.422 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.2355, allocations: 3.938 kB / 0.7363 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2355, allocations: 0 / 0.7363 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.2355, allocations: 4 kB / 0.7363 GB, free: 1.414 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/0.2361, allocations: 200.7 kB / 0.7365 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.2363, allocations: 120.7 kB / 0.7366 GB, free: 1.062 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.2364, allocations: 4 kB / 0.7366 GB, free: 1.059 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.2365, allocations: 15.92 kB / 0.7366 GB, free: 1.043 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.452e-05/0.2366, allocations: 15.98 kB / 0.7366 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.2367, allocations: 7.984 kB / 0.7366 GB, free: 1.02 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000529/0.2372, allocations: 303.1 kB / 0.7369 GB, free: 0.7266 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.01e-07/0.2372, allocations: 0 / 0.7369 GB, free: 0.7266 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004413/0.2377, allocations: 51.92 kB / 0.737 GB, free: 0.6758 MB / 0.5573 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.002197/0.2399, allocations: 1.068 MB / 0.738 GB, free: 15.72 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0007227/0.2407, allocations: 188.3 kB / 0.7382 GB, free: 15.54 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2407, allocations: 0 / 0.7382 GB, free: 15.54 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.241, allocations: 60.09 kB / 0.7382 GB, free: 15.48 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006592/0.2416, allocations: 86.52 kB / 0.7383 GB, free: 15.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.2435, allocations: 1.134 MB / 0.7394 GB, free: 14.21 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.2439, allocations: 0.7948 MB / 0.7402 GB, free: 13.39 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002827/0.2442, allocations: 66.86 kB / 0.7403 GB, free: 13.32 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/0.2445, allocations: 99.39 kB / 0.7404 GB, free: 13.22 MB / 0.573 GB Notification: Performance of SimCode: time 1.302e-06/0.2445, allocations: 4 kB / 0.7404 GB, free: 13.22 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.2744, allocations: 6.497 MB / 0.7467 GB, free: 6.824 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/0.2746, allocations: 229.7 kB / 0.7469 GB, free: 6.586 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.621/2.896, allocations: 0 / 0.7469 GB, free: 6.586 MB / 0.573 GB