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.Switch.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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01048/0.01048, allocations: 222.3 kB / 15.17 MB, free: 5.926 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.001101/0.001101, allocations: 176 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.976/3.976, allocations: 389.1 MB / 405.9 MB, free: 13.32 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.642/4.642, allocations: 472.3 MB / 0.9018 GB, free: 3.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004925, allocations: 16 kB / 1.008 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5804/0.5809, allocations: 98.7 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.00159/0.5826, allocations: 1.189 MB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0004428/0.583, allocations: 202.8 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.5831, allocations: 2.344 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.5831, allocations: 0 / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.392e-05/0.5832, allocations: 9.422 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.5834, allocations: 25.88 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.589e-05/0.5835, allocations: 63.83 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.183e-05/0.5836, allocations: 13.39 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.176e-05/0.5837, allocations: 21.88 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.662e-05/0.5837, allocations: 28.33 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.5838, allocations: 3.188 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.443e-05/0.5838, allocations: 2.062 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.874e-05/0.5838, allocations: 11.23 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.5838, allocations: 33.8 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.367e-05/0.5839, allocations: 50.22 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.766e-06/0.584, allocations: 0 / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.415e-06/0.584, allocations: 0 / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.341e-06/0.584, 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005586/0.5845, allocations: 396 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.5846, allocations: 8.656 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.5846, allocations: 6.719 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.711e-05/0.5848, allocations: 177.4 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.5848, allocations: 6.781 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.5848, allocations: 4.688 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.5851, allocations: 94.47 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.812e-06/0.5852, allocations: 0 / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.5852, allocations: 0 / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.849e-06/0.5852, allocations: 5.688 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003676/0.5856, allocations: 94.06 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.586, allocations: 293.9 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.5863, allocations: 74.47 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.5865, allocations: 63.8 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.5865, allocations: 0 / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003055/0.5868, allocations: 99.45 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 2.352e-06/0.5868, allocations: 0 / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0006857/0.5875, allocations: 200.2 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.5876, allocations: 52.78 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.5877, allocations: 121.8 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.5877, allocations: 27.11 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.5878, allocations: 94.12 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.5878, allocations: 18.34 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-06/0.5878, allocations: 2.812 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.681e-05/0.5879, allocations: 318.2 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.5881, allocations: 49.59 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.5884, allocations: 60.45 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.5886, allocations: 50.78 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.028e-06/0.5886, allocations: 0 / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005268/0.5892, allocations: 143.1 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.5892, allocations: 4.469 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.767e-06/0.5892, allocations: 1.25 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.5892, allocations: 1.281 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.5894, allocations: 27.98 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.845e-06/0.5894, allocations: 4.812 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.5896, allocations: 28.53 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.5897, allocations: 2.219 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.809e-05/0.5898, allocations: 116.7 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.5898, allocations: 9.078 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.5898, allocations: 10.03 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5898, allocations: 1.531 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.042e-06/0.5899, allocations: 3.953 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.793e-06/0.5899, allocations: 0 / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.59, allocations: 183.4 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5901, allocations: 1.094 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.5902, allocations: 24.41 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.5902, allocations: 4.969 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.5902, allocations: 1.281 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.637e-06/0.5903, allocations: 0 / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.5903, allocations: 0 / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005355/0.5908, allocations: 177.3 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.5909, allocations: 90.98 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.5909, allocations: 4 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.5911, allocations: 23.53 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/0.5911, allocations: 12.52 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.5912, allocations: 1.438 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.888e-05/0.5912, allocations: 97.47 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.4e-07/0.5912, allocations: 0 / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002809/0.5915, allocations: 14.83 kB / 1.109 GB, free: 209.4 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001192/0.5917, allocations: 102.2 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004669/0.5921, allocations: 111.2 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.688e-06/0.5922, allocations: 3.938 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.5924, allocations: 63.09 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.5927, allocations: 15.5 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003958/0.5931, allocations: 183.4 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.5933, allocations: 0.694 MB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.304e-05/0.5933, allocations: 4.266 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.5934, allocations: 10.94 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of SimCode: time 2.35e-06/0.5934, allocations: 0 / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of Templates: time 0.003744/0.5972, allocations: 0.8275 MB / 1.111 GB, free: 208.4 MB / 0.7292 GB