Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.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.TimeTableNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",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.001631/0.001631, allocations: 109.4 kB / 15.69 MB, free: 128 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.001792/0.001792, allocations: 188.6 kB / 16.62 MB, free: 6.613 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.677/1.677, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.883/1.883, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.0018/0.0018, allocations: 68.8 kB / 0.6718 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2217, allocations: 114.6 MB / 0.7837 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.00209/0.2238, allocations: 0.8714 MB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.2256, allocations: 1.45 MB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.928e-05/0.2256, allocations: 4 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004672/0.2261, allocations: 203.4 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.2263, allocations: 107.6 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009194/0.2272, allocations: 361.4 kB / 0.7866 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007965/0.228, allocations: 0.8774 MB / 0.7874 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.2282, allocations: 92.25 kB / 0.7875 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.2285, allocations: 355.3 kB / 0.7879 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003631/0.2289, allocations: 263.4 kB / 0.7881 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.229, allocations: 44 kB / 0.7881 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00023/0.2292, allocations: 107.9 kB / 0.7882 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003686/0.2296, allocations: 343.3 kB / 0.7886 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002653/0.2299, allocations: 278.8 kB / 0.7888 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007384/0.2306, allocations: 0.9157 MB / 0.7897 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2307, allocations: 0 / 0.7897 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2307, allocations: 0 / 0.7897 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.2307, allocations: 0 / 0.7897 GB, free: 6.984 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.001421/0.2321, allocations: 0.8918 MB / 0.7906 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2321, allocations: 8.031 kB / 0.7906 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.044e-05/0.2322, allocations: 46.73 kB / 0.7907 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.2324, allocations: 52.47 kB / 0.7907 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007253/0.2331, allocations: 0.5448 MB / 0.7912 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.2331, allocations: 24.61 kB / 0.7913 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-05/0.2332, allocations: 32.38 kB / 0.7913 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.2337, allocations: 311.4 kB / 0.7916 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2337, allocations: 7.875 kB / 0.7916 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.2337, allocations: 4 kB / 0.7916 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2337, allocations: 4 kB / 0.7916 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.234, allocations: 219.9 kB / 0.7918 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.2358, allocations: 1.18 MB / 0.793 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005782/0.2364, allocations: 471.7 kB / 0.7934 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.2366, allocations: 182.6 kB / 0.7936 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.2366, allocations: 4 kB / 0.7936 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004356/0.2371, allocations: 336.2 kB / 0.7939 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.2371, allocations: 4 kB / 0.7939 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.0009629/0.2381, allocations: 0.6337 MB / 0.7945 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.062e-05/0.2382, allocations: 118.8 kB / 0.7947 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006389/0.2388, allocations: 0.5993 MB / 0.7952 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-05/0.2389, allocations: 41.7 kB / 0.7953 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.2391, allocations: 209.6 kB / 0.7955 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.2392, allocations: 55.34 kB / 0.7955 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.2394, allocations: 185.5 kB / 0.7957 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2395, allocations: 358.8 kB / 0.796 GB, free: 232 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.2397, allocations: 127.9 kB / 0.7962 GB, free: 104 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000755/0.2405, allocations: 0.718 MB / 0.7969 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.2408, allocations: 296.6 kB / 0.7972 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.2408, allocations: 0 / 0.7972 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005973/0.2414, allocations: 428.6 kB / 0.7976 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2415, allocations: 8 kB / 0.7976 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.2415, allocations: 0 / 0.7976 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.2415, allocations: 11.94 kB / 0.7976 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.2417, allocations: 27.92 kB / 0.7976 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.2417, allocations: 15.92 kB / 0.7976 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.2429, allocations: 128.6 kB / 0.7977 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.243, allocations: 15.98 kB / 0.7978 GB, free: 14.25 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.0002884/0.2433, allocations: 262.3 kB / 0.798 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/0.2433, allocations: 43.44 kB / 0.7981 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.925e-05/0.2434, allocations: 47.38 kB / 0.7981 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.2434, allocations: 7.938 kB / 0.7981 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.2434, allocations: 0 / 0.7981 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.2434, allocations: 7.984 kB / 0.7981 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003628/0.2438, allocations: 401.3 kB / 0.7985 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.2438, allocations: 0 / 0.7985 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.371e-05/0.2439, allocations: 11.92 kB / 0.7985 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.2439, allocations: 4 kB / 0.7985 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.2439, allocations: 8 kB / 0.7985 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.2439, allocations: 8.188 kB / 0.7985 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2439, allocations: 4 kB / 0.7985 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006062/0.2445, allocations: 0.5097 MB / 0.799 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-05/0.2446, allocations: 128.6 kB / 0.7992 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.2447, allocations: 7.984 kB / 0.7992 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.2449, allocations: 31.86 kB / 0.7992 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.2449, allocations: 23.97 kB / 0.7992 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.245, allocations: 19.94 kB / 0.7992 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004424/0.2454, allocations: 435 kB / 0.7996 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2454, allocations: 0 / 0.7996 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004275/0.2459, allocations: 107.9 kB / 0.7998 GB, free: 12.1 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.0009702/0.2468, allocations: 1.105 MB / 0.8008 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005188/0.2474, allocations: 356.3 kB / 0.8012 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.2474, allocations: 4 kB / 0.8012 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.2476, allocations: 187.8 kB / 0.8014 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.2479, allocations: 37.95 kB / 0.8014 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004677/0.2526, allocations: 4.39 MB / 0.8057 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.253, allocations: 0.8389 MB / 0.8065 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002199/0.2532, allocations: 97.45 kB / 0.8066 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.2534, allocations: 127.4 kB / 0.8067 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/0.2534, allocations: 0 / 0.8067 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.2821, allocations: 11.51 MB / 0.818 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.297/8.579, allocations: 3.859 kB / 0.818 GB, free: 9.508 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)