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.OnCounter.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.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") 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.419/1.419, allocations: 255.9 MB / 271.2 MB, free: 8.898 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.0009845/0.0009845, allocations: 181.8 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: 15.9 MB / 442.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.0009365/0.0009364, allocations: 95.56 kB / 0.709 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 8.438 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2508, allocations: 109.2 MB / 0.9328 GB, free: 24.06 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.00132/0.2522, allocations: 1.099 MB / 0.9338 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000423/0.2526, allocations: 195.5 kB / 0.934 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.2527, allocations: 0 / 0.934 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.2527, allocations: 0 / 0.934 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.755e-05/0.2528, allocations: 15.86 kB / 0.934 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.253, allocations: 23.97 kB / 0.9341 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.651e-05/0.2531, allocations: 63.8 kB / 0.9341 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2532, allocations: 7.984 kB / 0.9341 GB, free: 22.65 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.934e-05/0.2533, allocations: 19.88 kB / 0.9342 GB, free: 22.63 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.753e-05/0.2534, allocations: 23.91 kB / 0.9342 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.2534, allocations: 0 / 0.9342 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.291e-05/0.2534, allocations: 4 kB / 0.9342 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.2534, allocations: 23.84 kB / 0.9342 GB, free: 22.58 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.986e-05/0.2535, allocations: 41.58 kB / 0.9342 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.605e-05/0.2536, allocations: 47.84 kB / 0.9343 GB, free: 22.49 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.2536, allocations: 4 kB / 0.9343 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.552e-06/0.2536, allocations: 4 kB / 0.9343 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2536, allocations: 0 / 0.9343 GB, free: 22.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000507/0.2541, allocations: 371.6 kB / 0.9347 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.2542, allocations: 15.98 kB / 0.9347 GB, free: 22.05 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.2542, allocations: 8.844 kB / 0.9347 GB, free: 22.04 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.2544, allocations: 176.3 kB / 0.9348 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.2544, allocations: 4.375 kB / 0.9349 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.2544, allocations: 4.375 kB / 0.9349 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.2545, allocations: 58.17 kB / 0.9349 GB, free: 21.76 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2545, allocations: 192 / 0.9349 GB, free: 21.76 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2546, allocations: 3.938 kB / 0.9349 GB, free: 21.76 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.2546, allocations: 0 / 0.9349 GB, free: 21.76 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.301e-05/0.2546, allocations: 23.97 kB / 0.9349 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.255, allocations: 280.9 kB / 0.9352 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.6e-05/0.2551, allocations: 58.44 kB / 0.9353 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.468e-05/0.2552, allocations: 20.92 kB / 0.9353 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.2552, allocations: 0 / 0.9353 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.2554, allocations: 83.38 kB / 0.9354 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.2554, allocations: 0 / 0.9354 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002232/0.2556, allocations: 105.5 kB / 0.9355 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.2556, allocations: 55.78 kB / 0.9355 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.198e-05/0.2557, allocations: 129.7 kB / 0.9356 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.2557, allocations: 25.7 kB / 0.9357 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.2558, allocations: 96.11 kB / 0.9358 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.2558, allocations: 15.75 kB / 0.9358 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.2558, allocations: 4 kB / 0.9358 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.055e-05/0.2559, allocations: 322.8 kB / 0.9361 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.455e-05/0.2559, allocations: 12 kB / 0.9361 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.285e-05/0.256, allocations: 52.28 kB / 0.9361 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.008e-05/0.2561, allocations: 80.14 kB / 0.9362 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2561, allocations: 0 / 0.9362 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001488/0.2562, allocations: 101.5 kB / 0.9363 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2563, allocations: 7.906 kB / 0.9363 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2563, allocations: 4 kB / 0.9363 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2563, allocations: 0 / 0.9363 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.2564, allocations: 8 kB / 0.9363 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.2564, allocations: 0 / 0.9363 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.912e-05/0.2565, allocations: 28.08 kB / 0.9364 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.2565, allocations: 4 kB / 0.9364 GB, free: 20.11 MB / 0.5886 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.2566, allocations: 128.9 kB / 0.9365 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.2566, allocations: 7.906 kB / 0.9365 GB, free: 19.97 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.2567, allocations: 8.375 kB / 0.9365 GB, free: 19.96 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.2567, allocations: 0 / 0.9365 GB, free: 19.96 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2567, allocations: 4 kB / 0.9365 GB, free: 19.96 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2567, allocations: 7.938 kB / 0.9365 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.2571, allocations: 382.4 kB / 0.9369 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2571, allocations: 0 / 0.9369 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.089e-05/0.2571, allocations: 7.984 kB / 0.9369 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.2571, allocations: 0 / 0.9369 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.2571, allocations: 8 kB / 0.9369 GB, free: 19.51 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2571, allocations: 4.406 kB / 0.9369 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2572, allocations: 0 / 0.9369 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.2573, allocations: 195.2 kB / 0.9371 GB, free: 19.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.2573, allocations: 81.02 kB / 0.9372 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.2574, allocations: 4 kB / 0.9372 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.2575, allocations: 15.98 kB / 0.9372 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.2575, allocations: 15.92 kB / 0.9372 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.2575, allocations: 7.984 kB / 0.9372 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.84e-05/0.2576, allocations: 87.28 kB / 0.9373 GB, free: 19.07 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2576, allocations: 0 / 0.9373 GB, free: 19.07 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002402/0.2578, allocations: 16 kB / 0.9373 GB, free: 19.05 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 (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 (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.0001143/0.258, allocations: 108.5 kB / 0.9374 GB, free: 18.94 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.2581, allocations: 59.92 kB / 0.9375 GB, free: 18.88 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2581, allocations: 0 / 0.9375 GB, free: 18.88 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.124e-05/0.2582, allocations: 35.91 kB / 0.9375 GB, free: 18.85 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.2585, allocations: 16.27 kB / 0.9375 GB, free: 18.83 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.2589, allocations: 187.4 kB / 0.9377 GB, free: 18.61 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.2591, allocations: 0.6854 MB / 0.9384 GB, free: 17.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.251e-05/0.2591, allocations: 12.59 kB / 0.9384 GB, free: 17.89 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.2592, allocations: 15.38 kB / 0.9384 GB, free: 17.88 MB / 0.5886 GB Notification: Performance of SimCode: time 3.5e-07/0.2592, allocations: 0 / 0.9384 GB, free: 17.88 MB / 0.5886 GB Notification: Performance of Templates: time 0.003332/0.2625, allocations: 0.93 MB / 0.9393 GB, free: 16.95 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)