Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",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.0008655/0.0008655, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.0009275/0.0009276, allocations: 172.7 kB / 15.95 MB, free: 208 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.404/1.404, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.623/1.623, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005035/0.0005035, allocations: 16.91 kB / 0.6739 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2275, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001293/0.2289, allocations: 405.8 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002473/0.2314, allocations: 1.31 MB / 0.7891 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.2316, allocations: 3.938 kB / 0.7891 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005602/0.2321, allocations: 179.7 kB / 0.7893 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.2323, allocations: 111.7 kB / 0.7894 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008557/0.2332, allocations: 202.9 kB / 0.7896 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005402/0.2337, allocations: 375.7 kB / 0.7899 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.12e-05/0.2338, allocations: 8 kB / 0.7899 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.2341, allocations: 199.6 kB / 0.7901 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003737/0.2345, allocations: 187.6 kB / 0.7903 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.2346, allocations: 12 kB / 0.7903 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/0.2348, allocations: 71.94 kB / 0.7904 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003379/0.2352, allocations: 239.5 kB / 0.7906 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.2353, allocations: 57.58 kB / 0.7907 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004656/0.2358, allocations: 351.5 kB / 0.791 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2358, allocations: 0 / 0.791 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.594e-06/0.2358, allocations: 4 kB / 0.791 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.2358, allocations: 4 kB / 0.791 GB, free: 8.133 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001158/0.237, allocations: 0.5176 MB / 0.7915 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.2371, allocations: 8.031 kB / 0.7915 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.407e-05/0.2371, allocations: 42.55 kB / 0.7916 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.2373, allocations: 39.58 kB / 0.7916 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006739/0.238, allocations: 367 kB / 0.7919 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.238, allocations: 15.98 kB / 0.792 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.859e-05/0.2381, allocations: 28 kB / 0.792 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.2385, allocations: 188.1 kB / 0.7922 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2385, allocations: 0 / 0.7922 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.2385, allocations: 0 / 0.7922 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.2386, allocations: 0 / 0.7922 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.2388, allocations: 115.9 kB / 0.7923 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006371/0.2394, allocations: 387 kB / 0.7926 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005117/0.2399, allocations: 315.6 kB / 0.7929 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.2401, allocations: 122.6 kB / 0.7931 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.2401, allocations: 7.984 kB / 0.7931 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004947/0.2406, allocations: 281.5 kB / 0.7933 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.2407, allocations: 0 / 0.7933 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0009059/0.2416, allocations: 0.5009 MB / 0.7938 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/0.2417, allocations: 106.8 kB / 0.7939 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004874/0.2422, allocations: 400.4 kB / 0.7943 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.101e-05/0.2422, allocations: 45.69 kB / 0.7944 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.2424, allocations: 149.1 kB / 0.7945 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.837e-05/0.2425, allocations: 47.44 kB / 0.7945 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.2425, allocations: 4 kB / 0.7945 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2426, allocations: 350.8 kB / 0.7949 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.2428, allocations: 79.95 kB / 0.795 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/0.2432, allocations: 471.4 kB / 0.7954 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.2434, allocations: 119.8 kB / 0.7955 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2434, allocations: 8 kB / 0.7955 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004782/0.2439, allocations: 320.9 kB / 0.7958 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/0.2439, allocations: 8 kB / 0.7958 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.244, allocations: 7.938 kB / 0.7959 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.244, allocations: 4.406 kB / 0.7959 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.2442, allocations: 31.92 kB / 0.7959 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.2442, allocations: 11.98 kB / 0.7959 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006918/0.2449, allocations: 75.78 kB / 0.796 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.2449, allocations: 19.95 kB / 0.796 GB, free: 2.613 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002582/0.2452, allocations: 191.9 kB / 0.7962 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/0.2453, allocations: 35.62 kB / 0.7962 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.262e-05/0.2453, allocations: 29.89 kB / 0.7962 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2453, allocations: 4 kB / 0.7962 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.2454, allocations: 3.938 kB / 0.7962 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.2454, allocations: 4 kB / 0.7962 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.2457, allocations: 285.4 kB / 0.7965 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.2457, allocations: 4.125 kB / 0.7965 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.2457, allocations: 7.938 kB / 0.7965 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.2457, allocations: 4 kB / 0.7965 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.2458, allocations: 11.98 kB / 0.7965 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2458, allocations: 0 / 0.7965 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2458, allocations: 0 / 0.7965 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005469/0.2463, allocations: 434.8 kB / 0.797 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.776e-05/0.2464, allocations: 108.8 kB / 0.7971 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.2465, allocations: 7.984 kB / 0.7971 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.941e-05/0.2466, allocations: 11.94 kB / 0.7971 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.2466, allocations: 15.98 kB / 0.7971 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.2466, allocations: 15.98 kB / 0.7971 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002834/0.2469, allocations: 287 kB / 0.7974 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2469, allocations: 0 / 0.7974 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004171/0.2474, allocations: 83.92 kB / 0.7975 GB, free: 0.9961 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0009361/0.2483, allocations: 1 MB / 0.7984 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000431/0.2488, allocations: 252.5 kB / 0.7987 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2488, allocations: 4.25 kB / 0.7987 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.249, allocations: 148 kB / 0.7988 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.2492, allocations: 28.67 kB / 0.7989 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.2521, allocations: 2.13 MB / 0.8009 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.2525, allocations: 0.7673 MB / 0.8017 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001513/0.2527, allocations: 49.94 kB / 0.8017 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.2528, allocations: 83.41 kB / 0.8018 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.2528, allocations: 0 / 0.8018 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.2714, allocations: 7.279 MB / 0.8089 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.2716, allocations: 193.9 kB / 0.8091 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.031, allocations: 3.938 kB / 0.8091 GB, free: 5.094 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) Environment - environmentSimulation: