Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000816/0.0008159, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009863/0.0009861, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005409/0.0005409, allocations: 16 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2417, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.001031/0.2427, allocations: 0.5421 MB / 0.7879 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.2446, allocations: 1.266 MB / 0.7892 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.095e-05/0.2447, allocations: 4 kB / 0.7892 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.807e-05/0.2448, allocations: 3.938 kB / 0.7892 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.643e-05/0.2449, allocations: 19.86 kB / 0.7892 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000945/0.2458, allocations: 289.6 kB / 0.7895 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.2461, allocations: 231.5 kB / 0.7897 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.2462, allocations: 37.59 kB / 0.7897 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.2464, allocations: 99.78 kB / 0.7898 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.2466, allocations: 75.72 kB / 0.7899 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.005e-05/0.2467, allocations: 16 kB / 0.7899 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.731e-05/0.2468, allocations: 27.98 kB / 0.79 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.2468, allocations: 19.91 kB / 0.79 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.788e-05/0.2469, allocations: 57.64 kB / 0.79 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.2471, allocations: 179.8 kB / 0.7902 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2471, allocations: 0 / 0.7902 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2471, allocations: 0 / 0.7902 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.2472, allocations: 0 / 0.7902 GB, free: 8.945 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000628/0.2478, allocations: 476.1 kB / 0.7907 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2478, allocations: 8.031 kB / 0.7907 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.957e-05/0.2479, allocations: 46.55 kB / 0.7907 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.165e-05/0.248, allocations: 23.77 kB / 0.7907 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.2481, allocations: 191.4 kB / 0.7909 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.2482, allocations: 8 kB / 0.7909 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-05/0.2482, allocations: 20 kB / 0.7909 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.2484, allocations: 93.55 kB / 0.791 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2484, allocations: 0 / 0.791 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.2485, allocations: 7.984 kB / 0.791 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.2485, allocations: 0 / 0.791 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.913e-05/0.2486, allocations: 47.92 kB / 0.7911 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008323/0.2494, allocations: 0.4923 MB / 0.7916 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.2496, allocations: 62.56 kB / 0.7916 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.79e-05/0.2497, allocations: 32.97 kB / 0.7917 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.2497, allocations: 0 / 0.7917 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.25, allocations: 131.4 kB / 0.7918 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 3.065e-06/0.25, allocations: 0 / 0.7918 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0003481/0.2503, allocations: 173.3 kB / 0.7919 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.2504, allocations: 55.41 kB / 0.792 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.2506, allocations: 169 kB / 0.7922 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.2506, allocations: 29.7 kB / 0.7922 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.2507, allocations: 112 kB / 0.7923 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.2508, allocations: 35.62 kB / 0.7923 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.2508, allocations: 8 kB / 0.7923 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.251, allocations: 322.8 kB / 0.7926 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.2512, allocations: 91.95 kB / 0.7927 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.2515, allocations: 149.9 kB / 0.7929 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.2517, allocations: 169.1 kB / 0.793 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.2517, allocations: 4 kB / 0.793 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007053/0.2524, allocations: 390.4 kB / 0.7934 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.29e-05/0.2525, allocations: 108.4 kB / 0.7935 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.2526, allocations: 4 kB / 0.7935 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.2526, allocations: 7.953 kB / 0.7935 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.735e-05/0.2527, allocations: 11.94 kB / 0.7935 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.2527, allocations: 4 kB / 0.7935 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005896/0.2533, allocations: 123.6 kB / 0.7937 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/0.2533, allocations: 19.98 kB / 0.7937 GB, free: 5.062 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,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): 14 * Array equations: 0 * Algorithm blocks: 3 * 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.0001601/0.2535, allocations: 133.8 kB / 0.7938 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.2535, allocations: 15.84 kB / 0.7938 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.2536, allocations: 16.83 kB / 0.7938 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.2536, allocations: 7.953 kB / 0.7938 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.2536, allocations: 0 / 0.7938 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2536, allocations: 0 / 0.7938 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.2538, allocations: 217.6 kB / 0.794 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2538, allocations: 0 / 0.794 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.561e-05/0.2539, allocations: 12 kB / 0.7941 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2539, allocations: 0 / 0.7941 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.2539, allocations: 4 kB / 0.7941 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.2539, allocations: 7.938 kB / 0.7941 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2539, allocations: 3.953 kB / 0.7941 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.2542, allocations: 172.3 kB / 0.7942 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.2542, allocations: 92.84 kB / 0.7943 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.2542, allocations: 4 kB / 0.7943 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.019e-05/0.2543, allocations: 8 kB / 0.7943 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.2543, allocations: 7.984 kB / 0.7943 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.2543, allocations: 11.95 kB / 0.7944 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001352/0.2545, allocations: 113.4 kB / 0.7945 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2545, allocations: 0 / 0.7945 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003027/0.2548, allocations: 48 kB / 0.7945 GB, free: 4.109 MB / 0.6075 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,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.0005977/0.2554, allocations: 0.7061 MB / 0.7952 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004918/0.2559, allocations: 378.1 kB / 0.7956 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2559, allocations: 0 / 0.7956 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.792e-05/0.256, allocations: 55.92 kB / 0.7956 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.2563, allocations: 34.75 kB / 0.7956 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.258, allocations: 1.065 MB / 0.7967 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.2583, allocations: 0.7161 MB / 0.7974 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.863e-05/0.2584, allocations: 8.656 kB / 0.7974 GB, free: 1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.2584, allocations: 39.42 kB / 0.7974 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2584, allocations: 0 / 0.7974 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.2737, allocations: 3.929 MB / 0.8013 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/0.2739, allocations: 191.7 kB / 0.8015 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/2.102, allocations: 0 / 0.8015 GB, free: 12.97 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1) Environment - environmentSimulation: