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.Logical.Validation.IntegerSwitch.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.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") 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.462/1.462, allocations: 255.9 MB / 271.2 MB, free: 8.926 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.001062/0.001062, allocations: 187.1 kB / 330.8 MB, free: 0.4961 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 1.618/1.618, allocations: 225.7 MB / 0.6016 GB, free: 1.668 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.000867/0.0008672, allocations: 97.16 kB / 0.709 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003373, allocations: 8.531 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2396, allocations: 109.2 MB / 0.9328 GB, free: 6.242 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.001565/0.2412, allocations: 1.251 MB / 0.934 GB, free: 4.98 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0004689/0.2417, allocations: 235.3 kB / 0.9342 GB, free: 4.75 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.2417, allocations: 0 / 0.9342 GB, free: 4.75 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.2418, allocations: 7.922 kB / 0.9342 GB, free: 4.742 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.2419, allocations: 15.86 kB / 0.9342 GB, free: 4.727 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.2421, allocations: 27.97 kB / 0.9343 GB, free: 4.699 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.2423, allocations: 119.6 kB / 0.9344 GB, free: 4.582 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.2425, allocations: 37.42 kB / 0.9344 GB, free: 4.539 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.133e-05/0.2426, allocations: 35.78 kB / 0.9345 GB, free: 4.504 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.082e-05/0.2427, allocations: 47.7 kB / 0.9345 GB, free: 4.457 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.2427, allocations: 4 kB / 0.9345 GB, free: 4.453 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.776e-05/0.2427, allocations: 8 kB / 0.9345 GB, free: 4.445 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 3.294e-05/0.2428, allocations: 19.92 kB / 0.9345 GB, free: 4.426 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 6.928e-05/0.2428, allocations: 65.44 kB / 0.9346 GB, free: 4.355 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.243, allocations: 115.8 kB / 0.9347 GB, free: 4.242 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.243, allocations: 0 / 0.9347 GB, free: 4.242 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.276e-06/0.243, allocations: 0 / 0.9347 GB, free: 4.242 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.243, allocations: 0 / 0.9347 GB, free: 4.242 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007844/0.2438, allocations: 427.3 kB / 0.9351 GB, free: 3.773 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/0.2439, allocations: 15.98 kB / 0.9351 GB, free: 3.758 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.244, allocations: 8.844 kB / 0.9351 GB, free: 3.75 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.2441, allocations: 199.9 kB / 0.9353 GB, free: 3.516 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.2442, allocations: 12.56 kB / 0.9353 GB, free: 3.504 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.2442, allocations: 8.375 kB / 0.9353 GB, free: 3.496 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.2444, allocations: 97.97 kB / 0.9354 GB, free: 3.395 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.2444, allocations: 0 / 0.9354 GB, free: 3.395 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/0.2445, allocations: 3.984 kB / 0.9354 GB, free: 3.391 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.2445, allocations: 4 kB / 0.9354 GB, free: 3.387 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.2446, allocations: 55.98 kB / 0.9355 GB, free: 3.332 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006349/0.2453, allocations: 392.5 kB / 0.9359 GB, free: 2.898 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.2454, allocations: 82.52 kB / 0.936 GB, free: 2.809 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.145e-05/0.2455, allocations: 33.08 kB / 0.936 GB, free: 2.773 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.2455, allocations: 7.984 kB / 0.936 GB, free: 2.766 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002524/0.2458, allocations: 95.38 kB / 0.9361 GB, free: 2.66 MB / 0.573 GB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.2458, allocations: 0 / 0.9361 GB, free: 2.66 MB / 0.573 GB Notification: Performance of matching and sorting (n=14): time 0.0003396/0.2462, allocations: 149.4 kB / 0.9362 GB, free: 2.508 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.2462, allocations: 59.41 kB / 0.9363 GB, free: 2.438 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.2464, allocations: 169 kB / 0.9364 GB, free: 2.262 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.2464, allocations: 25.7 kB / 0.9365 GB, free: 2.23 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.2464, allocations: 108 kB / 0.9366 GB, free: 2.121 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.2465, allocations: 27.62 kB / 0.9366 GB, free: 2.094 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.373e-06/0.2465, allocations: 4 kB / 0.9366 GB, free: 2.09 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2466, allocations: 326.8 kB / 0.9369 GB, free: 1.762 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.492e-05/0.2467, allocations: 23.98 kB / 0.9369 GB, free: 1.738 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-05/0.2467, allocations: 59.41 kB / 0.937 GB, free: 1.668 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.2468, allocations: 87.38 kB / 0.9371 GB, free: 1.57 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2468, allocations: 0 / 0.9371 GB, free: 1.57 MB / 0.573 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001613/0.247, allocations: 125.5 kB / 0.9372 GB, free: 1.441 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.247, allocations: 4 kB / 0.9372 GB, free: 1.438 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.2471, allocations: 0 / 0.9372 GB, free: 1.438 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.2471, allocations: 4 kB / 0.9372 GB, free: 1.434 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.807e-05/0.2472, allocations: 12 kB / 0.9372 GB, free: 1.422 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.2472, allocations: 3.938 kB / 0.9372 GB, free: 1.418 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.2473, allocations: 39.91 kB / 0.9373 GB, free: 1.379 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.2474, allocations: 4 kB / 0.9373 GB, free: 1.375 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001048/0.2475, allocations: 126.4 kB / 0.9374 GB, free: 1.242 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.2475, allocations: 15.81 kB / 0.9374 GB, free: 1.227 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/0.2475, allocations: 16.83 kB / 0.9374 GB, free: 1.211 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.2476, allocations: 4 kB / 0.9374 GB, free: 1.207 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2476, allocations: 7.938 kB / 0.9374 GB, free: 1.199 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.2476, allocations: 0 / 0.9374 GB, free: 1.199 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.2478, allocations: 225.5 kB / 0.9376 GB, free: 0.9297 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2478, allocations: 0 / 0.9376 GB, free: 0.9297 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.2478, allocations: 8 kB / 0.9376 GB, free: 0.9219 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2479, allocations: 4 kB / 0.9376 GB, free: 0.918 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2479, allocations: 0 / 0.9376 GB, free: 0.918 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.2479, allocations: 7.938 kB / 0.9377 GB, free: 0.9102 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2479, allocations: 3.938 kB / 0.9377 GB, free: 0.9062 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.2481, allocations: 152.9 kB / 0.9378 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.2481, allocations: 89.02 kB / 0.9379 GB, free: 0.6328 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.2482, allocations: 0 / 0.9379 GB, free: 0.6328 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.2483, allocations: 23.97 kB / 0.9379 GB, free: 0.6094 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/0.2484, allocations: 15.92 kB / 0.9379 GB, free: 0.5938 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.2484, allocations: 7.984 kB / 0.9379 GB, free: 0.5859 MB / 0.573 GB Notification: Performance of sorting global known variables: time 6.866e-05/0.2484, allocations: 117.1 kB / 0.938 GB, free: 484 kB / 0.573 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2485, allocations: 0 / 0.938 GB, free: 484 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002006/0.2487, allocations: 24 kB / 0.9381 GB, free: 460 kB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0001736/0.2489, allocations: 120.3 kB / 0.9382 GB, free: 332 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.2491, allocations: 80.66 kB / 0.9383 GB, free: 252 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2491, allocations: 3.938 kB / 0.9383 GB, free: 248 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 8.898e-05/0.2492, allocations: 48.23 kB / 0.9383 GB, free: 200 kB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.2495, allocations: 28.11 kB / 0.9383 GB, free: 172 kB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005535/0.25, allocations: 284.4 kB / 0.9386 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.2503, allocations: 0.7048 MB / 0.9393 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.985e-05/0.2504, allocations: 13.08 kB / 0.9393 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.2505, allocations: 15.44 kB / 0.9393 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.2505, allocations: 3.938 kB / 0.9393 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of Templates: time 0.003755/0.2542, allocations: 1.25 MB / 0.9405 GB, free: 13.85 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)