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.0008318/0.0008318, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.004974/0.004974, allocations: 169.6 kB / 16.26 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.137/1.137, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.48/1.48, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0009624/0.0009625, allocations: 18.62 kB / 0.6744 GB, free: 25.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2302, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.0007954/0.2311, allocations: 425.5 kB / 0.7884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.2332, allocations: 1.337 MB / 0.7897 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.434e-05/0.2332, allocations: 4 kB / 0.7897 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004306/0.2337, allocations: 179.6 kB / 0.7899 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.2338, allocations: 103.7 kB / 0.79 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005746/0.2344, allocations: 210.8 kB / 0.7902 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.2348, allocations: 439.8 kB / 0.7906 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.195e-05/0.2349, allocations: 4 kB / 0.7906 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.2351, allocations: 183.7 kB / 0.7908 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.2353, allocations: 207.5 kB / 0.791 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.485e-05/0.2354, allocations: 8 kB / 0.791 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.2356, allocations: 75.94 kB / 0.7911 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002856/0.2359, allocations: 235.5 kB / 0.7913 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.2361, allocations: 169 kB / 0.7915 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.2365, allocations: 454.9 kB / 0.7919 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2365, allocations: 0 / 0.7919 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2365, allocations: 0 / 0.7919 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2365, allocations: 0 / 0.7919 GB, free: 7.461 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.0007347/0.2373, allocations: 0.5217 MB / 0.7924 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.2373, allocations: 12.03 kB / 0.7924 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.772e-05/0.2374, allocations: 38.69 kB / 0.7925 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.2375, allocations: 40.55 kB / 0.7925 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.2379, allocations: 380.1 kB / 0.7929 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.238, allocations: 12.38 kB / 0.7929 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.478e-05/0.238, allocations: 16.38 kB / 0.7929 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.2383, allocations: 192.7 kB / 0.7931 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2384, allocations: 3.938 kB / 0.7931 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.2384, allocations: 11.92 kB / 0.7931 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2384, allocations: 0 / 0.7931 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.2386, allocations: 107.9 kB / 0.7932 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.239, allocations: 391 kB / 0.7936 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.2394, allocations: 311.6 kB / 0.7939 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.2396, allocations: 134.5 kB / 0.794 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-06/0.2397, allocations: 0 / 0.794 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003842/0.24, allocations: 285.5 kB / 0.7943 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.2401, allocations: 0 / 0.7943 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0007378/0.2408, allocations: 497.6 kB / 0.7947 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.2409, allocations: 118.8 kB / 0.7948 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004044/0.2413, allocations: 400.4 kB / 0.7952 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.844e-05/0.2414, allocations: 45.69 kB / 0.7953 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.2415, allocations: 152.8 kB / 0.7954 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/0.2416, allocations: 39.53 kB / 0.7955 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.2416, allocations: 33.7 kB / 0.7955 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2417, allocations: 346.8 kB / 0.7958 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.2419, allocations: 83.95 kB / 0.7959 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/0.2423, allocations: 467.4 kB / 0.7963 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.2426, allocations: 261.4 kB / 0.7966 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2426, allocations: 0 / 0.7966 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004299/0.2431, allocations: 332.9 kB / 0.7969 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2431, allocations: 8 kB / 0.7969 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2431, allocations: 4 kB / 0.7969 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2431, allocations: 4 kB / 0.7969 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.2433, allocations: 27.92 kB / 0.797 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.2433, allocations: 16.08 kB / 0.797 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007126/0.244, allocations: 85.75 kB / 0.797 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.244, allocations: 8 kB / 0.7971 GB, free: 1.711 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.0001992/0.2442, allocations: 195.9 kB / 0.7972 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.2443, allocations: 31.56 kB / 0.7973 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.2443, allocations: 37.89 kB / 0.7973 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.2444, allocations: 8.125 kB / 0.7973 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.2444, allocations: 8.172 kB / 0.7973 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2444, allocations: 0 / 0.7973 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.2446, allocations: 281.5 kB / 0.7976 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2447, allocations: 7.922 kB / 0.7976 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.856e-05/0.2447, allocations: 8 kB / 0.7976 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2447, allocations: 3.938 kB / 0.7976 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.2447, allocations: 7.984 kB / 0.7976 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2447, allocations: 4 kB / 0.7976 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2447, allocations: 0 / 0.7976 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005117/0.2452, allocations: 441.1 kB / 0.798 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.742e-05/0.2453, allocations: 112.8 kB / 0.7982 GB, free: 500 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.2454, allocations: 4 kB / 0.7982 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.964e-05/0.2455, allocations: 7.984 kB / 0.7982 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.2455, allocations: 15.98 kB / 0.7982 GB, free: 472 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.2455, allocations: 19.92 kB / 0.7982 GB, free: 452 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002761/0.2458, allocations: 287 kB / 0.7985 GB, free: 164 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2458, allocations: 0 / 0.7985 GB, free: 164 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003532/0.2462, allocations: 83.92 kB / 0.7986 GB, free: 80 kB / 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.0008741/0.2471, allocations: 1.004 MB / 0.7995 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003927/0.2475, allocations: 255.7 kB / 0.7998 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.2475, allocations: 0 / 0.7998 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.2477, allocations: 143.9 kB / 0.7999 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.248, allocations: 25.45 kB / 0.7999 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/0.2514, allocations: 3.292 MB / 0.8032 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.2517, allocations: 0.7713 MB / 0.8039 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001319/0.2518, allocations: 53.44 kB / 0.804 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.252, allocations: 83.41 kB / 0.804 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of SimCode: time 3.31e-07/0.252, allocations: 0 / 0.804 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.2691, allocations: 7.162 MB / 0.811 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.2693, allocations: 238.8 kB / 0.8113 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.119, allocations: 0 / 0.8113 GB, free: 3.055 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/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)