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.OnCounter.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.OnCounter,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",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.01342/0.01342, 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.001174/0.001174, allocations: 173.3 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.046/2.046, allocations: 205.5 MB / 222.2 MB, free: 13.58 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.42/2.42, allocations: 252.8 MB / 0.511 GB, free: 8.301 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004807, allocations: 16.53 kB / 0.6243 GB, free: 21.33 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2182, allocations: 106.2 MB / 0.7281 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001817/0.2201, allocations: 1.098 MB / 0.7292 GB, free: 6.977 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0005628/0.2207, allocations: 214.6 kB / 0.7294 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.983e-05/0.2208, allocations: 0 / 0.7294 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.2208, allocations: 7.938 kB / 0.7294 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.221, allocations: 11.97 kB / 0.7294 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.2211, allocations: 15.92 kB / 0.7294 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 9.846e-05/0.2212, allocations: 39.89 kB / 0.7294 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.863e-05/0.2214, allocations: 8 kB / 0.7294 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.369e-05/0.2214, allocations: 27.91 kB / 0.7295 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.96e-05/0.2215, allocations: 19.91 kB / 0.7295 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.2215, allocations: 4 kB / 0.7295 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.748e-05/0.2216, allocations: 4 kB / 0.7295 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.2216, allocations: 4 kB / 0.7295 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.454e-05/0.2217, allocations: 33.64 kB / 0.7295 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 9.754e-05/0.2218, allocations: 43.89 kB / 0.7296 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.2218, allocations: 0 / 0.7296 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.747e-06/0.2218, allocations: 4 kB / 0.7296 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.2218, allocations: 0 / 0.7296 GB, free: 6.539 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006634/0.2225, allocations: 371.5 kB / 0.7299 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.2225, allocations: 12.03 kB / 0.7299 GB, free: 6.117 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.319e-05/0.2226, allocations: 34.55 kB / 0.73 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.2226, allocations: 11.86 kB / 0.73 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.2228, allocations: 167.1 kB / 0.7301 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.2228, allocations: 8 kB / 0.7301 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.2228, allocations: 4 kB / 0.7302 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.223, allocations: 61.55 kB / 0.7302 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.223, allocations: 0 / 0.7302 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.223, allocations: 0 / 0.7302 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.2231, allocations: 4 kB / 0.7302 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.135e-05/0.2232, allocations: 23.88 kB / 0.7302 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.2237, allocations: 296.8 kB / 0.7305 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.2238, allocations: 38.58 kB / 0.7306 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.2239, allocations: 3.938 kB / 0.7306 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.2241, allocations: 83.48 kB / 0.7306 GB, free: 5.27 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 2.244e-06/0.2241, allocations: 0 / 0.7306 GB, free: 5.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.0003642/0.2245, allocations: 113.5 kB / 0.7307 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.2246, allocations: 59.41 kB / 0.7308 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.2247, allocations: 117.8 kB / 0.7309 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.2247, allocations: 25.7 kB / 0.7309 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.2248, allocations: 88.14 kB / 0.731 GB, free: 4.836 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.2248, allocations: 23.73 kB / 0.731 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/0.2248, allocations: 0 / 0.731 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.225, allocations: 314.8 kB / 0.7313 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.307e-05/0.225, allocations: 20.73 kB / 0.7314 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.735e-05/0.2251, allocations: 56.22 kB / 0.7314 GB, free: 4.406 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.896e-05/0.2252, allocations: 20 kB / 0.7314 GB, free: 4.387 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2252, allocations: 0 / 0.7314 GB, free: 4.387 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002304/0.2255, allocations: 97.45 kB / 0.7315 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.2255, allocations: 8 kB / 0.7315 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2255, allocations: 4.094 kB / 0.7315 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.2256, allocations: 7.953 kB / 0.7316 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.2257, allocations: 7.938 kB / 0.7316 GB, free: 4.258 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.2257, allocations: 3.984 kB / 0.7316 GB, free: 4.254 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.2258, allocations: 19.98 kB / 0.7316 GB, free: 4.234 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.2259, allocations: 4 kB / 0.7316 GB, free: 4.23 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition4,$whenCondition3,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,$whenCondition2,reset.y,$PRE.reset.pulseStart,reset.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001177/0.226, allocations: 125.8 kB / 0.7317 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.226, allocations: 3.906 kB / 0.7317 GB, free: 4.094 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.2261, allocations: 12.38 kB / 0.7317 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.2261, allocations: 7.984 kB / 0.7317 GB, free: 4.074 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2261, allocations: 0 / 0.7317 GB, free: 4.074 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2261, allocations: 3.984 kB / 0.7317 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007276/0.2269, allocations: 398.4 kB / 0.7321 GB, free: 3.625 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2269, allocations: 4 kB / 0.7321 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.418e-05/0.2269, allocations: 0 / 0.7321 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.2269, allocations: 3.953 kB / 0.7321 GB, free: 3.617 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.2269, allocations: 4 kB / 0.7321 GB, free: 3.613 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.227, allocations: 4 kB / 0.7321 GB, free: 3.609 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.227, allocations: 3.938 kB / 0.7321 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.2272, allocations: 179.5 kB / 0.7323 GB, free: 3.414 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.2273, allocations: 85.02 kB / 0.7324 GB, free: 3.312 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.2273, allocations: 3.953 kB / 0.7324 GB, free: 3.309 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.2275, allocations: 19.92 kB / 0.7324 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.2276, allocations: 15.97 kB / 0.7324 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.2276, allocations: 0 / 0.7324 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.458e-05/0.2277, allocations: 91.41 kB / 0.7325 GB, free: 3.184 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2277, allocations: 4 kB / 0.7325 GB, free: 3.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003188/0.228, allocations: 23.98 kB / 0.7325 GB, free: 3.156 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 (booPul.y,reset.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,onCounter.y,booPul.pulseStart,reset.pulseStart) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005461/0.2286, allocations: 0.7163 MB / 0.7332 GB, free: 2.414 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.2288, allocations: 51.92 kB / 0.7333 GB, free: 2.363 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2288, allocations: 4.188 kB / 0.7333 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.229, allocations: 35.92 kB / 0.7333 GB, free: 2.324 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.2293, allocations: 19.94 kB / 0.7333 GB, free: 2.305 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.2306, allocations: 1.127 MB / 0.7344 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.2309, allocations: 0.6926 MB / 0.7351 GB, free: 396 kB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.194e-05/0.231, allocations: 8.656 kB / 0.7351 GB, free: 388 kB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/0.2311, allocations: 19.44 kB / 0.7351 GB, free: 368 kB / 0.5573 GB Notification: Performance of SimCode: time 1.113e-06/0.2311, allocations: 0 / 0.7351 GB, free: 368 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.2555, allocations: 1.776 MB / 0.7369 GB, free: 14.68 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003585/0.2559, allocations: 192 kB / 0.7371 GB, free: 14.44 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.198/2.454, allocations: 4 kB / 0.7371 GB, free: 14.44 MB / 0.573 GB