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.01145/0.01145, allocations: 222.4 kB / 15.17 MB, free: 5.934 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.001397/0.001397, allocations: 178.9 kB / 16.06 MB, free: 5.832 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 3.984/3.984, allocations: 389.1 MB / 405.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.333/4.333, allocations: 472.3 MB / 0.9018 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004865, allocations: 16 kB / 1.008 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6121/0.6126, allocations: 98.71 MB / 1.104 GB, free: 212.9 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.001572/0.6142, allocations: 1.25 MB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0004636/0.6147, allocations: 236.2 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.6148, allocations: 0 / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.6149, allocations: 7.594 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.993e-05/0.615, allocations: 17.62 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.6151, allocations: 34.14 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.6153, allocations: 105.7 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.6154, allocations: 33.52 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.746e-05/0.6155, allocations: 32.98 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.663e-05/0.6155, allocations: 40.83 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.6156, allocations: 5.344 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.787e-05/0.6156, allocations: 4.281 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.6156, allocations: 19.66 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.6157, allocations: 51.83 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.6158, allocations: 80.03 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6158, allocations: 0 / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.958e-06/0.6158, allocations: 3.625 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.6159, allocations: 0 / 1.106 GB, free: 211.9 MB / 0.7292 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.0005676/0.6164, allocations: 428 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.6165, allocations: 10.41 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.6165, allocations: 14.3 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.6166, allocations: 187.2 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.6167, allocations: 7.719 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.6167, allocations: 10.28 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.6169, allocations: 101.7 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.644e-06/0.6169, allocations: 0 / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.617, allocations: 4 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.617, allocations: 3.844 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.6171, allocations: 57.41 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005774/0.6177, allocations: 395.6 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.6179, allocations: 84.73 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.809e-05/0.618, allocations: 40.09 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.6181, allocations: 0 / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.6183, allocations: 94.22 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 2.399e-06/0.6183, allocations: 0 / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0003651/0.6187, allocations: 147.9 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.6187, allocations: 53.94 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.6189, allocations: 162 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.6189, allocations: 31.02 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.619, allocations: 100 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.619, allocations: 29.3 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.707e-06/0.619, allocations: 1.312 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.936e-05/0.6191, allocations: 328.8 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.979e-05/0.6192, allocations: 26.02 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.668e-05/0.6193, allocations: 61.59 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.837e-05/0.6194, allocations: 34.83 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.881e-06/0.6194, allocations: 0 / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002572/0.6197, allocations: 128.8 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.6197, allocations: 6.469 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.669e-06/0.6197, allocations: 1.375 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.6197, allocations: 1.312 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.6198, allocations: 17.17 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.938e-06/0.6199, allocations: 5.25 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.62, allocations: 33.41 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.6201, allocations: 8.125 kB / 1.108 GB, free: 209.8 MB / 0.7292 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 9.824e-05/0.6202, allocations: 126.4 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.6202, allocations: 14 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.6203, allocations: 19.31 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.126e-06/0.6203, allocations: 2.719 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.682e-06/0.6203, allocations: 2.594 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.108e-06/0.6203, allocations: 0.6094 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.6205, allocations: 218.3 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.117e-06/0.6205, allocations: 5.266 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.6206, allocations: 14.25 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.6206, allocations: 1.375 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.6206, allocations: 5.438 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.334e-06/0.6206, allocations: 3.938 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.802e-06/0.6206, allocations: 0 / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.6209, allocations: 147.7 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-05/0.621, allocations: 92.41 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.621, allocations: 8.594 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.6211, allocations: 25.8 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.6212, allocations: 19.3 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.6212, allocations: 6.188 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.456e-05/0.6213, allocations: 120.3 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.38e-07/0.6214, allocations: 0 / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002896/0.6217, allocations: 25.09 kB / 1.109 GB, free: 209.1 MB / 0.7292 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 (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.0001137/0.6218, allocations: 108 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002448/0.622, allocations: 86 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6221, allocations: 0 / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.6222, allocations: 48.52 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.6226, allocations: 30.56 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005229/0.6231, allocations: 270.2 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.6233, allocations: 0.7089 MB / 1.11 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.477e-05/0.6233, allocations: 15.84 kB / 1.11 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.6234, allocations: 14.75 kB / 1.11 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of SimCode: time 1.296e-06/0.6234, allocations: 0 / 1.11 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of Templates: time 0.00472/0.6281, allocations: 1.204 MB / 1.112 GB, free: 208.1 MB / 0.7292 GB