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.001478/0.001478, allocations: 108 kB / 15.61 MB, free: 152 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.001816/0.001817, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.351/1.351, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.619/1.619, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001473/0.001473, allocations: 68.86 kB / 0.6716 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1956, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002003/0.1976, allocations: 0.8686 MB / 0.7844 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.1994, allocations: 1.442 MB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.065e-05/0.1995, allocations: 0 / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004715/0.2, allocations: 203.4 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.2001, allocations: 111.6 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008704/0.201, allocations: 350.2 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008119/0.2018, allocations: 0.866 MB / 0.7872 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.202, allocations: 92.25 kB / 0.7873 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002869/0.2023, allocations: 355.4 kB / 0.7877 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003185/0.2027, allocations: 259.4 kB / 0.7879 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.2028, allocations: 44 kB / 0.788 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/0.2031, allocations: 115.9 kB / 0.7881 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003867/0.2035, allocations: 339.3 kB / 0.7884 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.2038, allocations: 274.8 kB / 0.7887 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007454/0.2045, allocations: 0.9079 MB / 0.7895 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2045, allocations: 0 / 0.7895 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2045, allocations: 0 / 0.7895 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.2045, allocations: 0 / 0.7895 GB, free: 7.156 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.001431/0.206, allocations: 0.8918 MB / 0.7904 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.206, allocations: 8.031 kB / 0.7904 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.434e-05/0.2061, allocations: 54.67 kB / 0.7905 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.2063, allocations: 52.45 kB / 0.7905 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006832/0.2069, allocations: 0.5409 MB / 0.791 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.207, allocations: 24.61 kB / 0.7911 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.89e-05/0.2071, allocations: 32.38 kB / 0.7911 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.2075, allocations: 315.3 kB / 0.7914 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2075, allocations: 3.938 kB / 0.7914 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.2075, allocations: 4 kB / 0.7914 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2076, allocations: 4 kB / 0.7914 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.2079, allocations: 223.8 kB / 0.7916 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.2096, allocations: 1.184 MB / 0.7928 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.2101, allocations: 467.6 kB / 0.7932 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.2104, allocations: 178.6 kB / 0.7934 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.2104, allocations: 4 kB / 0.7934 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003977/0.2108, allocations: 351.7 kB / 0.7937 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.573e-06/0.2108, allocations: 0 / 0.7937 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.0009171/0.2117, allocations: 0.6219 MB / 0.7943 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/0.2118, allocations: 122.7 kB / 0.7945 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006152/0.2124, allocations: 0.5915 MB / 0.795 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.094e-05/0.2125, allocations: 45.7 kB / 0.7951 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.2127, allocations: 222.4 kB / 0.7953 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.2128, allocations: 59.34 kB / 0.7954 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.213, allocations: 185.5 kB / 0.7955 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2132, allocations: 355.5 kB / 0.7959 GB, free: 392 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.2133, allocations: 131.8 kB / 0.796 GB, free: 260 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007589/0.2141, allocations: 0.7105 MB / 0.7967 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.2144, allocations: 292.6 kB / 0.797 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.2144, allocations: 8 kB / 0.797 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005931/0.215, allocations: 428.5 kB / 0.7974 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2151, allocations: 4 kB / 0.7974 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.2151, allocations: 7.938 kB / 0.7974 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.2151, allocations: 8.562 kB / 0.7974 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.2152, allocations: 39.91 kB / 0.7974 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.2153, allocations: 8 kB / 0.7975 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.2165, allocations: 119.7 kB / 0.7976 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.2165, allocations: 15.94 kB / 0.7976 GB, free: 14.41 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.0002653/0.2168, allocations: 266.2 kB / 0.7978 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.2169, allocations: 39.44 kB / 0.7979 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.777e-05/0.2169, allocations: 55.31 kB / 0.7979 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-06/0.2169, allocations: 4 kB / 0.7979 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.217, allocations: 3.984 kB / 0.7979 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.217, allocations: 0 / 0.7979 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000346/0.2173, allocations: 401.3 kB / 0.7983 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2173, allocations: 8 kB / 0.7983 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.058e-05/0.2174, allocations: 7.984 kB / 0.7983 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2174, allocations: 0 / 0.7983 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.2174, allocations: 11.94 kB / 0.7983 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2174, allocations: 0 / 0.7983 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2174, allocations: 4 kB / 0.7983 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/0.218, allocations: 0.5214 MB / 0.7989 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.883e-05/0.2181, allocations: 124.6 kB / 0.799 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.848e-05/0.2182, allocations: 11.92 kB / 0.799 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.2183, allocations: 15.98 kB / 0.799 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.2185, allocations: 27.97 kB / 0.799 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.2185, allocations: 15.98 kB / 0.799 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004504/0.219, allocations: 435.1 kB / 0.7995 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.242e-06/0.219, allocations: 0 / 0.7995 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004067/0.2194, allocations: 111.9 kB / 0.7996 GB, free: 12.26 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.0009769/0.2204, allocations: 1.106 MB / 0.8006 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004897/0.2209, allocations: 368 kB / 0.801 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2209, allocations: 0 / 0.801 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.2211, allocations: 188 kB / 0.8012 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.2214, allocations: 36.45 kB / 0.8012 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004624/0.226, allocations: 4.455 MB / 0.8056 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.2264, allocations: 0.835 MB / 0.8064 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002225/0.2266, allocations: 90.94 kB / 0.8065 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.2268, allocations: 135.4 kB / 0.8066 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of SimCode: time 3.4e-07/0.2268, allocations: 0 / 0.8066 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5814/0.8082, allocations: 11.5 MB / 0.8178 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.52, allocations: 4.297 kB / 0.8178 GB, free: 9.594 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)