Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00426/0.004265, allocations: 234.6 kB / 15.8 MB, free: 6.285 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001094/0.001094, allocations: 179.2 kB / 16.69 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 4.186/4.186, allocations: 389.1 MB / 406.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.979/3.979, allocations: 472.3 MB / 0.9024 GB, free: 18.77 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007461/0.0007464, allocations: 16 kB / 1.008 GB, free: 13.41 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2459, allocations: 98.72 MB / 1.105 GB, free: 10.73 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.002266/0.2482, allocations: 1.237 MB / 1.106 GB, free: 9.48 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0006677/0.2489, allocations: 245.5 kB / 1.106 GB, free: 9.238 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.249, allocations: 4 kB / 1.106 GB, free: 9.234 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.2491, allocations: 4.75 kB / 1.106 GB, free: 9.23 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.2492, allocations: 20.72 kB / 1.106 GB, free: 9.211 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.2494, allocations: 31.91 kB / 1.106 GB, free: 9.18 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.000172/0.2496, allocations: 107.6 kB / 1.106 GB, free: 9.074 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.2497, allocations: 39.91 kB / 1.106 GB, free: 9.027 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.958e-05/0.2498, allocations: 32.67 kB / 1.106 GB, free: 8.996 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.283e-05/0.2499, allocations: 39.77 kB / 1.106 GB, free: 8.957 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.25, allocations: 5.062 kB / 1.106 GB, free: 8.953 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.347e-05/0.25, allocations: 4 kB / 1.106 GB, free: 8.949 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 3.236e-05/0.2501, allocations: 19.92 kB / 1.106 GB, free: 8.93 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 5.832e-05/0.2501, allocations: 42.33 kB / 1.106 GB, free: 8.883 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.2503, allocations: 84.08 kB / 1.106 GB, free: 8.801 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2503, allocations: 0.5 kB / 1.106 GB, free: 8.801 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2503, allocations: 0.7812 kB / 1.106 GB, free: 8.801 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2504, allocations: 0 / 1.106 GB, free: 8.801 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.000907/0.2513, allocations: 430.8 kB / 1.107 GB, free: 8.336 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.2513, allocations: 8.75 kB / 1.107 GB, free: 8.328 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.2514, allocations: 15.81 kB / 1.107 GB, free: 8.312 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.2516, allocations: 187.8 kB / 1.107 GB, free: 8.09 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.2517, allocations: 12.17 kB / 1.107 GB, free: 8.078 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.2517, allocations: 8.781 kB / 1.107 GB, free: 8.07 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.252, allocations: 91.16 kB / 1.107 GB, free: 7.977 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.252, allocations: 10.7 kB / 1.107 GB, free: 7.969 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.252, allocations: 0 / 1.107 GB, free: 7.969 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2521, allocations: 0 / 1.107 GB, free: 7.969 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.2523, allocations: 60.53 kB / 1.107 GB, free: 7.91 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008148/0.2531, allocations: 391.2 kB / 1.108 GB, free: 7.48 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.2534, allocations: 79.88 kB / 1.108 GB, free: 7.395 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.2535, allocations: 33.95 kB / 1.108 GB, free: 7.359 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.2535, allocations: 3.938 kB / 1.108 GB, free: 7.355 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002884/0.2538, allocations: 97.3 kB / 1.108 GB, free: 7.25 MB / 0.573 GB Notification: Performance of pre-optimization done (n=14): time 3.066e-06/0.2538, allocations: 0 / 1.108 GB, free: 7.25 MB / 0.573 GB Notification: Performance of matching and sorting (n=14): time 0.0005109/0.2543, allocations: 145.9 kB / 1.108 GB, free: 7.102 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.2544, allocations: 61.05 kB / 1.108 GB, free: 7.031 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.2546, allocations: 153.8 kB / 1.108 GB, free: 6.871 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.2547, allocations: 33.7 kB / 1.108 GB, free: 6.832 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 8.253e-05/0.2548, allocations: 100 kB / 1.108 GB, free: 6.73 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.2548, allocations: 33.06 kB / 1.108 GB, free: 6.699 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.2548, allocations: 4 kB / 1.108 GB, free: 6.695 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.255, allocations: 326.8 kB / 1.109 GB, free: 6.367 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.842e-05/0.2551, allocations: 37.83 kB / 1.109 GB, free: 6.332 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.2553, allocations: 55.42 kB / 1.109 GB, free: 6.266 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.2554, allocations: 33.03 kB / 1.109 GB, free: 6.234 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2554, allocations: 4 kB / 1.109 GB, free: 6.23 MB / 0.573 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000314/0.2557, allocations: 117.5 kB / 1.109 GB, free: 6.109 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.2557, allocations: 8 kB / 1.109 GB, free: 6.102 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.2558, allocations: 0 / 1.109 GB, free: 6.102 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.2558, allocations: 0 / 1.109 GB, free: 6.102 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.2559, allocations: 15.94 kB / 1.109 GB, free: 6.086 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.256, allocations: 7.984 kB / 1.109 GB, free: 6.078 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.2562, allocations: 35.92 kB / 1.109 GB, free: 6.043 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.2563, allocations: 4 kB / 1.109 GB, free: 6.039 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.2564, allocations: 129.5 kB / 1.109 GB, free: 5.906 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.2565, allocations: 7.906 kB / 1.109 GB, free: 5.898 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.215e-05/0.2565, allocations: 24.81 kB / 1.109 GB, free: 5.871 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.2566, allocations: 0 / 1.109 GB, free: 5.871 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.2566, allocations: 3.938 kB / 1.109 GB, free: 5.867 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.009e-05/0.2566, allocations: 88.92 kB / 1.109 GB, free: 5.762 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.2567, allocations: 12 kB / 1.109 GB, free: 5.75 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.2569, allocations: 27.92 kB / 1.109 GB, free: 5.723 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.925e-05/0.257, allocations: 23.91 kB / 1.109 GB, free: 5.699 MB / 0.573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005083/0.2575, allocations: 213.5 kB / 1.109 GB, free: 5.484 MB / 0.573 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003843/0.2579, allocations: 286.7 kB / 1.11 GB, free: 5.188 MB / 0.573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001285/0.2581, allocations: 43.98 kB / 1.11 GB, free: 5.145 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001397/0.2582, allocations: 126.5 kB / 1.11 GB, free: 5.023 MB / 0.573 GB Notification: Performance of Backend: time 1.173e-06/0.2582, allocations: 0 / 1.11 GB, free: 5.023 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005875/0.2588, allocations: 138.4 kB / 1.11 GB, free: 4.883 MB / 0.573 GB Notification: Performance of SimCode: time 0.0009911/0.2598, allocations: 0.7033 MB / 1.111 GB, free: 4.141 MB / 0.573 GB Notification: Performance of Templates: time 0.007385/0.2672, allocations: 1.362 MB / 1.112 GB, free: 2.785 MB / 0.573 GB