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.001055/0.001055, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 194.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.717/1.717, allocations: 292.3 MB / 0.5489 GB, free: 13.52 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.002528/0.002528, allocations: 66.73 kB / 0.6716 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2141, allocations: 114.6 MB / 0.7835 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001857/0.216, allocations: 0.6897 MB / 0.7842 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001897/0.2179, allocations: 1.332 MB / 0.7855 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.235e-05/0.218, allocations: 3.938 kB / 0.7855 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004823/0.2185, allocations: 187.6 kB / 0.7857 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.2187, allocations: 115.7 kB / 0.7858 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006295/0.2193, allocations: 224.9 kB / 0.786 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004571/0.2198, allocations: 479.7 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.2198, allocations: 11.98 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.22, allocations: 203.7 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002868/0.2203, allocations: 203.6 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.658e-05/0.2204, allocations: 20 kB / 0.7869 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.2206, allocations: 91.81 kB / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003352/0.2209, allocations: 252.6 kB / 0.7872 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002683/0.2212, allocations: 151.3 kB / 0.7873 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004869/0.2217, allocations: 471 kB / 0.7878 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2217, allocations: 7.984 kB / 0.7878 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.552e-06/0.2217, allocations: 0 / 0.7878 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.2218, allocations: 0 / 0.7878 GB, free: 9.043 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.0009631/0.2227, allocations: 0.6385 MB / 0.7884 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2228, allocations: 12.03 kB / 0.7884 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.975e-05/0.2228, allocations: 30.75 kB / 0.7884 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.2229, allocations: 28.66 kB / 0.7885 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.2234, allocations: 380 kB / 0.7888 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.2234, allocations: 28.3 kB / 0.7889 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.589e-05/0.2235, allocations: 20.38 kB / 0.7889 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.2238, allocations: 184.7 kB / 0.7891 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2238, allocations: 3.938 kB / 0.7891 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.2238, allocations: 0 / 0.7891 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2238, allocations: 3.984 kB / 0.7891 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.224, allocations: 111.9 kB / 0.7892 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.2244, allocations: 383.2 kB / 0.7895 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.2248, allocations: 311.6 kB / 0.7898 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.225, allocations: 130.6 kB / 0.79 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.225, allocations: 3.984 kB / 0.79 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004367/0.2254, allocations: 289.4 kB / 0.7902 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.2254, allocations: 0 / 0.7902 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.000823/0.2263, allocations: 0.4933 MB / 0.7907 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.2264, allocations: 114.7 kB / 0.7908 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004871/0.2268, allocations: 400.4 kB / 0.7912 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/0.2269, allocations: 41.7 kB / 0.7913 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.227, allocations: 152.8 kB / 0.7914 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.2271, allocations: 43.53 kB / 0.7914 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.2272, allocations: 113.6 kB / 0.7915 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2274, allocations: 354.7 kB / 0.7919 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.2275, allocations: 83.95 kB / 0.792 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004659/0.228, allocations: 467.4 kB / 0.7924 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.2283, allocations: 265.4 kB / 0.7927 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2283, allocations: 0 / 0.7927 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004652/0.2287, allocations: 329.2 kB / 0.793 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2288, allocations: 15 kB / 0.793 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.2288, allocations: 0 / 0.793 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2288, allocations: 8 kB / 0.793 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.2289, allocations: 27.92 kB / 0.793 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.229, allocations: 7.984 kB / 0.793 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007278/0.2297, allocations: 64.59 kB / 0.7931 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.2297, allocations: 11.94 kB / 0.7931 GB, free: 3.105 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 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001855/0.2299, allocations: 199.9 kB / 0.7933 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.23, allocations: 31.56 kB / 0.7933 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.23, allocations: 37.89 kB / 0.7934 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.23, allocations: 8.172 kB / 0.7934 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2301, allocations: 0 / 0.7934 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.2301, allocations: 3.984 kB / 0.7934 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.2303, allocations: 281.5 kB / 0.7936 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.2303, allocations: 7.938 kB / 0.7937 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.358e-05/0.2304, allocations: 4 kB / 0.7937 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2304, allocations: 0 / 0.7937 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.2304, allocations: 11.98 kB / 0.7937 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.2304, allocations: 8 kB / 0.7937 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2304, allocations: 0 / 0.7937 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.231, allocations: 438.2 kB / 0.7941 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.745e-05/0.2311, allocations: 104.8 kB / 0.7942 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.2311, allocations: 4 kB / 0.7942 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/0.2312, allocations: 4 kB / 0.7942 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.2313, allocations: 15.98 kB / 0.7942 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.2313, allocations: 15.98 kB / 0.7942 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002726/0.2316, allocations: 291 kB / 0.7945 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2316, allocations: 0 / 0.7945 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000353/0.2319, allocations: 75.94 kB / 0.7946 GB, free: 1.492 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009264/0.2329, allocations: 1.008 MB / 0.7956 GB, free: 456 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004622/0.2333, allocations: 263.8 kB / 0.7958 GB, free: 192 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2334, allocations: 3.938 kB / 0.7958 GB, free: 188 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.2335, allocations: 143.9 kB / 0.796 GB, free: 44 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.2338, allocations: 35.55 kB / 0.796 GB, free: 12 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.2375, allocations: 3.267 MB / 0.7992 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.2379, allocations: 0.7636 MB / 0.7999 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.238, allocations: 49.94 kB / 0.8 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.2382, allocations: 83.41 kB / 0.8001 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of SimCode: time 3.7e-07/0.2382, allocations: 0 / 0.8001 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.2698, allocations: 7.52 MB / 0.8074 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.436/7.706, allocations: 13.06 kB / 0.8074 GB, free: 4.324 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/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)