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.009245/0.00925, allocations: 109.1 kB / 15.06 MB, free: 5.559 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.001127/0.001127, allocations: 178.1 kB / 15.95 MB, free: 5.52 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 2.091/2.091, allocations: 194.6 MB / 211.3 MB, free: 11.31 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.296/2.296, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004805, allocations: 12 kB / 0.587 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5491/0.5496, allocations: 98.7 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001591/0.5513, allocations: 1.17 MB / 0.6845 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0004518/0.5518, allocations: 209.1 kB / 0.6847 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.236e-05/0.5518, allocations: 0 / 0.6847 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.5519, allocations: 0.9844 kB / 0.6847 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.019e-05/0.552, allocations: 17.25 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.5521, allocations: 18.92 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.178e-05/0.5522, allocations: 43.58 kB / 0.6848 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.463e-05/0.5523, allocations: 16.03 kB / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.432e-05/0.5524, allocations: 20.55 kB / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.992e-05/0.5525, allocations: 24.22 kB / 0.6848 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.5525, allocations: 6.859 kB / 0.6848 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.502e-05/0.5525, allocations: 3 kB / 0.6848 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.5526, allocations: 12.31 kB / 0.6848 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.5526, allocations: 33.8 kB / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.5527, allocations: 39.78 kB / 0.6849 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.424e-06/0.5527, allocations: 0 / 0.6849 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.066e-06/0.5528, allocations: 4 kB / 0.6849 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.5528, allocations: 0 / 0.6849 GB, free: 15.69 MB / 0.5261 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.0005791/0.5534, allocations: 392.9 kB / 0.6853 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.5534, allocations: 9.281 kB / 0.6853 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.5535, allocations: 7.797 kB / 0.6853 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.755e-05/0.5536, allocations: 184.5 kB / 0.6855 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.5536, allocations: 2.656 kB / 0.6855 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.5536, allocations: 2.156 kB / 0.6855 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.5539, allocations: 95.94 kB / 0.6856 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.554, allocations: 1.094 kB / 0.6856 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.554, allocations: 0 / 0.6856 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.554, allocations: 1.688 kB / 0.6856 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.5544, allocations: 96.27 kB / 0.6857 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.5548, allocations: 295.6 kB / 0.686 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.5551, allocations: 80.16 kB / 0.686 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.5551, allocations: 0 / 0.686 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003334/0.5555, allocations: 99.98 kB / 0.6861 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 2.449e-06/0.5555, allocations: 0 / 0.6861 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0007288/0.5562, allocations: 197.8 kB / 0.6863 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.5563, allocations: 53.3 kB / 0.6864 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.327e-05/0.5564, allocations: 122.4 kB / 0.6865 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.5564, allocations: 30.98 kB / 0.6865 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.5565, allocations: 96.16 kB / 0.6866 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.5565, allocations: 15.55 kB / 0.6866 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-06/0.5565, allocations: 0 / 0.6866 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.689e-05/0.5566, allocations: 319.1 kB / 0.6869 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.5568, allocations: 48.45 kB / 0.687 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.5571, allocations: 65.31 kB / 0.687 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.5573, allocations: 42.98 kB / 0.6871 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.449e-06/0.5573, allocations: 1.25 kB / 0.6871 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004948/0.5578, allocations: 146.4 kB / 0.6872 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.5578, allocations: 5 kB / 0.6872 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.847e-06/0.5578, allocations: 0 / 0.6872 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.5579, allocations: 1.969 kB / 0.6872 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.558, allocations: 22.92 kB / 0.6873 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.5581, allocations: 8.641 kB / 0.6873 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.5582, allocations: 39.19 kB / 0.6873 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.5583, allocations: 3.203 kB / 0.6873 GB, free: 13.82 MB / 0.5261 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.105e-05/0.5583, allocations: 115.9 kB / 0.6874 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.5584, allocations: 2.969 kB / 0.6874 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.5584, allocations: 9.812 kB / 0.6874 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.194e-06/0.5584, allocations: 1.406 kB / 0.6874 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.954e-06/0.5584, allocations: 0 / 0.6874 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.5585, allocations: 5.453 kB / 0.6874 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.5586, allocations: 194.5 kB / 0.6876 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-06/0.5586, allocations: 0 / 0.6876 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.5588, allocations: 21.42 kB / 0.6876 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.131e-06/0.5588, allocations: 5.031 kB / 0.6876 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.5588, allocations: 0.75 kB / 0.6876 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.5588, allocations: 1.094 kB / 0.6876 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.623e-06/0.5588, allocations: 3.984 kB / 0.6876 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004891/0.5593, allocations: 171.8 kB / 0.6878 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.5594, allocations: 86.88 kB / 0.6879 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.5594, allocations: 2.094 kB / 0.6879 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.5596, allocations: 27.67 kB / 0.6879 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.5597, allocations: 7.578 kB / 0.6879 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.5597, allocations: 1.031 kB / 0.6879 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.153e-05/0.5597, allocations: 96.67 kB / 0.688 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.88e-07/0.5598, allocations: 0 / 0.688 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002792/0.56, allocations: 15.62 kB / 0.688 GB, free: 13.18 MB / 0.5261 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.0001236/0.5602, allocations: 104.4 kB / 0.6881 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004904/0.5607, allocations: 114.7 kB / 0.6882 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.199e-06/0.5607, allocations: 0 / 0.6882 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002354/0.5609, allocations: 55.28 kB / 0.6883 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.5612, allocations: 13.52 kB / 0.6883 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003958/0.5616, allocations: 174.3 kB / 0.6885 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.5618, allocations: 0.6938 MB / 0.6892 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.38e-05/0.5618, allocations: 3.719 kB / 0.6892 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.5619, allocations: 9.531 kB / 0.6892 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of SimCode: time 2.341e-06/0.5619, allocations: 1.062 kB / 0.6892 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.003818/0.5657, allocations: 0.8174 MB / 0.69 GB, free: 12.11 MB / 0.5261 GB