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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01611/0.01611, allocations: 106.3 kB / 15.06 MB, free: 5.555 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.00194/0.00194, allocations: 182.8 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 1.954/1.954, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.39/2.39, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006493/0.0006495, allocations: 19.98 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7547/0.7554, allocations: 98.71 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.002009/0.7574, allocations: 1.23 MB / 0.6846 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0006031/0.7581, allocations: 241 kB / 0.6849 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.07e-05/0.7582, allocations: 1 kB / 0.6849 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.7582, allocations: 6.656 kB / 0.6849 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.7583, allocations: 25.94 kB / 0.6849 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.7586, allocations: 28.8 kB / 0.6849 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.7587, allocations: 69.56 kB / 0.685 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.7589, allocations: 33.69 kB / 0.685 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.676e-05/0.7589, allocations: 34.5 kB / 0.6851 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.764e-05/0.759, allocations: 40.42 kB / 0.6851 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.7591, allocations: 3.75 kB / 0.6851 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.43e-05/0.7591, allocations: 4.75 kB / 0.6851 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.7592, allocations: 19.81 kB / 0.6851 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.7592, allocations: 42.28 kB / 0.6852 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.7594, allocations: 79.97 kB / 0.6852 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.7594, allocations: 0 / 0.6852 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7594, allocations: 4 kB / 0.6852 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.7594, allocations: 0 / 0.6852 GB, free: 15.55 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007842/0.7602, allocations: 428.4 kB / 0.6857 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.7603, allocations: 14.25 kB / 0.6857 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.632e-05/0.7603, allocations: 43.83 kB / 0.6857 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.7604, allocations: 14.23 kB / 0.6857 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.7605, allocations: 182.2 kB / 0.6859 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.7606, allocations: 12.83 kB / 0.6859 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.7606, allocations: 12.25 kB / 0.6859 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.7609, allocations: 87.92 kB / 0.686 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.7609, allocations: 1.188 kB / 0.686 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.7609, allocations: 6.094 kB / 0.686 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.7609, allocations: 1.281 kB / 0.686 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.7611, allocations: 68.42 kB / 0.6861 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007315/0.7619, allocations: 386.1 kB / 0.6864 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.7621, allocations: 94.61 kB / 0.6865 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.7622, allocations: 1.531 kB / 0.6865 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/0.7624, allocations: 96.81 kB / 0.6866 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 3.075e-06/0.7624, allocations: 0 / 0.6866 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.0005083/0.763, allocations: 144.3 kB / 0.6868 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.763, allocations: 54.55 kB / 0.6868 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.7632, allocations: 163.9 kB / 0.687 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.7633, allocations: 31.11 kB / 0.687 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.7633, allocations: 107.6 kB / 0.6871 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.7634, allocations: 26.98 kB / 0.6871 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-06/0.7634, allocations: 0 / 0.6871 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.023e-05/0.7635, allocations: 325.2 kB / 0.6874 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.494e-05/0.7636, allocations: 26.23 kB / 0.6875 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.7637, allocations: 68.98 kB / 0.6875 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.685e-05/0.7638, allocations: 32.16 kB / 0.6876 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.7638, allocations: 0 / 0.6876 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003095/0.7641, allocations: 123.2 kB / 0.6877 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.7642, allocations: 5.094 kB / 0.6877 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.7642, allocations: 1.156 kB / 0.6877 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.7642, allocations: 3.094 kB / 0.6877 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.7644, allocations: 25.58 kB / 0.6877 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.7644, allocations: 2.156 kB / 0.6877 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.7647, allocations: 29.17 kB / 0.6877 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.7647, allocations: 4.125 kB / 0.6878 GB, free: 13.45 MB / 0.5261 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.0001343/0.7648, allocations: 128.2 kB / 0.6879 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.7649, allocations: 16.84 kB / 0.6879 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.502e-05/0.765, allocations: 21.81 kB / 0.6879 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.765, allocations: 5.344 kB / 0.6879 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.765, allocations: 0 / 0.6879 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.765, allocations: 2.219 kB / 0.6879 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.7653, allocations: 213.6 kB / 0.6881 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.7653, allocations: 5.422 kB / 0.6881 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-05/0.7654, allocations: 9.391 kB / 0.6881 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.7654, allocations: 0 / 0.6881 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.7654, allocations: 6 kB / 0.6881 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.7654, allocations: 1.031 kB / 0.6881 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.7654, allocations: 4.703 kB / 0.6881 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.7658, allocations: 148.9 kB / 0.6883 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.7658, allocations: 99.78 kB / 0.6884 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.7659, allocations: 8.891 kB / 0.6884 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.7661, allocations: 19.98 kB / 0.6884 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.7662, allocations: 21.08 kB / 0.6884 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.7662, allocations: 9.141 kB / 0.6884 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001018/0.7663, allocations: 119.2 kB / 0.6886 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7663, allocations: 0 / 0.6886 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003331/0.7667, allocations: 24.08 kB / 0.6886 GB, free: 12.75 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: 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.0005568/0.7672, allocations: 0.6989 MB / 0.6893 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002901/0.7675, allocations: 82.94 kB / 0.6893 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7675, allocations: 0 / 0.6893 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.7677, allocations: 39.75 kB / 0.6894 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.7681, allocations: 24.5 kB / 0.6894 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.7697, allocations: 1.21 MB / 0.6906 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.7699, allocations: 0.7132 MB / 0.6913 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.731e-05/0.77, allocations: 11.31 kB / 0.6913 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.584e-05/0.7702, allocations: 34.5 kB / 0.6913 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of SimCode: time 1.413e-06/0.7702, allocations: 0 / 0.6913 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.7922, allocations: 2.478 MB / 0.6937 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/0.7925, allocations: 201.8 kB / 0.6939 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/3.279, allocations: 0 / 0.6939 GB, free: 9.852 MB / 0.5261 GB