Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_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.001241/0.001241, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001241/0.001241, allocations: 188.2 kB / 16.25 MB, free: 6.625 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.338/1.338, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.659/1.659, allocations: 292.3 MB / 0.5486 GB, free: 13.65 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.001518/0.001518, allocations: 67.33 kB / 0.6711 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1971, allocations: 114.6 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001895/0.199, allocations: 0.9218 MB / 0.7839 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.2008, allocations: 1.446 MB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.781e-05/0.2008, allocations: 4 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.2012, allocations: 191.5 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.2013, allocations: 103.7 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007501/0.2021, allocations: 335 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007736/0.2028, allocations: 0.8582 MB / 0.7868 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.203, allocations: 96.25 kB / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003157/0.2033, allocations: 359.3 kB / 0.7872 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.2036, allocations: 255.4 kB / 0.7874 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.494e-05/0.2037, allocations: 52 kB / 0.7875 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.204, allocations: 107.9 kB / 0.7876 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003597/0.2043, allocations: 351.3 kB / 0.7879 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.2046, allocations: 274.8 kB / 0.7882 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007346/0.2054, allocations: 0.904 MB / 0.7891 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2054, allocations: 0 / 0.7891 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2054, allocations: 3.938 kB / 0.7891 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.2054, allocations: 0 / 0.7891 GB, free: 7.574 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001309/0.2067, allocations: 0.8957 MB / 0.7899 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.832e-05/0.2067, allocations: 8.031 kB / 0.79 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.73e-05/0.2068, allocations: 42.75 kB / 0.79 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.2069, allocations: 52.45 kB / 0.79 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006255/0.2076, allocations: 0.5409 MB / 0.7906 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.2076, allocations: 24.61 kB / 0.7906 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.2077, allocations: 40.36 kB / 0.7906 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.2081, allocations: 310.2 kB / 0.7909 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2081, allocations: 7.938 kB / 0.7909 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.2082, allocations: 0 / 0.7909 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2082, allocations: 4 kB / 0.7909 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.2085, allocations: 223.8 kB / 0.7912 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.2101, allocations: 1.176 MB / 0.7923 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005578/0.2107, allocations: 467.8 kB / 0.7927 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.2109, allocations: 190.5 kB / 0.7929 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.2109, allocations: 4 kB / 0.7929 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003836/0.2113, allocations: 344.2 kB / 0.7933 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.563e-06/0.2113, allocations: 4 kB / 0.7933 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.0009419/0.2123, allocations: 0.618 MB / 0.7939 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.2124, allocations: 115.5 kB / 0.794 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006705/0.213, allocations: 0.5954 MB / 0.7946 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.347e-05/0.2131, allocations: 49.7 kB / 0.7946 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.2134, allocations: 222.3 kB / 0.7948 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.047e-05/0.2134, allocations: 51.34 kB / 0.7949 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002601/0.2137, allocations: 189.5 kB / 0.795 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.2139, allocations: 362.8 kB / 0.7954 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.214, allocations: 127.8 kB / 0.7955 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008221/0.2149, allocations: 0.7103 MB / 0.7962 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.2152, allocations: 304.6 kB / 0.7965 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2152, allocations: 4 kB / 0.7965 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005992/0.2158, allocations: 416.7 kB / 0.7969 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2159, allocations: 4 kB / 0.7969 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2159, allocations: 7.938 kB / 0.7969 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.2159, allocations: 4 kB / 0.7969 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.2161, allocations: 43.84 kB / 0.797 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2161, allocations: 4.375 kB / 0.797 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.2173, allocations: 128.2 kB / 0.7971 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.2174, allocations: 16 kB / 0.7971 GB, free: 14.82 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0002676/0.2176, allocations: 258.3 kB / 0.7973 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.107e-05/0.2177, allocations: 43.44 kB / 0.7974 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.859e-05/0.2178, allocations: 59.3 kB / 0.7974 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.2178, allocations: 4 kB / 0.7974 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.2178, allocations: 0 / 0.7974 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2178, allocations: 3.938 kB / 0.7975 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.2182, allocations: 401.3 kB / 0.7978 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2182, allocations: 4 kB / 0.7978 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-05/0.2182, allocations: 12 kB / 0.7979 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.2182, allocations: 0 / 0.7979 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.2182, allocations: 7.938 kB / 0.7979 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2182, allocations: 3.984 kB / 0.7979 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2182, allocations: 4 kB / 0.7979 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005954/0.2188, allocations: 0.5136 MB / 0.7984 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.983e-05/0.2189, allocations: 128.6 kB / 0.7985 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.764e-05/0.219, allocations: 11.94 kB / 0.7985 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.2191, allocations: 11.98 kB / 0.7985 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.2192, allocations: 31.97 kB / 0.7985 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.2193, allocations: 11.98 kB / 0.7986 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004112/0.2197, allocations: 435.1 kB / 0.799 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2197, allocations: 0 / 0.799 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000408/0.2201, allocations: 111.9 kB / 0.7991 GB, free: 12.69 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0009215/0.221, allocations: 1.114 MB / 0.8002 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004969/0.2215, allocations: 363.9 kB / 0.8005 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2215, allocations: 3.938 kB / 0.8005 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.2218, allocations: 191.8 kB / 0.8007 GB, free: 11 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.2221, allocations: 33.97 kB / 0.8007 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005201/0.2273, allocations: 4.496 MB / 0.8051 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.2277, allocations: 0.8389 MB / 0.8059 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002252/0.2279, allocations: 94.94 kB / 0.806 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.2281, allocations: 131.4 kB / 0.8062 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of SimCode: time 3.61e-07/0.2281, allocations: 4 kB / 0.8062 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.358/1.586, allocations: 11.36 MB / 0.8173 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/1.586, allocations: 227.4 kB / 0.8175 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/3.505, allocations: 4 kB / 0.8175 GB, free: 9.863 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)