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.001397/0.001397, 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.001824/0.001824, 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.48/1.48, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.75/1.75, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001387/0.001387, allocations: 73.28 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2174, allocations: 114.5 MB / 0.7837 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001888/0.2193, allocations: 0.6923 MB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.2209, allocations: 1.335 MB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.555e-05/0.221, allocations: 7.938 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004442/0.2215, allocations: 179.6 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.2216, allocations: 111.7 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006871/0.2223, allocations: 231.1 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005119/0.2228, allocations: 499.6 kB / 0.7866 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.2229, allocations: 7.984 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.2231, allocations: 203.7 kB / 0.7868 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.2234, allocations: 211.5 kB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.2235, allocations: 24 kB / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.2237, allocations: 83.88 kB / 0.7871 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003372/0.224, allocations: 248.6 kB / 0.7874 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.2242, allocations: 155.3 kB / 0.7875 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.2247, allocations: 471 kB / 0.788 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2247, allocations: 0 / 0.788 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2247, allocations: 4 kB / 0.788 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.2247, allocations: 0 / 0.788 GB, free: 8.809 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.0009923/0.2257, allocations: 0.633 MB / 0.7886 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.2258, allocations: 12.03 kB / 0.7886 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.2258, allocations: 34.73 kB / 0.7886 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.226, allocations: 32.66 kB / 0.7887 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/0.2265, allocations: 392 kB / 0.789 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.2265, allocations: 12.38 kB / 0.789 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.195e-05/0.2266, allocations: 28.3 kB / 0.7891 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.2269, allocations: 184.7 kB / 0.7892 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.2269, allocations: 3.938 kB / 0.7892 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.2269, allocations: 0 / 0.7892 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2269, allocations: 4 kB / 0.7893 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.2271, allocations: 111.9 kB / 0.7894 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.2275, allocations: 383.2 kB / 0.7897 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.2279, allocations: 319.6 kB / 0.79 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.2281, allocations: 118.6 kB / 0.7901 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.2281, allocations: 8 kB / 0.7902 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004314/0.2285, allocations: 292 kB / 0.7904 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.2285, allocations: 0 / 0.7904 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0007786/0.2293, allocations: 0.4971 MB / 0.7909 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/0.2294, allocations: 110.8 kB / 0.791 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004329/0.2298, allocations: 404.4 kB / 0.7914 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.698e-05/0.2299, allocations: 37.7 kB / 0.7914 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.23, allocations: 148.8 kB / 0.7916 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.2301, allocations: 43.53 kB / 0.7916 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.2303, allocations: 121.6 kB / 0.7917 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.2304, allocations: 342.8 kB / 0.7921 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.2305, allocations: 87.95 kB / 0.7922 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/0.231, allocations: 467.4 kB / 0.7926 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.2312, allocations: 265.6 kB / 0.7929 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2313, allocations: 0 / 0.7929 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004574/0.2317, allocations: 324.9 kB / 0.7932 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.2317, allocations: 12.34 kB / 0.7932 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2318, allocations: 8 kB / 0.7932 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.2318, allocations: 4 kB / 0.7932 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.232, allocations: 27.92 kB / 0.7932 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.232, allocations: 11.94 kB / 0.7932 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007439/0.2327, allocations: 72.45 kB / 0.7933 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.2328, allocations: 19.98 kB / 0.7933 GB, free: 2.852 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.0002024/0.233, allocations: 195.9 kB / 0.7935 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.233, allocations: 39.5 kB / 0.7935 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.268e-05/0.2331, allocations: 33.89 kB / 0.7936 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.2331, allocations: 0 / 0.7936 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.2331, allocations: 0 / 0.7936 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2331, allocations: 4 kB / 0.7936 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.2334, allocations: 281.5 kB / 0.7938 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2334, allocations: 4 kB / 0.7938 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.338e-05/0.2334, allocations: 4 kB / 0.7938 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.2334, allocations: 7.938 kB / 0.7939 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.2334, allocations: 7.984 kB / 0.7939 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2334, allocations: 0 / 0.7939 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2334, allocations: 0 / 0.7939 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005205/0.234, allocations: 438.2 kB / 0.7943 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.2341, allocations: 104.8 kB / 0.7944 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.2341, allocations: 11.98 kB / 0.7944 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-05/0.2342, allocations: 0 / 0.7944 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.2343, allocations: 15.98 kB / 0.7944 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.2343, allocations: 19.98 kB / 0.7944 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002793/0.2346, allocations: 287 kB / 0.7947 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2346, allocations: 0 / 0.7947 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003655/0.2349, allocations: 79.94 kB / 0.7948 GB, free: 1.246 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 (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.0008601/0.2358, allocations: 1.011 MB / 0.7958 GB, free: 204 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.2362, allocations: 256.2 kB / 0.796 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.2363, allocations: 4 kB / 0.796 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.2364, allocations: 147.8 kB / 0.7962 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.2367, allocations: 24.64 kB / 0.7962 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/0.2402, allocations: 3.26 MB / 0.7994 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.2406, allocations: 0.7597 MB / 0.8001 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.2408, allocations: 54.41 kB / 0.8002 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.241, allocations: 83.41 kB / 0.8002 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of SimCode: time 7.01e-07/0.241, allocations: 0 / 0.8002 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.2663, allocations: 7.571 MB / 0.8076 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.298, allocations: 2.5 kB / 0.8076 GB, free: 4.082 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.csv --start-time -5 --stop-time 10 --timeout 50 --relative-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)