Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_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.001071/0.001071, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001375/0.001375, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.115/2.115, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.895/1.895, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005337/0.0005338, allocations: 18.5 kB / 0.6737 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2075, allocations: 116.3 MB / 0.7873 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.0006126/0.2081, allocations: 405.8 kB / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.2094, allocations: 1.298 MB / 0.7889 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.2094, allocations: 7.875 kB / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.2098, allocations: 187.6 kB / 0.7891 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.2099, allocations: 107.7 kB / 0.7892 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004882/0.2104, allocations: 198.7 kB / 0.7894 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003552/0.2107, allocations: 291.9 kB / 0.7897 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.068e-05/0.2108, allocations: 4 kB / 0.7897 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.2109, allocations: 195.7 kB / 0.7899 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.2112, allocations: 183.6 kB / 0.79 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.736e-05/0.2112, allocations: 8 kB / 0.79 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.2114, allocations: 67.94 kB / 0.7901 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002717/0.2116, allocations: 235.5 kB / 0.7903 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.021e-05/0.2117, allocations: 65.58 kB / 0.7904 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.212, allocations: 355.5 kB / 0.7907 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.212, allocations: 0 / 0.7907 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.212, allocations: 0 / 0.7907 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.212, allocations: 0 / 0.7907 GB, free: 8.297 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.0006599/0.2127, allocations: 0.5293 MB / 0.7912 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.2127, allocations: 8.031 kB / 0.7913 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.2128, allocations: 34.55 kB / 0.7913 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.162e-05/0.2128, allocations: 43.58 kB / 0.7913 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004851/0.2133, allocations: 367.1 kB / 0.7917 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.2134, allocations: 12 kB / 0.7917 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.774e-05/0.2134, allocations: 20 kB / 0.7917 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.2137, allocations: 196 kB / 0.7919 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-06/0.2137, allocations: 0 / 0.7919 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.2137, allocations: 0 / 0.7919 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.2137, allocations: 4 kB / 0.7919 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.2138, allocations: 107.9 kB / 0.792 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.2142, allocations: 387 kB / 0.7924 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.2146, allocations: 323.8 kB / 0.7927 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.2146, allocations: 8 kB / 0.7927 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003218/0.2149, allocations: 277.5 kB / 0.793 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.2149, allocations: 0 / 0.793 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0006378/0.2155, allocations: 0.4932 MB / 0.7934 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.2156, allocations: 114.8 kB / 0.7935 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.216, allocations: 400.5 kB / 0.7939 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.216, allocations: 37.7 kB / 0.794 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.2161, allocations: 157.1 kB / 0.7941 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.2162, allocations: 39.47 kB / 0.7941 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.2162, allocations: 4 kB / 0.7942 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.2163, allocations: 350.8 kB / 0.7945 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.2164, allocations: 83.95 kB / 0.7946 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.2168, allocations: 463.4 kB / 0.795 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.2169, allocations: 131.8 kB / 0.7951 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.217, allocations: 0 / 0.7951 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003932/0.2174, allocations: 329.2 kB / 0.7954 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.2174, allocations: 4 kB / 0.7955 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2174, allocations: 4 kB / 0.7955 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.2174, allocations: 8 kB / 0.7955 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.2175, allocations: 31.92 kB / 0.7955 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.2175, allocations: 7.984 kB / 0.7955 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006569/0.2182, allocations: 74 kB / 0.7956 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.2182, allocations: 16 kB / 0.7956 GB, free: 2.914 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.0001621/0.2184, allocations: 203.8 kB / 0.7958 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.2184, allocations: 27.62 kB / 0.7958 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.2185, allocations: 33.89 kB / 0.7958 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2185, allocations: 0 / 0.7958 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2185, allocations: 4 kB / 0.7958 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2185, allocations: 4 kB / 0.7958 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.2187, allocations: 285.4 kB / 0.7961 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2187, allocations: 8.125 kB / 0.7961 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.279e-05/0.2188, allocations: 3.984 kB / 0.7961 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2188, allocations: 4 kB / 0.7961 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.2188, allocations: 4 kB / 0.7961 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2188, allocations: 0 / 0.7961 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2188, allocations: 4 kB / 0.7961 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004555/0.2192, allocations: 465.5 kB / 0.7966 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.644e-05/0.2193, allocations: 116.8 kB / 0.7967 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.2194, allocations: 0 / 0.7967 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.891e-05/0.2195, allocations: 4 kB / 0.7967 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.2195, allocations: 19.94 kB / 0.7967 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.2195, allocations: 19.92 kB / 0.7967 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000247/0.2198, allocations: 291 kB / 0.797 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2198, allocations: 0 / 0.797 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003373/0.2201, allocations: 83.92 kB / 0.7971 GB, free: 1.25 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.0007462/0.2209, allocations: 1.16 MB / 0.7982 GB, free: 48 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003354/0.2212, allocations: 251.8 kB / 0.7985 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2213, allocations: 4.812 kB / 0.7985 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.2214, allocations: 144.4 kB / 0.7986 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.2216, allocations: 32.64 kB / 0.7986 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.2231, allocations: 3.202 MB / 0.8018 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.2233, allocations: 0.7751 MB / 0.8025 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.2234, allocations: 49.94 kB / 0.8026 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.2235, allocations: 83.41 kB / 0.8027 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2235, allocations: 0 / 0.8027 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4222/0.6458, allocations: 7.178 MB / 0.8097 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003007/0.6461, allocations: 212.2 kB / 0.8099 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.542, allocations: 4.062 kB / 0.8099 GB, free: 4.215 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) Environment - environmentSimulation: